Home › Forums › Calendar Products › Events Calendar PRO › Limit events at one location
- This topic has 6 replies, 4 voices, and was last updated 9 years, 9 months ago by
R.
-
AuthorPosts
-
June 20, 2016 at 12:52 pm #1129471
R
ParticipantHi there,
I have one location with more than 300 events. Can I split this (on a new page)? Just like in the event list there are still 20 events.
Can you create a new functionality so you can see a month vieuw at one location?
Greetz,
RuudJune 20, 2016 at 8:10 pm #1129605Hunter
ModeratorHello and welcome back,
I did a quick check to see if I could find any examples of splitting up venue pages similar to as you limit events in Events > Settings > General but unfortunately came up empty-handed. This resource on ‘tribe_is_event_venue‘ may be of assistance to you. I wish I could be of more help but these types of requests are a bit outside what we’re able to cover per forum rules.
In response to your second question, that type of feature is not available at this time, but is possible through customization. It might also be an idea worth adding to our UserVoice Feature Ideas 🙂
June 20, 2016 at 8:23 pm #1129610Hunter
ModeratorHello again!
I did a bit more investigating and found this snippet that should reduce the amount of events displayed on venue pages to 15. Try adding it to your theme’s functions.php file and let me know how it works out for you!
add_filter( 'tribe_events_single_venue_posts_per_page', 'tribe_modify_single_venue_posts_per_page' );function tribe_modify_single_venue_posts_per_page( $amount ) {
return 15;
}Take care!
June 21, 2016 at 12:32 pm #1130030R
ParticipantThnx Hunter,
The event stops at 15 but I can not choose for a next page to view the next 15 events…
Greetz,
RuudJune 27, 2016 at 12:30 pm #1132535Hunter
ModeratorHey Ruud,
Thanks for the response and patience while I got back to you. I confirmed the pagination is not working properly on the venue pages, so I’ve gone ahead and logged a bug so we can get this resolved. Stay tuned to your wp-admin and theeventscalendar.com/blog for maintenance release info and thanks again for your patience.
Take care!
July 12, 2016 at 9:35 am #1138712Support 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 ‘Limit events at one location’ is closed to new replies.
