Home › Forums › Calendar Products › Events Calendar PRO › Including Events on Homepage
- This topic has 2 replies, 3 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
March 21, 2015 at 5:46 am #949842
armanrivard
ParticipantHello Team,
I’m just starting to configure events cal. I purchased the PRO edition.
I created an admin account for you here: http://foleycustomentertainment.com[user information posted, remove by George]
I am trying to include all the events, or an event category on the homepage.
If you search for the page called ‘foley homepage’
I am using the fusion builder which comes with a couple of blog builder elements.
Right now i have both a post slider and a blog, but Events don’t show up as selections for these elements.
If you could help me get started it would be great.
My goal here is just to include EVENTS on the homepage.
Thank you.
Arman-
This topic was modified 11 years, 1 month ago by
George. Reason: removing senstiive user information
March 21, 2015 at 10:25 am #949874George
ParticipantHey Arman,
Thanks for reaching out to us. There are a few different aspects to your question here, so to get started, the first thing worth pointing out is that we cannot log into user sites, so I’ve removed your login information for security purposes, and no one on our team has logged in or will be logging into your site. Nothing personal! 🙂 Just a security policy that we take seriously and enforce universally.
Now, as far as how to integrate Events content with your specific “Fusion Builder” theme – for specific theme-related homepage questions, there’s not much specific information we can provide here, and your best option is to reach out to your theme providers’ support for help and information on that.
There are, however, several different ways of retrieving events, for use on any page or area of your site.
For example, the most common way of doing this is using our tribe_get_events() function, which you can learn about here. Since this function is essentially just a wrapper for WordPress’ own get_posts() function, you may also find it helpful to read up on that function itself if you’re not familiar with how to use it – the WordPress codex page for it even includes some code examples → https://codex.wordpress.org/Template_Tags/get_posts
For example, if you have an events category called “Concerts”, and you wanted to get all events in that category, you could retrieve them – note that displaying them requires more code than just this example – with code like this:
$concert_events = tribe_get_events( array( 'tribe_events_cat' => 'concerts', 'posts_per_page' => -1 ) );Then, $concert_events should hold an array of events in the “Concerts” event category, and you can display things how you’d like from there.
I hope this all helps! Let us know if it does, or if you have further questions or concerns of any kind.
Cheers,
GeorgeJuly 7, 2015 at 6:31 am #983892Support 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. -
This topic was modified 11 years, 1 month ago by
-
AuthorPosts
- The topic ‘Including Events on Homepage’ is closed to new replies.
