Custom Fields
Re-Envisioned
Support MB Admin Columns MB Admin Columns for default post type page meta

This topic contains 2 replies, has 2 voices, and was last updated by  Anh Tran 9 months ago.

  • Creator
    Topic
  • #12106

    Darren Shea
    Participant

    Is it possible to get a default meta field like the post type page‘s Featured Image (key: _thumbnail_id) to show its thumbnail version in the admin columns without modifying how the existing meta field works? If so, what would the code look like? I was able to get the key _wp_page_template to work using the type ‘text’, but using the type ‘single_image’ or other types did not work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #12107

    Darren Shea
    Participant

    Scratch that, the key _wp_page_template isn’t working either using the type ‘text’ since it uses a select element with options populated based on the existence of page theme template files. Is it possible to get existing meta like this to show as page admin columns without modifying the existing fields?

    #12142

    Anh Tran
    Keymaster

    Hi Darren,

    The only way to do this is via a custom code. Please take a look at this docs. You might need to write your own code to output the default field.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.