Only show posts of current category?
How do I show posts posted within the current category page i’m viewing? (Using category.php)
e.g. current category = /category/portfolio/
And I only want to show posts that are posted within this category?
I don’t want it to show posts from other categories like “blog” or “updates” etc for exampl, only those in “portfolio”.
Important: I don’t want to have to hardcore the term/category “portfolio” in the query, it should be using the “current page” as the idtenifier.
I’ve looked everywhere but can’t find a solution!
- The topic ‘Only show posts of current category?’ is closed to new replies.