Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#18359 closed feature request (invalid)

is_template_selected or is_category_selected

Reported by: cyberwani's profile cyberwani Owned by: cyberwani's profile cyberwani
Milestone: Priority: normal
Severity: normal Version:
Component: Template Keywords:
Focuses: Cc:


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.

Change History (1)

#1 @scribu
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Please use the support forums for such questions.

Note: See TracTickets for help on using tickets.