Home › Forums › Calendar Products › Events Calendar PRO › Limit Number of Events with Shortcode
- This topic has 5 replies, 2 voices, and was last updated 6 years, 2 months ago by bluesteelesolutions.
-
AuthorPosts
-
January 25, 2018 at 12:47 pm #1436377bluesteelesolutionsParticipant
I’m displaying events in a specific category using the shortcode, but want to limit the number of events it displays before loading the Next and Previous links. Ideally I’d like to show 3 with the shortcode but 10 on the main Events page.
January 25, 2018 at 8:31 pm #1436673PatriciaMemberHey Heather,
Thank you for reaching out to us! You can change the number of events displayed in the shortcodes by using the limit parameter. Example:
[tribe_events_list limit="3"]
I hope this helps! If you have any other questions at all please feel free to let me know and I’d be happy to help as best I can!
Cheers,
Patricia
January 26, 2018 at 8:18 am #1437039bluesteelesolutionsParticipantNevermind I had a typo 🙂
Can I also specify a category with a limit? I was assuming one of these shortcodes would work for that
[tribe_events_list limit="3" category="everything-disc-productive-conflict "]
[tribe_events view="list" category="everything-disc-productive-conflict " limit="3"]- This reply was modified 6 years, 3 months ago by bluesteelesolutions.
January 30, 2018 at 3:37 pm #1440193PatriciaMemberHi Heather,
I hope you’re having a good week/day. Firstly, I’d like to apologize for the delay in response. Thank you for your patience all this while! Our response time is not as fast as usual because we are attending the annual retreat.
Answering your question: yes, it is possible to display only one category with a limited number of events. In your case I believe you are adding an extra space in the end of the category name and that’s the reason why the shortcode is not working as expected.
Please replace category=”everything-disc-productive-conflict ” with category=”everything-disc-productive-conflict” and let me know how it goes!
Thanks!
Patricia
February 21, 2018 at 8:35 am #1459955Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Limit Number of Events with Shortcode’ is closed to new replies.