Custom Post Widget
[resolved] Custom Post in Page Template (4 posts)

  1. RoyCreative
    Posted 3 years ago #

    This plugin works great for my client by organizing all the content outside of the page/post content into one area in the admin. Now if only I could create a custom post with the footer copyright info so that she could edit that as well. Is that possible? Can I pull a custom post generated with this plugin into my page template?


  2. RoyCreative
    Posted 3 years ago #

    I actually solved this. First I created a content block called "Copyright Info."

    Then, in my Footer.php, I put this code, whereas 399 is the page ID for the content block:

    $page_id = 399;
    $page_data = get_page( $page_id );
    $content = $page_data->post_content;
    echo $page_data->post_content;
  3. Johan van der Wijk
    Plugin Author

    Posted 3 years ago #

    Thanks for sharing your solution to this issue!

  4. jerrry606
    Posted 3 years ago #

    Hey this is exactly what I was looking for: first I found the Content Blocks plug-in, which is great, and now this additional tip. Thanks guys!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Post Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic