[wp-trac] [WordPress Trac] #18359: is_template_selected or is_category_selected

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 9 15:02:28 UTC 2011


#18359: is_template_selected or is_category_selected
-----------------------------+-----------------------------
 Reporter:  cyberwani        |      Owner:  cyberwani
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Template         |    Version:
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 it is possible to use '''is_template_selected''' or
 '''is_category_selected''' to display custom meta box based on selected
 template or selected category.

 eg. if a have selected "portfolio.php", then it displays only client_name
 and project_status in custom meta boxes. Or, if we selected template
 "testimonial.php", then it displays only client_name, testimonial_date,
 client_email, client_url in custom meta boxes.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18359>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list