1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
<?php /** * View for the banner sidebar. * * @package WPSEO\Admin\Views */
$wpseo_plugin_dir_url = plugin_dir_url( WPSEO_FILE ); $new_tab_message = WPSEO_Admin_Utils::get_new_tab_message();
?> <div class="wpseo_content_cell" id="sidebar-container"> <div id="sidebar" class="yoast-sidebar"> <div class="wpseo_content_cell_title yoast-sidebar__title"> <?php /* translators: %1$s expands to Yoast */ printf( esc_html__( '%1$s recommendations for you', 'wordpress-seo' ), 'Yoast' ); ?> </div> <div class="yoast-sidebar__section"> <h2> <?php /* translators: %s expands to Yoast SEO Premium */ printf( esc_html__( 'Upgrade to %s', 'wordpress-seo' ), 'Yoast SEO Premium' ); ?> </h2> <ul> <li> <strong><?php esc_html_e( 'Rank better with synonyms & related keyphrases', 'wordpress-seo' ); ?></strong> </li> <li> <strong><?php esc_html_e( 'Preview your page in Facebook and Twitter', 'wordpress-seo' ); ?></strong> </li> <li> <strong><?php esc_html_e( 'Get real-time suggestions for internal links', 'wordpress-seo' ); ?></strong> </li> <li><strong><?php esc_html_e( 'No more dead links a.k.a. 404 pages', 'wordpress-seo' ); ?></strong></li> <li><strong><?php esc_html_e( '24/7 email support', 'wordpress-seo' ); ?></strong></li> <li><strong><?php esc_html_e( 'No ads!', 'wordpress-seo' ); ?></strong></li> </ul>
<a id="wpseo-premium-button" class="yoast-button-upsell" href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/jj' ); ?>" target="_blank"> <?php /* translators: %s expands to Yoast SEO Premium */ printf( esc_html__( 'Get %s', 'wordpress-seo' ), 'Yoast SEO Premium' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $new_tab_message is properly escaped. echo $new_tab_message; echo '<span aria-hidden="true" class="yoast-button-upsell__caret"></span>'; ?> </a><br> </div> <div class="yoast-sidebar__product-list"> <div class="yoast-sidebar__section"> <h2> <?php /* translators: %s expands to Yoast SEO */ printf( esc_html__( 'Extend %s', 'wordpress-seo' ), 'Yoast SEO' ); ?> </h2> <div class="wp-clearfix"> <p> <a href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/jq' ); ?>" target="_blank"> <img src="<?php echo esc_url( $wpseo_plugin_dir_url . 'images/local_plugin_assistant.svg' ); ?>" alt=""> <strong>Be found on Google Maps!</strong> <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $new_tab_message is properly escaped. echo $new_tab_message; ?> </a><br> <?php esc_html_e( 'Our Local SEO plugin will help you rank in Google Maps and local results.', 'wordpress-seo' ); ?> </p> </div> <div class="wp-clearfix"> <p> <a href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/jo' ); ?>" target="_blank"> <img src="<?php echo esc_url( $wpseo_plugin_dir_url . 'images/video_plugin_assistant.svg' ); ?>" class="alignleft" alt=""> <strong>Rank in Google Video</strong> <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $new_tab_message is properly escaped. echo $new_tab_message; ?> </a><br> <?php esc_html_e( 'Make sure your videos rank and are easy to share with our Video SEO plugin.', 'wordpress-seo' ); ?> </p> </div> <div class="wp-clearfix"> <p> <a href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/jp' ); ?>" target="_blank"> <img src="<?php echo esc_url( $wpseo_plugin_dir_url . 'images/woo_plugin_assistant.svg' ); ?>" alt=""> <strong>WooCommerce SEO</strong> <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $new_tab_message is properly escaped. echo $new_tab_message; ?> </a><br> <?php esc_html_e( 'Optimize your shop\'s SEO and sell more products!', 'wordpress-seo' ); ?> </p> </div> <div class="wp-clearfix"> <p> <a href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/jr' ); ?>" target="_blank"> <img src="<?php echo esc_url( $wpseo_plugin_dir_url . 'images/news_plugin_assistant.svg' ); ?>" class="alignleft" alt=""> <strong>Rank in Google News</strong> <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $new_tab_message is properly escaped. echo $new_tab_message; ?> </a><br> <?php esc_html_e( 'Start to optimize your site for Google News traffic today!', 'wordpress-seo' ); ?> </p> </div> </div> </div> <div class="yoast-sidebar__section"> <h2> <?php esc_html_e( 'Learn SEO', 'wordpress-seo' ); ?> </h2> <p> <?php $url = WPSEO_Shortlinker::get( 'https://yoa.st/3t6' );
/* translators: %1$s expands to Yoast SEO academy, which is a clickable link. */ printf( esc_html__( 'Want to learn SEO from Team Yoast? Check out our %1$s!', 'wordpress-seo' ), '<a href="' . esc_url( $url ) . '"><strong>Yoast SEO academy</strong></a>' ); echo '<br/>'; esc_html_e( 'We have both free and premium online courses to learn everything you need to know about SEO.', 'wordpress-seo' ); ?> </p> <p> <a href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/3t6' ); ?>" target="_blank"> <?php /* translators: %1$s expands to Yoast SEO academy */ printf( esc_html__( 'Check out %1$s', 'wordpress-seo' ), 'Yoast SEO academy' ); ?> </a> </p> </div> <div class="yoast-sidebar__section"> <h2><?php esc_html_e( 'Remove these ads?', 'wordpress-seo' ); ?></h2> <p> <a href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/jy' ); ?>" target="_blank"> <?php /* translators: %s expands to Yoast SEO Premium */ printf( esc_html__( 'Upgrade to %s', 'wordpress-seo' ), 'Yoast SEO Premium' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $new_tab_message is properly escaped. echo $new_tab_message; ?> </a> </p> </div> </div> </div>
|