How To show the post titles of a currently opened category in my sidebar
-
Hi,
I’m just creating a page for a client and I need some help with categories and post-titles.
I created some categories which are displayed as
<?php wp_list_categories('title_li=&include=4,9,17,19,20'); ?>
in my sidebar.
When i click a category i see the posts that are in the “current” category. Everything works fine.
But its a long way to scroll to see all of them.Is there any possibility, after I click on the category I want to browse, to display the post titles that are in that category like:
category a
category b (clicked)
post title 1
post title 2
post title 3
category c
category d
etc…but when I i.e. click on category a i want to display only post titles that are in category a in my sidebar, like:
category a (clicked)
post title 1
post title 2
post title 3
category b
category c
category d
etc, etc..Please help me because I really don’t know how to do this.
- The topic ‘How To show the post titles of a currently opened category in my sidebar’ is closed to new replies.