Displaying venues and using them as landing pages

Home Forums Calendar Products Events Calendar PRO Displaying venues and using them as landing pages

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1078379
    Neill
    Participant

    I really like the ‘venues’ aspect. They would seem to make a great landing page template if you were to add some useful content.

    One thing I would like would be to be able to display an archive style list of venues that mirrors the layout of my post and tag archive displays. Is this possible?

    To explain, here is a link to Ferrari tagged features:

    http://www.historicracer.com/tag/ferrari/

    It would be good to be able to display a list of venues, in my case race tracks, in the same way.

    I realise that, as the saying goes, anything is possible, but is there a straight forward way to get started with this?

    Best regards

    Neill W

    #1078463
    Shannon
    Participant

    I am using a plugin provided by The Events Calendar folks called “The Events Calendar: Venue/Organizer Shortcodes” but its quite primitive, and only gives an unsorted list. I was going to try and modify it for my means starting with alphabetization and only showing active (on the calendar) venues, and maybe sort by state.

    Anyone on the TEC Pro team want to give me some insights?

    Thanks!
    https://pnwtekno.org/

    • This reply was modified 10 years, 2 months ago by Shannon.
    #1079188
    Neill
    Participant

    Thanks, Shannon. Sounds like a good idea.

    I think that the Venues section will made a great platform to create landing pages giving useful information for that venue and be very helpful in Google. Plus they will serve as great ‘anchor content’ over a long period of time, I just need to find a way to display them in a user friendly grid layout.

    I’d be interested if anyone has ideas.

    Neill W

    #1079720
    Geoff
    Member

    Hey Neill and thanks for reaching out!

    Shannon’s idea is a great place to start. That, combined with the feature that The Events Calendar allows template overrides. In other words, you can customize the content and layout of any of the calendar templates by copying that file and including it in your theme files.

    Our Themer’s Guide is what you’ll want to check out for more on overriding templates, but it basically boils down to this:

    • Make a copy of the venue template. It is located at /plugins/events-calendar-pro/src/views/pro/single-venue.php
    • Make a new folder in your theme directory called tribe-events
    • Make a new folder inside that one called pro
    • Drop the copied single-venue.php template in that last folder

    Now that the template is in your theme, you can modify it to suit your needs. In this case, you can use the same markup and structure from your post and/or tag archives to get the layout you want and include the content you’d like.

    Does this make sense and will it work for you? Please let me know. 🙂

    Cheers!
    Geoff

    #1080041
    Neill
    Participant

    Thanks, Geoff.

    Makes sense. I assume that will give me customisations of the venue details page?

    I was also wondering how to display all of the venues as an archive type layout, in the same was as categories and tags, for example?

    http://www.historicracer.com/tag/ferrari/

    That way, the Venue pages would make great landing pages on the site.

    Any thoughts?

    Neill W

    #1080313
    Geoff
    Member

    Hey there, Neil!

    I assume that will give me customisations of the venue details page?

    Absolutely. The single-venue.php file will customize the venue details page.

    I was also wondering how to display all of the venues as an archive type layout, in the same was as categories and tags, for example?

    The plugin itself actually doesn’t include a post archive template for Venues. You could, however, create one using your Tag archive as a starting point and querying the tribe_venue custom post type. Here’s an example of how that would work.

    Cheers!
    Geoff

    #1086292
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Displaying venues and using them as landing pages’ is closed to new replies.