Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 112686

tomontoast on "How to show certain categories on category.php if it has a body class of x"

$
0
0

This code will show posts from the lastest-news and custom-models categories regardless of the actual category page the user is on.

Could you explain exactly what you want to do. Do you want to only allow users to see posts when they are on either the latest-news or custom-models category pages?


Viewing all articles
Browse latest Browse all 112686

Trending Articles