Support » Plugin: AMP for WP - Accelerated Mobile Pages » Problem with Yoast Seo 14.1

  • Resolved geniovi

    (@geniovi)


    hi,
    i have a problem with your amp plugin and the plugin Yoast Seo at version 14.1:
    in the field “description” of the structured data, the description of the post is reported, not the seo meta descriprion one.

    In the file accelerated-mobile-pages/includes/features/functions.php, function ampforwp_generate_meta_desc, it would seem not to enter in the following if:

    if ( class_exists(‘WPSEO_Frontend’) && (‘yoast’ == ampforwp_get_setting(‘ampforwp-seo-selection’) || 1 == ampforwp_get_setting(‘ampforwp-seo-selection’)) && !class_exists(‘Yoast\\WP\\SEO\\Integrations\\Front_End_Integration’)) {

    }

    This because the function class_exists(‘Yoast\\WP\\SEO\\Integrations\\Front_End_Integration’) return true.

    Can you help me?
    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with Yoast Seo 14.1’ is closed to new replies.