DIsplay Custom Meta Box Used in Regular Posts

Home Forums Calendar Products Events Calendar PRO DIsplay Custom Meta Box Used in Regular Posts

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20137
    Darnell
    Participant

    I have a custom meta box called “Custom Field Image” that I use to display thumbnails. It was added to my regular post edit page by a plugin, but it doesn’t show on the custom post type edit page for ECP. I have no idea how to implement it. Could really use some help.

    #20186
    Jonah
    Participant

    Hi Darnell,

    However you registered the custom meta box, you’ll need to register it for the ‘tribe_events’ custom post type.

    – Jonah

    #20250
    Darnell
    Participant

    Thanks for the response. I think the plugin registered the custom meta box, I don’t even know where to find it. #ExtremeNoob

    Another idea I had was to write an if/then statement that checks for the normal “custom_field_image” and posts the “articleimg” in its absence.

    This is the code used to pull the regular thumbnail on the home page:
    [code][/code]

    This is the code I am using on the ECP "list.php" page to pull the alternate thumbnail:
    [code]ID, ‘articleimg’, TRUE); ?>
    <img src="" alt="Alt Text" />[/code]

    Now that I’m showing events on the home page I need to pull a thumb for each event. Would it be easier to apply an if/then statement that looks for both thumbs or to find the function and register it for the “tribe_events” post type?

    #20251
    Darnell
    Participant

    Well that didn’t display correctly. lol

    #20256
    Jonah
    Participant

    Hi Darnell, we don’t have very good code pasting capabilities in the forum so would you please post to http://pastie.org / http://pastebin.com / http://gist.github.com

    Thanks,
    Jonah

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘DIsplay Custom Meta Box Used in Regular Posts’ is closed to new replies.