CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
PHP Problems
WP Categories list that list corresponding posts
amnesiacen
Permalink to comment
#
September 2009
I'm trying to build a sidebar that lists all categories and under each category would be the corresponding posts to that specific category.
For example:
[list]Cars -- (Category)
[list]porsche --(post)
ferrari--(post)
ford--(post)[/list:u]
Computers -- (Category)
[list]apple --(post)
dell --(post)
toshiba--(post)[/list:u][/list:u]
Anyone know the wp php to do that? Or where I might find it? I've thumbed through the codex and I just haven't been able to put it all together.
Thanks,
Brandon
Add a Comment
For example:
[list]Cars -- (Category)
[list]porsche --(post)
ferrari--(post)
ford--(post)[/list:u]
Computers -- (Category)
[list]apple --(post)
dell --(post)
toshiba--(post)[/list:u][/list:u]
Anyone know the wp php to do that? Or where I might find it? I've thumbed through the codex and I just haven't been able to put it all together.
Thanks,
Brandon