I want to show the post meta description on the overview page

#518648
  • Resolved User Growth
    Rank Math pro

    Instead of the excerpt. This was the code I found somewhere online

    <p><?php RankMath\Helper::get_post_meta( 'description', get_the_ID() );?></p>

    Which I placed in the loop, but it doesn’t seem to show the description at all, what am I doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forgot to add ‘echo’ 😉

    Nigel
    Rank Math business

    Hello,

    Thanks for reaching out for help with using a function to get the post description. We’re glad you managed to figure it out.

    If you need help again, do not hesitate to ask.

    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 2 replies - 1 through 2 (of 2 total)

The ticket ‘I want to show the post meta description on the overview page’ is closed to new replies.