Custom Fields
Support Meta Box Include Exclude Include/Exclude with Setting Page.

  • Creator
  • #5316
    Resolved jroxbury

    I'm trying to Include/Exclude a field on the settings page(MB Settings Page), using a custom callback. Is this possible?

    I've tried a bunch of things, not sure exactly how this works.

Viewing 1 replies (of 1 total)
  • Author
  • #5319
    Anh Tran

    The Include/Exclude extension works on the meta boxes, not on fields. You can hide/show meta boxes in a settings page using callback function without any problem. However, if you want to show/hide a field, you might need to do a trick: separate the original meta box into 2 meta boxes: 1 for all other fields that always show, 1 for the specific field that can be shown/hide in the settings page. Then use the Include/Exclude extension on the 2nd meta box.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.