Wordpress: use custom category template (category.php) for different custom post type

i need to customize my category.php template depending of which custom post type the cat is attached (assuming every post type has dedicated categories, not shared between pt, and dynamically created by site admin user).

Alternative to this can be load different template (category-slug.php?) but codex says category.php is only and one.

Any suggestion?

Solved by a link provided by Vasanthan.R.P https://wordpress.stackexchange.com/questions/10099/custom-post-types-on-category-pages

Comments


Add Comment