Welcome to WebmasterWorld Guest from

Forum Moderators: ergophobe

Message Too Old, No Replies

Wordpress | Category-Specific Templates

6:34 pm on Jul 4, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 12, 2001
votes: 0


In Wordpress, if I create a category-specific template for the category "medical," will that template also be applied to posts I create in sub-categories "/doctors/" and "/surgeons/," assuming there are no other category-specific templates for those sub-categories?
10:55 am on July 5, 2010 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Mar 31, 2002
votes: 0

I don't believe WordPress provides function tags for determining child categories. BUT you could write your own logic to determine these.
8:16 am on July 19, 2010 (gmt 0)

New User

5+ Year Member

joined:July 16, 2010
votes: 0

Wordpress have this function, but you should install a plugin.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members