alphadogcycling
Member
Posted 1 year ago #
Hi,
I just installed WordPress, and am trying to create a page of posts. Ideally this page would display all posts that belong to a specific category. I search the forums and using Google, but I wasn't able to figure out how to do this.
I'm hoping someone in this forum can help -- provide the PHP needed (or other method) to do this.
Thanks!
irfan_np
Member
Posted 1 year ago #
No need of creating an extra page for that..Its already there. A category page lists the archive of all the posts in that category.
http://www.example.com/?cat=3 will display all posts in category id 3.
alphadogcycling
Member
Posted 1 year ago #
irfan_np,
I think I'm a little slow at the moment, but how do I create a page using your example?
What I'm trying to do is have the following navigation ("Pages") on my site:
* Home
* About Me -- this is a static page
* "Category 1" -- this would be a "page" that is dynamically created based upon the posts to "Category 1"
I'm having a hard time making the connection between your post and the above. More detailed information would be very much appreciated.
Thanks
irfan_np
Member
Posted 1 year ago #
Create a menu . Go to Appearance ->menu
Add the pages to the menu (Home,About me)
Add the category 1 to the menu
Place the menu to some menu location if your theme supports menu
alphadogcycling
Member
Posted 1 year ago #
irfan_np,
Thank you very much!!!! That worked perfectly.
Cheers