We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Question, Blog

Display Social page attributes on blog posts

Hi,

How do i display the meta and social page attributes on a blog post?

Thanks

Matt Child

Matt Child 0 points

  • 4 months ago

https://docs.grabaperch.com/functions/page-attributes/perch-page-attributes/

Matt, you will want to create a template which displays the page attributes properly for public facing, but this would give you an idea of how to display. You might need to consider using the return to a variable then passing the info into your blog template.

<?php
    perch_page_attributes(array(
        'template' => 'seo.html'
    ));
?>

I found this function that seemed to solve the issue:

https://docs.grabaperch.com/functions/blog/perch-blog-post-meta/

Awesome. I have not seen that post before.

R. K