Custom Fields
Re-Envisioned
Support General Show Custom Fields in Post Type AND in Settings

  • Creator
    Topic
  • #27450
    Resolved Jugibur
    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #27485
    Long 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
    Jugibur
    Participant

    Thanks for your answer!

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