Featured events vs Upcoming events

Home Forums Calendar Products Events Calendar PRO Featured events vs Upcoming events

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23504
    Abdylas
    Member

    Hi,

    This is a customization question so I’m not sure if it is eligible for support. Anyway, here is my scenario. I want to display “featured events” on homepage. These will be events that are worthwhile to be shown on the homepage. Currently I could successfully display them on the homepage (via this help https://theeventscalendar.com/support/forums/topic/display-events-on-homepage-2/). But at the moment, it’s displaying “upcoming events”. How can I display only featured events?

    I’m guessing I could create a category called “Featured Events”, and then pull only these events (provided that they are future events and not past events, just like upcoming events logic at the moment) and display them on the homepage.

    But since i’m not a coder, I don’t know how to do it. Any help to the right direction would be appreciated.

    #23521
    Joyce Grace
    Member

    Hello Abdylas,

    Thanks for posting here. Since it is a customization issue, I will leave it to the community to see if they can help you. It does go outside the scope of our support to help with customization.

    That being said, we know a lot of people want to customize, so we do have a documentation guide that might help: https://theeventscalendar.com/support/documentation

    We also have a Themer’s guide: https://theeventscalendar.com/themers-guide-to-the-events-calendar/

    Now, the tutorial on integrating Genesis with the Events Calendar is great for non-coders, and even if you theme is not using the Genesis framework, the tutorial sheds a lot of light on principles that would apply to any theme. I strongly recommend you check it out! https://theeventscalendar.com/tutorial-integrating-the-events-calendar-w-genesis/

    Thanks again for posting! If you figure this out and learn something new, do share it with the community – I’m sure more people will benefit from it 🙂

    #24379
    Ryan
    Participant

    Abdylas,
    That’s exactly how I did it: I created a category called Featured Events, and called that on the home page to only display the events that were labelled with that category. Here’s my code: https://gist.github.com/3549327 based on code I plucked from the third example in this support document: https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events
    Make sure that your category slug is the same as whatever you put in place of where I’ve got “featured-event”. Hope that helps.

    #25694
    Leah
    Member

    Thanks for posting your code, Ryan!
    Abdylas, did that help you?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Featured events vs Upcoming events’ is closed to new replies.