Events Manager
[resolved] What happens when you have multiple categories? (3 posts)

  1. iamarogue
    Posted 4 years ago #

    I am wondering what happens when an event is in multiple categories for the purposes of:
    1) category image
    2) category color

    I am building a website for a gaming store that hosts different types of events. I want to sort my events by different aspects, so for example, I have Special events (category 1) and Weekly events (category 2), I have Warhammer events (category 3), Dungeons and Dragons events (category 4), and Warmachine events (category 5), I also have Game Demos (category 6) and Tournaments (category 7), etc etc. I need all these different categories because I want a page or a widget that just shows, for example, all upcoming Tournaments, or all upcoming Warhammer events.

    My big question is: How does Events Manager decide which category it will use when it has multiple categories to choose from? Does it choose based on category ID, alphabetical, slug alphabetical, order, the first category selected, hierarchical, random, etc?

    So an example: I want to display a category image (a star) for Special events, but an event is both a Game Demo (which has no image) and a Special Event. It is also, say, a Warhammer event (which has a logo as an image). In my experience, no logo appears, but I would like to understand how the program prioritizes/selects a category so I can use this to my advantage.

    I would suggest for a future release to allow users to specify something like "category order" or "category priority" so that we can manually override this.


  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 4 years ago #

    honestly, I'm not sure :) I think it's purely according to how WP returns the list of categories for that post, so I'm thinking it's either alphabetical or ID based.

    an ordering of this type would be useful i agree.

  3. iamarogue
    Posted 4 years ago #

    Hmm, I did some testing. There are a few plugins which allow you to specify the order of categories including
    But they seem to apply really only if you're looking to display a list of categories. Doesn't go deep.

    I did some experimenting though changing the names of the categories.

    It does appear to be alphabetical in case that information is useful to someone other than me. I'd still appreciate a manual override, however.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic