Title: php code for sidebar
Last modified: August 18, 2016

---

# php code for sidebar

 *  [Mandi](https://wordpress.org/support/users/mandi/)
 * (@mandi)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/php-code-for-sidebar/)
 * 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?

Viewing 1 replies (of 1 total)

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/php-code-for-sidebar/#post-320792)
 * 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](http://codex.wordpress.org/Template_Tags/wp_list_pages)

Viewing 1 replies (of 1 total)

The topic ‘php code for sidebar’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/php-code-for-sidebar/#post-320792)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
