Forums

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

  1. RoyCreative
    Member
    Posted 7 months 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?

    http://wordpress.org/extend/plugins/custom-post-widget/

  2. RoyCreative
    Member
    Posted 7 months 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:

    <?php
    $page_id = 399;
    $page_data = get_page( $page_id );
    $content = $page_data->post_content;
    echo $page_data->post_content;
    ?>
  3. Johan van der Wijk
    Member
    Posted 6 months ago #

    Thanks for sharing your solution to this issue!

Reply

You must log in to post.

About this Plugin

About this Topic