WordPress.org

Ready to get started?Download WordPress

Forums

php code for sidebar (2 posts)

  1. Mandi
    Member
    Posted 8 years ago #

    Is there a way on the sidebar to have a certain categories pages list? For example if I want all the recipe pages(not entries) to show up in it's own section of the sidebar like:

    Recipes
    1/1/06- Turkey
    12/28/05- Bacon
    12/15/05- Grilled Cheese

    is there a way to do this? or will it have to be manual?

  2. Kafkaesqui

    Posted 8 years ago #

    If these are sub-Pages to another Page (i.e. Recipes), then see the 'child_of' parameter for wp_list_pages():

    http://codex.wordpress.org/Template_Tags/wp_list_pages

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags