Home › Forums › Calendar Products › Events Calendar PRO › Displaying venues and using them as landing pages
- This topic has 6 replies, 4 voices, and was last updated 10 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
February 19, 2016 at 10:54 am #1078379
Neill
ParticipantI 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
February 19, 2016 at 12:42 pm #1078463Shannon
ParticipantI 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.
February 21, 2016 at 1:54 am #1079188Neill
ParticipantThanks, 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
February 22, 2016 at 7:16 am #1079720Geoff
MemberHey 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!
GeoffFebruary 22, 2016 at 10:11 am #1080041Neill
ParticipantThanks, 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
February 22, 2016 at 4:39 pm #1080313Geoff
MemberHey 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!
GeoffMarch 8, 2016 at 8:35 am #1086292Support Droid
KeymasterThis 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. -
This reply was modified 10 years, 2 months ago by
-
AuthorPosts
- The topic ‘Displaying venues and using them as landing pages’ is closed to new replies.
