Home › Forums › Calendar Products › Events Calendar PRO › Extension: "Advanced Options for Adding Events to the Main Blog Loop" tweaks…
- This topic has 5 replies, 4 voices, and was last updated 9 years, 2 months ago by
Chris.
-
AuthorPosts
-
December 21, 2016 at 11:16 pm #1209352
Chris
Participanthttps://theeventscalendar.com/extensions/advanced-options-for-adding-events-to-the-main-blog-loop/
Can you please add the following to that extension:
- Add select list for sort order
- Add checkbox to add code to remove old events (aka events before/after now based on direction) Currently it shows all events old and new which doesn’t allow you to show the list of upcoming events (as it shows all of them)
December 21, 2016 at 11:20 pm #1209354Chris
Participant- Would be great to have multiple categories combined also (aka ‘post’ and ‘tribe-events’ categories)
December 22, 2016 at 4:49 am #1209406Chris
ParticipantJust to clarify the categories, at the moment the category is 0 for every event in the blog feed.
January 5, 2017 at 9:06 am #1213872Brook
ParticipantHowdy Chris,
Sorry for the delay, we were out for the holidays. I hope you enjoyed yours!
I wrote the extension in question. I appreciate you tossing some feature ideas our way. Let’s be sure I understand all of them.
- Add select list for sort order
Do you mean an HTML <select> element? Maybe one that allows multiple selections? I don’t think I understand this one.
Add checkbox to add code to remove old events (aka events before/after now based on direction) Currently it shows all events old and new which doesn’t allow you to show the list of upcoming events (as it shows all of them)
That sounds interesting. Do you have any blog posts in your main page? Or is it just events?
Do you have a shortcode or widget on this page that shows upcoming events?
Would be great to have multiple categories combined also (aka ‘post’ and ‘tribe-events’ categories)
That is a request we see from time to time. Unfortunately it would be well outside the scope of this extension, but it is possible we could create a new one. With how WordPress works, in order for this to happen events will have to share a taxonomy with posts across the site, or not at all. So a separate extension that causes them to share taxonomies site wide would be what’s needed here.
Just to clarify the categories, at the moment the category is 0 for every event in the blog feed.
Are you querying for these categories inside in a template? In that case you should be using tribe_get_event_categories() on events. Since WordPress separates taxonomies (categories) often a different function is needed to get the tax.
Thanks for the ideas, and helping clarify your needs. Once I am completely clear on themwe can move forward.
Cheers!
– Brook
January 27, 2017 at 8:35 am #1225189Support Droid
KeymasterHey 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 ‘Extension: "Advanced Options for Adding Events to the Main Blog Loop" tweaks…’ is closed to new replies.
