• Resolved zacp

    (@zacp)


    Hey there, I’m using wordpress pages to differentiate the different types of content. For example, if I go to “news” I want that page to have some initial content, and then pull in the posts below the news page content.

    To pull in the category posts, I’m using:

    if (is_page(‘news’)) {
    query_posts(‘cat=4&showposts=100’);

    which works fine, but I’t like it to insert those posts, without erasing the page content, which it seems to be doing.

    Thoughts?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘if (is_page('news')) {query_posts('cat=4&showposts=100'); Want to modify to’ is closed to new replies.