Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m seeing an og description but no meta description tag. Have Yoast SEO & Glue activated along with AMP plugin.

    Also getting a slew of AMP errors in webmaster tools act on two sites. AMP is something new with lots of kinks to be ironed out, kind of like Authorship when it began. (Sigh!)

    You can use Google’s testing tool to get more info on possible page errors. Mine check OK but still show errors in webmaster tools.
    https://developers.google.com/structured-data/testing-tool/

    Thread Starter horrormoviesgr

    (@horrormoviesgr)

    Yes, i have all 3 plugins enabled and working, yoast seo, Glue and AMP. I would like to have meta description enabled, not only og. I suppose tha yoast plugin should have this option by default.

    I just ran into this issue and wrote a separate function to solve this problem.

    Inside /wp-content/plugins/glue-for-yoast-seo-amp/classes/class-frontend.php do this:

    1. Find public function __construct() and add the following line under the other add_action :

    add_action( ‘amp_post_template_head’, array( $this, ‘fix_amp_post_metadesc’ ) );

    2. Add the following after the __construct closing bracket }

    public function fix_amp_post_metadesc() {
    $this->front = WPSEO_Frontend::get_instance();
    $desc = $this->front->metadesc( false );
    if ( $desc ) {
    echo ‘<meta name=”description” content=”‘. $desc .'”/>’;
    }
    }

    3. Done! Amp pages should have their meta descriptions.

    Thread Starter horrormoviesgr

    (@horrormoviesgr)

    Thank you for your answer!

    It’s been some time since AMP has came out. Not sure if additional meta description is needed on AMP Pages.

    Google gets it’s info from the post page. The AMP page uses that posts canocle url to get it’s meta description. Maybe Joost or one of his staff can post their thoughts here. I’m not running the glue plugin presently.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘meta description is missing’ is closed to new replies.