Show custom fields metabox on specific page only

Support General Show custom fields metabox on specific page onlyResolved

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #34282
    AndrewAndrew
    Participant

    Hi all, say I have a page called About Us and I want to provide a custom metabox field for a client to edit when they are in the Edit Page area of the About Us page. At the moment if I set the custom field location to Page it shows on every page they edit. Is there a way to specify which page it should show on so it only shows on the About Us edit page?

    (Note: I am also using Oxygen builder so no theme is in use.)

    #34299
    Long NguyenLong Nguyen
    Moderator

    Hi Andrew,

    You can select:
    Location: Post type - Page
    Advanced location rules: Post - About Us
    screenshot https://monosnap.com/file/4dTQkDSPjzE4SgGDpPd2k9eAbbJcRc

    to show a meta box on the editing page About Us only.

    #35187
    AndrewAndrew
    Participant

    Thanks for this. It worked perfectly 🙂

    #37133
    AJ TroxellAJ Troxell
    Participant

    I am on Version 4.1.13 of the builder but have no advanced location rules available to me.

    #37134
    ArnoArno
    Participant

    AJ Troxell, you may need to enable the Conditional Logic extension: https://docs.metabox.io/extensions/meta-box-conditional-logic/

    #37135
    AJ TroxellAJ Troxell
    Participant

    From the description it reads as though conditional logic pertains to individual fields where as advanced location is a default feature of the MB Builder extension: https://metabox.io/plugins/meta-box-builder/

    #37151
    Long NguyenLong Nguyen
    Moderator

    Hi AJ,

    The builder does not include the default features like MB Conditional Logic, you need to activate the additional plugin to use it in the builder.
    - Advanced location rules: activate the plugin MB Include Exclude https://metabox.io/plugins/meta-box-include-exclude/?swcfpc=1
    - Toggle rules: activate the plugin MB Show Hide https://metabox.io/plugins/meta-box-show-hide/?swcfpc=1
    - Conditional Logic: activate the plugin MB Conditional Logic https://metabox.io/plugins/meta-box-conditional-logic/?swcfpc=1

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.