• Resolved sorenrosenberg

    (@sorenrosenberg)


    I’ve got a lot of different events – some are less important than others – some are huge, once a year events. But visually they look the same.

    I’m using the free version – I’m wondering of the Pro version supports “featured” events, which can be treated differently in the css, to highlight their importance?

    https://ww.wp.xz.cn/plugins/the-events-calendar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Howdy sorenrosenberg,

    That’s a good question. That’s not a feature of Pro. It is something that someone with PHP experience could implement trivially easily. Since events are basic WordPress posts, you could add a post meta field (checkbox in the backend) that tells WordPress if an event should be featured. Pro has a simple GUI for adding fields like this .Once you have a toggle on the backend, you could etect it in your theme override and add a unique CSS class. You can do this with Pro or the free one, but it would be a bit easier with Pro’s meta field GUI.

    Have a look at the Themer’s Guide for more info on overrides. I hope that info helps. Cheers!

    – Brook

    Thread Starter sorenrosenberg

    (@sorenrosenberg)

    Thanks for the input – For anyone reading: I “solved” this by simply putting in some custom css for each category, since all events in the virtual calender view have the category as a class, it is quite easy to simply make a few different category styles, and add them to the events that needs to be highlighted. Some with bigger text, some with a different background color, etc. It makes it easier to overlook a lot of events in the calendar.

    Brilliant! Thanks for sharing the solution.

    – Brook

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘"Featured" event?’ is closed to new replies.