Gaelan

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Question on attaching Venue meta data to standard posts. #16883
    Gaelan
    Member

    Thanks for the followup! Yes I do love the advanced custom fields plugin, which has helped me out before, and will definitely keep that in mind. I will try for a little more seamless technique first, and see if I can’t figure it out first. Thanks for your help!

    in reply to: Question on attaching Venue meta data to standard posts. #16815
    Gaelan
    Member

    As I understand it, your earlier versions of your plugin used standard post types as events, and stored the meta data alongside it. On the site I am working on, my standard posts have a robust series of functions and uses that go with them and, while separate, I would like to link certain posts to certain venues if they are related.

    What I am searching for is a way to link a venue to a post (it could be as simple as listing venues by name and attaching the venue id to the post as meta data).

    I was hoping it would be as easy as duplicating your call to:

    add_meta_box( ‘Venue Details’, __(‘Venue Information’, ‘tribe-events-calendar’), array( $this, ‘VenueMetaBox’ ), self::VENUE_POST_TYPE, ‘normal’, ‘high’ )

    and setting the post type to normal. (This was found in public function ‘addEventBox()’ in ‘plugins\the-events-calender\lib\the-events-calender.class.php’)

    Sorry for the complex question! I will try to implement my own changes to it, but would love any other insights you might have into it. Thanks again!

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