|
|
|
|
@@ -31,11 +31,11 @@ $extensions = [
|
|
|
|
|
'buyUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zt' ),
|
|
|
|
|
'infoUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zs' ),
|
|
|
|
|
'title' => 'Local SEO',
|
|
|
|
|
'display_title' => __( 'Maximize your visibility for local searches', 'wordpress-seo' ),
|
|
|
|
|
'display_title' => __( 'Stand out for local searches', 'wordpress-seo' ),
|
|
|
|
|
'desc' => __( 'Rank better locally and in Google Maps, without breaking a sweat!', 'wordpress-seo' ),
|
|
|
|
|
'image' => plugins_url( 'images/local_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE ),
|
|
|
|
|
'benefits' => [
|
|
|
|
|
__( 'Attract more local customers to your website and physical store', 'wordpress-seo' ),
|
|
|
|
|
__( 'Attract more customers to your site and physical store', 'wordpress-seo' ),
|
|
|
|
|
__( 'Automatically get technical SEO best practices for local businesses', 'wordpress-seo' ),
|
|
|
|
|
__( 'Easily add maps, address finders, and opening hours to your content', 'wordpress-seo' ),
|
|
|
|
|
__( 'Optimize your business for multiple locations', 'wordpress-seo' ),
|
|
|
|
|
@@ -45,14 +45,14 @@ $extensions = [
|
|
|
|
|
'buyUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zx/' ),
|
|
|
|
|
'infoUrl' => WPSEO_Shortlinker::get( 'https://yoa.st/zw/' ),
|
|
|
|
|
'title' => 'Video SEO',
|
|
|
|
|
'display_title' => __( 'Drive more traffic to your videos', 'wordpress-seo' ),
|
|
|
|
|
'display_title' => __( 'Drive more views to your videos', 'wordpress-seo' ),
|
|
|
|
|
'desc' => __( 'Optimize your videos to show them off in search results and get more clicks!', 'wordpress-seo' ),
|
|
|
|
|
'image' => plugins_url( 'images/video_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE ),
|
|
|
|
|
'benefits' => [
|
|
|
|
|
__( 'Know that Google discovers your videos', 'wordpress-seo' ),
|
|
|
|
|
__( 'Load pages faster that include videos', 'wordpress-seo' ),
|
|
|
|
|
__( 'Automatically get technical SEO best practices for video content', 'wordpress-seo' ),
|
|
|
|
|
__( 'Make sure your videos load quickly for users', 'wordpress-seo' ),
|
|
|
|
|
__( 'Make your videos responsive for all screen sizes', 'wordpress-seo' ),
|
|
|
|
|
__( 'Get XML video sitemaps', 'wordpress-seo' ),
|
|
|
|
|
__( 'Optimize your video previews & thumbnails', 'wordpress-seo' ),
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
WPSEO_Addon_Manager::NEWS_SLUG => [
|
|
|
|
|
@@ -66,7 +66,7 @@ $extensions = [
|
|
|
|
|
__( 'Optimize your site for Google News', 'wordpress-seo' ),
|
|
|
|
|
__( 'Ping Google on the publication of a new post', 'wordpress-seo' ),
|
|
|
|
|
__( 'Add all necessary schema.org markup', 'wordpress-seo' ),
|
|
|
|
|
__( 'Get XML news sitemaps', 'wordpress-seo' ),
|
|
|
|
|
__( 'Get XML sitemaps', 'wordpress-seo' ),
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
];
|
|
|
|
|
@@ -82,11 +82,12 @@ if ( YoastSEO()->helpers->woocommerce->is_active() ) {
|
|
|
|
|
'desc' => sprintf( __( 'Seamlessly integrate WooCommerce with %1$s and get extra features!', 'wordpress-seo' ), 'Yoast SEO' ),
|
|
|
|
|
'image' => plugins_url( 'images/woo_plugin_assistant.svg?v=' . WPSEO_VERSION, WPSEO_FILE ),
|
|
|
|
|
'benefits' => [
|
|
|
|
|
__( 'Write product pages that rank with the enhanced SEO analysis', 'wordpress-seo' ),
|
|
|
|
|
__( 'Increase clicks of Google search with rich results', 'wordpress-seo' ),
|
|
|
|
|
__( 'Write product pages that rank using the SEO analysis', 'wordpress-seo' ),
|
|
|
|
|
__( 'Increase Google clicks with rich results', 'wordpress-seo' ),
|
|
|
|
|
__( 'Add global identifiers for variable products', 'wordpress-seo' ),
|
|
|
|
|
/* translators: %1$s expands to Yoast SEO, %2$s expands to WooCommerce */
|
|
|
|
|
sprintf( __( 'Seamless integration between %1$s and %2$s', 'wordpress-seo' ), 'Yoast SEO', 'WooCommerce' ),
|
|
|
|
|
__( 'Turn more visitors into customers!', 'wordpress-seo' ),
|
|
|
|
|
],
|
|
|
|
|
'buy_button' => 'WooCommerce SEO',
|
|
|
|
|
];
|
|
|
|
|
@@ -107,9 +108,9 @@ $extensions['yoast-seo-plugin-subscription'] = [
|
|
|
|
|
'desc' => '',
|
|
|
|
|
'image' => plugins_url( 'images/plugin_subscription.svg?v=' . WPSEO_VERSION, WPSEO_FILE ),
|
|
|
|
|
'benefits' => [
|
|
|
|
|
__( 'Get all 5 Yoast plugins for WordPress with a big discount', 'wordpress-seo' ),
|
|
|
|
|
__( 'Reach new customers that live near your business', 'wordpress-seo' ),
|
|
|
|
|
__( 'Drive more traffic with your videos', 'wordpress-seo' ),
|
|
|
|
|
__( 'Get all 5 Yoast plugins for WordPress at a big discount', 'wordpress-seo' ),
|
|
|
|
|
__( 'Reach new customers who live near your business', 'wordpress-seo' ),
|
|
|
|
|
__( 'Drive more views to your videos', 'wordpress-seo' ),
|
|
|
|
|
__( 'Rank higher in Google\'s news carousel', 'wordpress-seo' ),
|
|
|
|
|
__( 'Drive more traffic to your online store', 'wordpress-seo' ),
|
|
|
|
|
|
|
|
|
|
@@ -152,14 +153,7 @@ if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-202
|
|
|
|
|
<section class="yoast-seo-premium-extension">
|
|
|
|
|
<?php echo $premium_sale_badge; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: Output is already escaped ?>
|
|
|
|
|
<h2>
|
|
|
|
|
<?php
|
|
|
|
|
printf(
|
|
|
|
|
/* translators: 1: expands to Yoast SEO Premium */
|
|
|
|
|
esc_html__( 'Drive more traffic to your site with %1$s', 'wordpress-seo' ),
|
|
|
|
|
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: The `get_title` value is hardcoded; only passed through the WPSEO_Extensions class.
|
|
|
|
|
$premium_extension['title']
|
|
|
|
|
);
|
|
|
|
|
?>
|
|
|
|
|
<?php esc_html_e( 'Rank higher in search results', 'wordpress-seo' ); ?>
|
|
|
|
|
<img alt="" width="100" height="100" src="<?php echo esc_url( $premium_extension['image'] ); ?>"/>
|
|
|
|
|
</h2>
|
|
|
|
|
<?php
|
|
|
|
|
@@ -167,36 +161,64 @@ if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-202
|
|
|
|
|
?>
|
|
|
|
|
<ul class="yoast-seo-premium-benefits yoast-list--usp">
|
|
|
|
|
<li class="yoast-seo-premium-benefits__item">
|
|
|
|
|
<span class="yoast-seo-premium-benefits__title"><?php esc_html_e( 'Be more efficient in creating content', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<span class="yoast-seo-premium-benefits__description"><?php esc_html_e( 'Use AI to create high-quality titles and meta descriptions for posts and pages', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<?php
|
|
|
|
|
printf(
|
|
|
|
|
/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */
|
|
|
|
|
esc_html__( '%1$sAI%2$s: Better SEO titles and meta descriptions, faster.', 'wordpress-seo' ),
|
|
|
|
|
'<strong>',
|
|
|
|
|
'</strong>'
|
|
|
|
|
);
|
|
|
|
|
?>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="yoast-seo-premium-benefits__item">
|
|
|
|
|
<span class="yoast-seo-premium-benefits__title"><?php esc_html_e( 'Reach bigger audiences', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<span class="yoast-seo-premium-benefits__description"><?php esc_html_e( 'Optimize a single post for synonyms and related keyphrases and get extra checks with the Premium SEO analysis', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<?php
|
|
|
|
|
printf(
|
|
|
|
|
/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */
|
|
|
|
|
esc_html__( '%1$sMultiple keywords%2$s: Rank higher for more searches.', 'wordpress-seo' ),
|
|
|
|
|
'<strong>',
|
|
|
|
|
'</strong>'
|
|
|
|
|
);
|
|
|
|
|
?>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="yoast-seo-premium-benefits__item">
|
|
|
|
|
<span class="yoast-seo-premium-benefits__title"><?php esc_html_e( 'Save time on doing SEO', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<span class="yoast-seo-premium-benefits__description"><?php esc_html_e( 'The Yoast SEO workouts guide you through important routine SEO tasks', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<?php
|
|
|
|
|
printf(
|
|
|
|
|
/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */
|
|
|
|
|
esc_html__( '%1$sSuper fast%2$s internal linking suggestions.', 'wordpress-seo' ),
|
|
|
|
|
'<strong>',
|
|
|
|
|
'</strong>'
|
|
|
|
|
);
|
|
|
|
|
?>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="yoast-seo-premium-benefits__item">
|
|
|
|
|
<span class="yoast-seo-premium-benefits__title"><?php esc_html_e( 'Improve your internal linking structure', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<span class="yoast-seo-premium-benefits__description"><?php esc_html_e( 'Get tools that tell you where and how to improve internal linking', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<?php
|
|
|
|
|
printf(
|
|
|
|
|
/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */
|
|
|
|
|
esc_html__( '%1$sNo more broken links%2$s: Automatic redirect manager.', 'wordpress-seo' ),
|
|
|
|
|
'<strong>',
|
|
|
|
|
'</strong>'
|
|
|
|
|
);
|
|
|
|
|
?>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="yoast-seo-premium-benefits__item">
|
|
|
|
|
<span class="yoast-seo-premium-benefits__title"><?php esc_html_e( 'Reduce your site\'s carbon footprint', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<span class="yoast-seo-premium-benefits__description"><?php esc_html_e( 'Save energy by reducing the crawlability of your site without hurting your rankings!', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<?php
|
|
|
|
|
printf(
|
|
|
|
|
/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */
|
|
|
|
|
esc_html__( '%1$sAppealing social previews%2$s people actually want to click on.', 'wordpress-seo' ),
|
|
|
|
|
'<strong>',
|
|
|
|
|
'</strong>'
|
|
|
|
|
);
|
|
|
|
|
?>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="yoast-seo-premium-benefits__item">
|
|
|
|
|
<span class="yoast-seo-premium-benefits__title"><?php esc_html_e( 'Prevents 404s', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<span class="yoast-seo-premium-benefits__description"><?php esc_html_e( 'Easily create and manage redirects when you move or delete content', 'wordpress-seo' ); ?></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="yoast-seo-premium-benefits__item">
|
|
|
|
|
<span class="yoast-seo-premium-benefits__title"><?php esc_html_e( 'Stand out on social media', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<span class="yoast-seo-premium-benefits__description"><?php esc_html_e( 'Check what your Facebook or Twitter post will look like before posting them', 'wordpress-seo' ); ?></span>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="yoast-seo-premium-benefits__item">
|
|
|
|
|
<span class="yoast-seo-premium-benefits__title"><?php esc_html_e( 'Premium support', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<span class="yoast-seo-premium-benefits__description"><?php esc_html_e( 'Gain access to our 24/7 support team', 'wordpress-seo' ); ?></span>
|
|
|
|
|
<?php
|
|
|
|
|
printf(
|
|
|
|
|
/* translators: %1$s expands to a strong opening tag, %2$s expands to a strong closing tag. */
|
|
|
|
|
esc_html__( '%1$s24/7 support%2$s: Also on evenings and weekends.', 'wordpress-seo' ),
|
|
|
|
|
'<strong>',
|
|
|
|
|
'</strong>'
|
|
|
|
|
);
|
|
|
|
|
?>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
@@ -252,14 +274,7 @@ if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-202
|
|
|
|
|
|
|
|
|
|
<a target="_blank" href="<?php echo esc_url( $premium_extension['infoUrl'] ); ?>" class="yoast-link--more-info">
|
|
|
|
|
<?php
|
|
|
|
|
printf(
|
|
|
|
|
/* translators: Text between 1: and 2: will only be shown to screen readers. 3: expands to the product name. */
|
|
|
|
|
esc_html__( 'More information %1$sabout %3$s%2$s', 'wordpress-seo' ),
|
|
|
|
|
'<span class="screen-reader-text">',
|
|
|
|
|
'</span>',
|
|
|
|
|
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: The `get_title` value is hardcoded; only passed through the WPSEO_Extensions class.
|
|
|
|
|
$premium_extension['title']
|
|
|
|
|
);
|
|
|
|
|
esc_html_e( 'Explore now', 'wordpress-seo' );
|
|
|
|
|
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $new_tab_message is properly escaped.
|
|
|
|
|
echo $new_tab_message;
|
|
|
|
|
?>
|
|
|
|
|
@@ -267,7 +282,7 @@ if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-202
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
<?php if ( ! $has_valid_premium_subscription ) { ?>
|
|
|
|
|
<p>
|
|
|
|
|
<small class="yoast-money-back-guarantee"><?php esc_html_e( 'With 30-day money-back guarantee. No questions asked.', 'wordpress-seo' ); ?></small>
|
|
|
|
|
<small class="yoast-money-back-guarantee"><?php esc_html_e( 'With a 30-day money-back guarantee. No questions asked.', 'wordpress-seo' ); ?></small>
|
|
|
|
|
</p>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
</section>
|
|
|
|
|
@@ -277,14 +292,11 @@ if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-202
|
|
|
|
|
<section class="yoast-promo-extensions">
|
|
|
|
|
<h2>
|
|
|
|
|
<?php
|
|
|
|
|
$yoast_outrank_copy = sprintf( esc_html__( 'Outrank your competitors even further', 'wordpress-seo' ) );
|
|
|
|
|
$yoast_outrank_copy = '<span class="yoast-heading-highlight">' . $yoast_outrank_copy . '</span>';
|
|
|
|
|
|
|
|
|
|
printf(
|
|
|
|
|
/* translators: 1: expands to Outrank your competitors even further, 2: expands to Yoast SEO */
|
|
|
|
|
esc_html__( '%1$s with %2$s extensions', 'wordpress-seo' ),
|
|
|
|
|
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $yoast_seo_extensions is properly escaped.
|
|
|
|
|
$yoast_outrank_copy,
|
|
|
|
|
/* translators: %1$s expands to a span opening tag, %2$s expands to a span closing tag, %3$s expands to Yoast SEO */
|
|
|
|
|
esc_html__( '%1$sOutrank your competitors even further%2$s with these %3$s plugins', 'wordpress-seo' ),
|
|
|
|
|
'<span class="yoast-heading-highlight">',
|
|
|
|
|
'</span>',
|
|
|
|
|
'Yoast SEO'
|
|
|
|
|
);
|
|
|
|
|
?>
|
|
|
|
|
@@ -365,14 +377,7 @@ if ( YoastSEO()->classes->get( Promotion_Manager::class )->is( 'black-friday-202
|
|
|
|
|
|
|
|
|
|
<a target="_blank" class="yoast-link--more-info" href="<?php echo esc_url( $extension['infoUrl'] ); ?>">
|
|
|
|
|
<?php
|
|
|
|
|
printf(
|
|
|
|
|
/* translators: Text between 1: and 2: will only be shown to screen readers. 3: expands to the product name, e.g. "News SEO" or "all the Yoast Plugins" */
|
|
|
|
|
esc_html__( 'More information %1$sabout %3$s%2$s', 'wordpress-seo' ),
|
|
|
|
|
'<span class="screen-reader-text">',
|
|
|
|
|
'</span>',
|
|
|
|
|
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: The `get_title` value is hardcoded; only passed through the WPSEO_Extensions class.
|
|
|
|
|
$extension['title']
|
|
|
|
|
);
|
|
|
|
|
esc_html_e( 'Explore now', 'wordpress-seo' );
|
|
|
|
|
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: $new_tab_message is properly escaped.
|
|
|
|
|
echo $new_tab_message;
|
|
|
|
|
?>
|
|
|
|
|
|