• Resolved welmoed

    (@welmoed)


    Hi!

    For a client I use The Events Calendar on their website. They would like to display their events by category, e.g. the ‘Agenda’ shows to general, open to the public events, and ‘Meetings’ shows more internally focused meetings, eg for all presidents of local groups.

    How can I display the items by category? I would like to have one menu button ‘agenda’ and one menu button ‘meetings’. There is no need for visitors to be able to choose which category they’d like to see. The categories should just be visible on two different parts of the website and should be reachable through the two menu buttons mentioned.

    I hope you can help me out ??

    https://www.ads-software.com/plugins/the-events-calendar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor leahkoerper

    (@leahkoerper)

    Hi welmoed,

    Thanks for your post. I think this tutorial on linking to different specific categories might help you out. If you only want those options available to certain people (e.g. logged in users) you will likely need to customize or use a third-party plugin.

    Here are a few more tutorials and snippets you might find helpful:
    Hide a category of events from Month and List View
    Hiding events from unregistered users
    Using subscriber roles and permissions

    Good luck, and thanks for using The Events Calendar!

    ~Leah

    Thread Starter welmoed

    (@welmoed)

    Thanks! I tried the first solution you mentioned. It now says: “too many redirections…” Any idea what I can do about that?

    Thanks!

    Welmoed

    Brook

    (@brook-tribe)

    Howdy welmoed,

    No idea why you would see a redirect error. That snippet doesn’t implement redirections at all. However, I think I have a better solution. In your WP Menu just link direct to those categories. For instance, a category nameed agenda could by default be found at this URL:
    yoursitename.com/events/category/agenda/
    Thought you might have changed your URLs, so the default no longer applies. Either way you can get the exact link by visiting an event, and then clicking on its category. For example, click here, then scroll down to Event Category heading in the meta box and click on “WordPress Meetups”. That will take you to the meetups category. Isn’t this the page you want? It only shows events marked with that category…

    Did that work perchance?

    – Brook

    Thread Starter welmoed

    (@welmoed)

    Hi Brook,

    thanks for your reply! I tried that, but clicking on the “WordPress Meetups” equivalent on my website, also leads to that loop page ?? You might want to try for yourself: https://www.vrijzinnigen.nl/agenda/

    Any other ideas?

    Thanks,

    Welmoed

    Brook

    (@brook-tribe)

    Interesting. At first I thought that might be a bug. Since your events slug is “agenda” and the category name is “agenda”, it was possible that the system was getting confused. So I tried to reproduce it on my local system. It works great locally!

    Considering that, you should try to test for a conflict. High probability that we will find one and zero in on the culprit.

    Cheers!

    – Brook

    Thread Starter welmoed

    (@welmoed)

    Thanks Brook!

    I was thinking the same with the use of the word “agenda” too much, but when using “event” or “events” the same problem occurs.

    Thanks for the link on testing for a conflict. Very clear instructions! ?? I tested the site, and since I was NOT able to recreate the problem in Twenty Thirteen, and I WAS able to recreate it after switching back to Enfold, before I activated any plugins again, it should be a conflict with the theme I am using.

    I am using the Enfold theme. Any ideas on what to do next?

    Brook

    (@brook-tribe)

    Basically there are two options:

    A) Contact Enfold and ask them if they are interested in adding support for TEC. If so we will happily work with them to get support added.

    B) Hire someone versed in WordPress, who can integrate the two.

    I wish there were more options, but ultimately some problems with programs like WordPress require programmers to fix. Cheers!

    – Brook

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Display events by category’ is closed to new replies.