Home › Forums › Calendar Products › Events Calendar PRO › Categorize Menu
- This topic has 6 replies, 3 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
June 17, 2015 at 6:17 pm #970811
Marc-Antoine
ParticipantGood morning Modern Tribe staff!
First off – love the plugin.
I’m trying to have each specific page only show some of the events.
Currently, only the /events/ page is working. How could I set the menu so that each page sorts out events as described below?1. EVENTS – All events to appear
2. UPCOMING EVENTS – Only Upcoming Events
3. PAST EVENTS – Only Past Events
4. BATTLE OF THE BANDS – Only Specific Event Category
(also used for INTERNATIONAL MIXERS, HOUSE PARTIES, BBQ’S,COOKING CLASSES)Thank you for your help!
Best regards,
M-AJune 18, 2015 at 12:34 pm #971044Geoff
MemberHey M-A! Thanks so much for the kind words. I’m stoked you’re loving things so far and appreciate the support. 🙂
I do want to note that Events and Upcoming Events are the same archive as long as List View or Photo View is your default view. Month View is similar as well, but will show a few past events for days that spill over from the previous month.
You can get directly to the Upcoming archive by heading to:
[your-site]/[events-slug]/upcomingThe Past Events will be located at:
[your-site]/[events-slug]/?tribe_event_display=pastThen, each category has it’s own unique URL as well:
[your-site]/[events-slug]/category/[category-slug]You may also want to check out the Filter Bar add-on, which adds a slew of other ways to filter the calendar by a number of variables from right there in the calendar.
Does this help? Please let me know. 🙂
Cheers!
GeoffJune 23, 2015 at 12:11 am #972064Marc-Antoine
ParticipantPlease use http://www.morethanwords.tokyo/debug to get past the preview screen.
Good afternoon Geoff!
Thank you for your reply.
I still need some help in getting the plugin to work perfectly…You can get directly to the Upcoming archive by heading to:
[your-site]/[events-slug]/upcomingAs per your instructions, I’ve set it up using the following http://morethanwords.tokyo/events/upcoming. However this has created a redirect loop. Any thoughts on what I did wrong?
The Past Events will be located at:
[your-site]/[events-slug]/?tribe_event_display=pastThis worked (thank you)! However the timeline is inverted – going from oldest to most recent. How could I invert the chronological order?
Then, each category has it’s own unique URL as well:
[your-site]/[events-slug]/category/[category-slug]This worked as well, but the urls shows an extra event (eg: http://morethanwords.tokyo/events/category/events/houseparties/). How could I rectify the permalink error?
Finally, is there a way for the main event (default page) to show all events, not only upcoming ones? I would like visitors to be able to see the past events as well to make the page a little more full and interesting. Limiting to 10 posts per page would be ideal.
Thank you for your help and patience!
All the best from Tokyo.Marc-Antoine
June 23, 2015 at 9:21 am #972249Geoff
MemberHey Marc-Antoine, thanks for following up!
Shoot, my apologies for the upcoming events URL. That does indeed create a redirect loop. You can replace “upcoming” with “list” in the URL to prevent that redirect from happening. 🙂
I have seen some requests come in to to show past events in reverse chronological order. Give this snippet a try in your functions.php file and see if that will do the trick for you.
The extra /event/ in the category URL is interesting. If I take it out, then the page shows as it should: http://morethanwords.tokyo/events/category/houseparties/
Does that work for you as well? Are you being redirected to a different URL from there? Like I said, that would be interesting and definitely worth us looking at!
Finally, is there a way for the main event (default page) to show all events, not only upcoming ones?
Great question. Unfortunately this is a bit more complicated than we can help out with. You’ll need to setup some custom queries, one to show the soonest upcoming events and one to show past events past a certain point. You can either use WP_Query (here is an example) or tribe_get_events() to make that happen–hopefully one of those two options will get you started in that direction. 🙂
Cheers!
GeoffJune 23, 2015 at 8:31 pm #972450Marc-Antoine
ParticipantHi Geoff,
Thanks for the fast response!
Loving the good customer support.1> The loop problem has been fixed and now works perfectly. Huzzah.
2> Regarding the reverse chronological order snippet – would I have to edit The Events Calendar plugin, the website core functions.php or The Events Calendar PRO? Sorry I am not familiar with PHP and I don’t want to accidentally alter code and set off a nuclear warhead somewhere.
3> The event category works even after removing the redundant part of the permalink! Would you like login credentials to take a look at what might be causing it?
Thanks for all your help!
Marc-AntoineJune 24, 2015 at 7:07 am #972551Geoff
MemberHi Marc-Antoine,
Good question about reverse chronological order. You should be able to use and modify that snippet directly in your theme’s functions.php file. The only reason you might modify a calendar template is if you were constructing a new query, which is also a possibility. We have a Themer’s Guide that does a thorough job of outlining the process for overriding the plugin’s templates.
The category URL is certainly odd. This is the URL that seems to be working for me when trying it out. Does it work for you as well?
http://morethanwords.tokyo/events/category/houseparties/
If not, we can try to troubleshoot that a little deeper together.
Cheers!
GeoffJuly 9, 2015 at 7:30 am #985033Support 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. -
AuthorPosts
- The topic ‘Categorize Menu’ is closed to new replies.
