Show Custom Fields in Post Type AND in Settings

Support General Show Custom Fields in Post Type AND in SettingsResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27450
    JugiburJugibur
    Participant

    Hi,

    I've now purchased Meta Box and try to replace my ACF Configurations.

    There is one thing I coulnd't find a solution for, that is showing Custom Fields in the Settings page and under a the Page Post Type.

    Background: This is for setting up an image pool, i.e. for the header. So in the settings I usually define a kind of fallback images, in a page post type I can override this with special images only for this page.

    I've tried with this, but it doesn't show the fields under a Page:

    'settings_pages' => ['image-pool'],
    'post_types' => ['page'],

    If there is a way to solve this with Meta Box without duplicating all fields?

    Regards
    Juergen

    #27485
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thank you for reaching out.

    If a meta box is assigned to shows on the settings page, it does not show on the post type. You need to create another meta box then assign it to the post type (remember to remove the settings page).

    #27496
    JugiburJugibur
    Participant

    Thanks for your answer!

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