How to show only events from one single categorie in the blog loop

Home Forums Calendar Products Events Calendar PRO How to show only events from one single categorie in the blog loop

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #959866
    Hans-Gerd
    Participant

    Hello,
    we want to show onle events from one single categrie in the blog loop. In the Moment it shows every event. Can you help us with this problem.
    Thank you.

    #959926
    Jami
    Blocked

    Hi Andreas!

    Welcome to the forums. That’s a great question and I’m happy to help out with it.

    First thing I’d like to recommend is to check our Crafting Custom Event Queries article. That should give you a pretty good idea about how you can use the tribe_get_events() function to display your events in a number of different ways.

    For example, to display events from a particular category, you can try doing something like:

    https://gist.github.com/jamigibbs/3882fd8c42dd011e8af5

    I hope that helps. Let me know if you have any other questions or if I can help with anything else.

    Kind Regards,
    Jami

    #959931
    Hans-Gerd
    Participant

    Hello, Jami,
    thank you for your fast advice. But I’m not familiar enougth with wordpress to understand what is to do. Please, can you give me some more detailed information about what is to do.
    Friendly Regards,
    Andreas

    #959932
    Jami
    Blocked

    Hi Andreas,

    Thanks for the quick response. If you’re not comfortable editing or creating your own custom queries, then you could just link to your event categories.

    From “Event > Event Categories”, hover over the event you’d like to display and right click on “view”. Then you can copy the event category link and add it to your site navigation, sidebar, posts, or wherever you’d like your user to have access to it.

    I hope that helps get things started.

    Kind Regards,
    Jami

    #962743
    Jami
    Blocked

    Hi Andreas,

    It’s been a while since I’ve seen any activity here so I’m going to close the thread. Please feel free to open a new one if you need anything else though!

    Kind Regards,
    Jami

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to show only events from one single categorie in the blog loop’ is closed to new replies.