Simple navbar/menu with categories and their posts below
-
Hello everybody, I’ve seen it’s a friendly and helpful community so I decided to join in and ask my first development related question.
I want to create a navbar in header.php where I have all the categories listed, and as a dropdown (I’ll use jQuery or something similar) I will have the post titles from that category.
Example:
Category1 Category2 Category3
Post1_1 Post2_1 Post3_1
Post1_2 Post2_2 Post3_2
Post1_3 Post2_3 Post3_3The reason is making it as flexible as possible for new categories to be added and their posts listed below. I’m not going to have more than 5 posts per category so there are no other issues rather than how do I display category>all posts as a menu dropdown.
- The topic ‘Simple navbar/menu with categories and their posts below’ is closed to new replies.