homepage Welcome to WebmasterWorld Guest from 50.19.199.154
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Content Management
Forum Library, Charter, Moderators: ergophobe

Content Management Forum

    
Wordpress | Category-Specific Templates
jk3210




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

h**p://example.com/category/medical/doctors/surgeons/

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?

 

lorax




msg:4164643
 10:55 am on Jul 5, 2010 (gmt 0)

I don't believe WordPress provides function tags for determining child categories. BUT you could write your own logic to determine these.

poiuy




msg:4172656
 8:16 am on Jul 19, 2010 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Content Management
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved