Home › Forums › Calendar Products › Events Calendar PRO › Theme Integration
- This topic has 6 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
July 29, 2013 at 9:58 pm #57704
billysob
ParticipantI’m setting up a new theme and am looking for some guidance in getting the Events Calendar to play nicely. This theme, by Themify, uses things like “category” or “post_type” to call upon posts. I have found that using WooTickets, I can then use the post_type of “product” to pull in the new classes we offer, but we don’t sell tickets online for our regular events and want to pull in their info under the “come out dancing” section. I hoped that maybe by selecting the box “Include events in main blog loop” would allow me to at least just call the main blog loop and then see my events as the most recent posts, but that didn’t work either.
August 1, 2013 at 3:27 pm #58403Rob
MemberHey Billysob. Thanks for the note here and for explaining your end goal. While this is a bit outside my area of expertise, I will say that the “Include events in main blog loop” feature should indeed do what you’re aiming for: show your events posts in the loop alongside the rest of your blog content. Are you seeing something different?
August 2, 2013 at 7:59 am #58494billysob
ParticipantHey Rob, thanks so much for the response. For some reason, “include events in main blog loop” didn’t show my events in the main blog loop. However, I did identify the post_type as “tribe_events” and was able to use the theme’s “list_posts” shortcode to get the events to display. I know that tribe events does not yet have shortcodes, but this would be so very helpful. I’m still getting odd results with the number of posts that display, and I haven’t yet been able to further limit customize this display using the category type to truly customize which events are displayed on which page. Instead, adding a category shows no events. I understand this isn’t your shortcode so maybe you can’t answer this, but I would really find it helpful if you could point me to some documentation that identified things like “post_type” and “category” for use with these types of wordpress features. Thank you.
August 4, 2013 at 6:49 am #58710billysob
ParticipantHey gang,
I know things have been busy since the upgrade to 3.0, but I’m trying to figure out how to use this product on my page. I’d like it to show all the upcoming events in a certain category in a section I’ve made for that category. Then I’d like it to show events of a different category in a different section. When using the post_type of “tribe_events” it gives me all the events, not limited by any parameters I’ve set. What’s the post_type for an individual event? “tribe_event” did not work. Maybe I’m doing this wrong and you could point me to an example of how this should be done using your product?August 5, 2013 at 3:55 pm #58914Rob
MemberHey billysob. You raise a solid point in your follow-ups here; while this is getting a bit outside my technical area of expertise, know that this is in the queue for our developer Samuel to take a look so he can try to advise you ASAP. Thanks again for your patience so far.
August 6, 2013 at 8:51 pm #59221Samuel
MemberHey there billysob! Here is a gist showing how to get events from a category with 3.0 anywhere in your template files while events is active:
https://gist.github.com/faction23/bd9dcbc1cfaea5c3c01e
Set the recurrence flag to true or false to hide or show subsequent recurrences. The query is setup to run from the current date. Set your category with the category slug you desire, were “parties” are currently used.
Let me know if that works/helps!
samJuly 7, 2015 at 6:27 am #979774Support 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 ‘Theme Integration’ is closed to new replies.
