Add CPT field to admin column

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 4 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #534300

    Romeo Crow
    Expired Member
    Post count: 54

    I’ve got a CPT (slug: “families”) and I want to add a field from it (Admin name: “Contact link”) to that CPT’s admin dashboard, so I don’t have to open each CPT post to check that field’s data individually.

    Do you know/can you work out the code snippet that would let me do that?

    (I’ve tried to follow tutorials online but they’ve lost me)

    #534303

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    GeoDirectory doesn’t have any features to add admin columns at this time, so it would require your own customization.

    I will take up your idea as a suggestion and if it is requested by lots of people we will definitely consider adding it.

    #534743

    Romeo Crow
    Expired Member
    Post count: 54

    Thanks. Any idea what the code would be? (using CPT slug: “families” and the Admin name: “Contact link”)

    #534839

    Alex Rollin
    Moderator
    Post count: 27815

    If you are going to do it yourself, then you would probably need the CPT name like gd_places and the various custom field keys like post_content for the description field.

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount