• Hi,

    Is there a way of displaying posts in pages. That is, in WP it is possible to setup “static” pages, and with a plugin I’m allowed to write php in the content area of a page. However doing simple copy-paste from the index page does not display any posts.

    My objective here is to have a single page for each category of posts in addition to an initial text on each page.

    Any suggestions?

Viewing 31 replies (of 31 total)
  • Hi, this might help for people trying to do what you want to, or something similar. It certainly seems to fulfill my needs, which I think are the same as yours.

    All I did was add a Template Tag in the header file.

    I added:

    <li class="page_item"><?php list_cats(); ?></li>

    just before the last </ul> tag, at the end of the header file.

    In the list_cats documentation, there’s the arguments to customize it.

    I hope that helps anybody looking for this thing. I also hope I won’t suddenly find that this doesn’t actually work and have to spend 4 more hours trying to find out why.

Viewing 31 replies (of 31 total)
  • The topic ‘Displaying posts in pages’ is closed to new replies.