Archive page for Venues (version 3.0)

Home Forums Calendar Products Events Calendar PRO Archive page for Venues (version 3.0)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #54376
    Carl
    Participant

    Is it possible to create an archive page for venues?
    I have attempted to filter:
    add_filter( ‘tribe_events_register_venue_type_args’, array($this, ‘my_modification_of_post_type_args’), 10, 1 );

    public function my_modification_of_post_type_args( $args ) {

    $args[‘has_archive’] = ‘venues’;
    $args[‘public’] = true;
    $args[‘public_queryable’] = true;
    return $args;
    }

    But have been unable to get an archive page to load (archive-tribe_venue.php, archive-venue.php).

    Any ideas

    #54797
    Jonah
    Participant

    Hi Carl,

    This is going to be more complex than we will be able to help you out with unfortunately. My suggestion would be to create some sort of custom page template or page where you run a custom venue query and output whatever you need to display there. Have a look through our documentation and/or the forum here for some ideas/examples of running custom queries.

    I hope that helps!

    – Jonah

    #980217
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Archive page for Venues (version 3.0)’ is closed to new replies.