WordPress.org

Ready to get started?Download WordPress

Forums

FT Calendar
Omitting event category (2 posts)

  1. killtheliterate
    Member
    Posted 3 years ago #

    Again, thank you for this plugin. I'm hoping someone here might be able to resolve another curiosity of mine.

    Is it possible for this calendar to be modified in such a way that an event of a particular category does not display on the calendar?

    Example. Upcoming events list omits events also categorized as "reserverd"

    ---

    It occurs to me that it might be possible to add a class via php to the event wrapper.

    In the post I made before this, I've realized it's very easy to class the li and ul elements with arbitrary classes. Would it also be possible to hook the original post's category ID, making it available to inject in an li class?

  2. Lew Ayotte
    Member
    Plugin Author

    Posted 3 years ago #

    killtheliterate, In the Pro version, there are some query filters that you could probably use to filter out certain categories...

    Re. it's possible to do with WordPress, you'd just need to get all the categories IDs of a certain post and stick them in a class. I doubt this would ever be added to the plugin core though. It would be too much overhead for a feature that wouldn't be used by very many people.

    Lew

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic