Support » Plugin: Yoast SEO » Call The Meta Description To The Homepage

  • Resolved kmcminn

    (@kmcminn)


    Hello everyone,

    Just looking for someone to point me in the right direction here. I’m trying to call each post’s WordPress SEO meta description to show up in place of its excerpt on the homepage.

    The current code I have for my index.php file is this:

    <div class="post-content image-caption-format-1">
        <?php echo excerpt(37);?>...
    </div>

    Basically, I’m trying to figure out how to replace “excerpt” with the WPSEO variable for the meta description.

    Thanks in advance!

    https://wordpress.org/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Call The Meta Description To The Homepage’ is closed to new replies.