Yoast SEO
og:description missing (2 posts)

  1. dajpanspokoj
    Posted 3 years ago #


    I'm using WPSEO 1.4.7.

    I set my description in WP settings and Open Graph description in WPSEO settings.
    However, the og:description tag is missing form page source: http://take.ms/T0wWGP

    Can You help me solve the issue?


  2. silvar23
    Posted 3 years ago #

    I did some debugging an found that WPSEO_OpenGraph in class-opengraph.php calling the parent WPSEO_Frontend to fetch the metadesc but they dont have the config settings properly setup in WPSEO_OpenGraph.

    In short, I edit the code in frontend/class-opengraph.php on line 32 from:
    $this->options = get_option( 'wpseo_social' );
    $this->options = array_merge( get_wpseo_options(), get_option( 'wpseo_social' ) );

    and now it works for me. But I don't if it is the proper solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic