metadesc

#286379
  • Resolved David
    Rank Math free

    Hi,

    I’m editing a theme that has this built in around Yoast SEO:

    <p class=”small dark-gray”><?php echo get_post_meta($post->ID, ‘_yoast_wpseo_metadesc’, true); ?></p>

    It simply takes the meta description from Yoast and puts it into the blog roll and category pages for each individual blog post.

    I want to switch out _yoast_wpseo_metadesc but can’t find any documentation on how to do this with Rankmath. Can you help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    You can use this meta key to capture the description on your site:

    rank_math_description

    I hope that helps.

    Thank you.

    David
    Rank Math free

    Perfect, exactly what I was looking for. Thanks!

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘metadesc’ is closed to new replies.