The url
amigausers.ie/category/games
will display all posts from the category “games” on a page. The url can be added to your main menu as a “custom url” and then you will have a blog page for just that category of posts. You may also be wanting to NOT display the posts in the games category on your main blog page “listen”. This doesn’t accomplish that (the games posts will display along with all other posts on the main blog page), but if you only have a few categories, you could have another category “listen” and make sure that all your posts have listen OR games category – then you could change your podcast menu item to point to
amigausers.ie/caterogy/listen
If you wanted to code something, here’s a link to some php functions that do this
http://alijafarian.com/how-to-display-wordpress-posts-for-a-specific-category/
-
This reply was modified 8 years, 10 months ago by
rickc123.
Thread Starter
T
(@tenleftfingers)
Oh, that’s a fantastic suggestion rickc123. It will show the posts I want on a single page. Your solution for sort of ‘mock filtering’ out from the main posts using the same method sounds good.
I’ll look into the Powerpress plugin to see if it constrains me from doing that. Thanks so much!
Thread Starter
T
(@tenleftfingers)
I’ve made a start and with http://amigausers.ie/category/podcast/ only the episodes show. The only issue with this is that the text ”
Category: Podcast” is printed on a line of it’s own on top. And about an inch is added above that.
Any idea where I could make a php change or maybe add a css rule for this scenario? So close 🙂
If you have a place to insert “additional css” in your theme, or if you have an additional css plugin installed, you can add the following to get rid of that “category: podcast” header
.page-header {
display: none;
}
Here’s a link to css tricks for hiding elements with css
https://www.sitepoint.com/five-ways-to-hide-elements-in-css/