WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
categories & locations (12 posts)

  1. enseignement
    Member
    Posted 2 years ago #

    define('EM_EVENT_SLUG', 'course');
    define('EM_LOCATION_SLUG', 'place');
    define('EM_LOCATIONS_SLUG', 'places');
    define('EM_CATEGORY_SLUG', 'course-type');
    define('EM_CATEGORIES_SLUG', 'course-types');

    I'm not really confident about what you mean by EM_LOCATIONS_SLUG & EM_CATEGORIES_SLUG ? What does it do compared to the single location and category ?
    I've tried on my free version, but /locations/ don't do something specific, neither /categories/
    Could you clarify ?

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    that's what it should modify, the slug for the list of locations/categories, are you placing the php in the right place?

  3. enseignement
    Member
    Posted 2 years ago #

    Yes,
    But without changing the slugs, when I try the actual slugs, I have just the last locations, or the last categories (and not all).
    How can it be ?

    Benjamin

  4. enseignement
    Member
    Posted 2 years ago #

    Actually, my /locations/ only show the last location I've entered, and not a list of all locations :(
    And same for /categories/
    Even without changing any slug.
    Could you help ?

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    not sure why that would happen, do you have a link?

    also, are you using MultiSite?

  6. enseignement
    Member
    Posted 2 years ago #

    Yes, I am using multisite.
    Here's the link for locations : http://bit.ly/qBcw6C

  7. enseignement
    Member
    Posted 2 years ago #

    Seems it's due to the conflict with another plugin (SFC).
    Another question : I'm using #_CATEGORYIMAGE : unfortunately it does show only the first image of the first category in case I have more than one category. Any idea why ?

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    that's the way it works

  9. enseignement
    Member
    Posted 2 years ago #

    Not possible to show the image linked to each category ?
    I have "icons" for each category. If an event has more than one category, unfortunately, only the icon of the first category appears, not the others ?
    No workaround ?

  10. enseignement
    Member
    Posted 2 years ago #

    See the example below : http://www.enseignons.be/actualites/agenda/e/18e-salon-education/
    I just have the image for the first category, not for the 2 others :(

  11. agelonwl
    Member
    Posted 2 years ago #

    if you are able to code to make it work and share it with us. You can work on two class classes/em-events.php and classes/em-category.php just back everything first

  12. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    you could override the category placeholders using the filter em_category_output_placeholder

    and

    http://wp-events-plugin.com/tutorials/modifying-placeholder-default-information/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic