WordPress.org

Support

Support » Themes and Templates » Page template help

Page template help

  • Hi there,

    I’m trying to create a new template which has blog posts from a specific category in the main page area and the page content in the sidebar area.

    I’ve got the posts coming through using the code :-
    query_posts(‘cat=4&showposts=5’)
    then having the-loop write out the posts.

    My problem is that when I try to find the page_id in the sidebar it always tells me 0.

    Can someone please tell me how to keep the page id and then write out the content for that page.

  • The topic ‘Page template help’ is closed to new replies.