Support » Plugins and Hacks » OptionTree » [Resolved] Meta boxes for pages using a certain template
3 years, 8 months ago
Is there a way to display Custom Meta Boxes provided by Option Tree only for pages using a certain page-template?
For example, if the page uses the template “Contact page” in the edit screen the meta box “Contact info” should be displayed.
Yes, it’s possible. At the end of Custom Metabox file (PHP) you check which template file is using and just regrister OT metabox that you need.
Great idea, thanks a lot.