WordPress.org

Ready to get started?Download WordPress

Forums

OptionTree
[resolved] Meta boxes for pages using a certain template (3 posts)

  1. FranciscoAMK
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/option-tree/

  2. htvu
    Member
    Posted 1 year ago #

    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.

  3. FranciscoAMK
    Member
    Posted 1 year ago #

    Great idea, thanks a lot.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic