• Hi,

    I have been loving the discovery of the ‘Page of posts’ way of showing a list of posts from one category on a page.
    However, it would be great if I could add the following:

    Allow multiple categories to be listed in the page (currently you can only show one)

    Allow for body text to also appear on the page – at present you can only show the list of posts. Would be great to add some introductory text at the beginning of the page.

    Any help would be much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Allow multiple categories to be listed in the page (currently you can only show one)

    how to use the parameter see:
    http://codex.wordpress.org/Function_Reference/query_posts
    as far as i know, you can use these parameters with get_posts() as well.

    Allow for body text to also appear on the page

    put a standard loop
    http://codex.wordpress.org/The_Loop_in_Action
    before the get_posts() bit (assuming that you followed the example in the codex ‘page-of-posts’) – no need to use a special query there – it should automatically show just the page (what it shows depends on your code – could be the_title(); and/or the_content(); or… )

    Thread Starter tommyboy21

    (@tommyboy21)

    Thanks for your help. I have a bit of reading and learning to do then! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page of posts’ is closed to new replies.