WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Customized list of events (11 posts)

  1. kty_cdm
    Member
    Posted 1 year ago #

    Hi,

    Thank you for the plugin, it is great!
    I have a question. Can you tell me please how to group the events like below:
    MONTH 1
    DAY 1
    - evt 1
    - evt 2
    DAY 2
    - evt 3
    - evt 4
    - evt 5
    MONTH 2
    DAY 1
    - evt 6
    - evt 7
    DAY 3
    - evt 8
    - evt 9
    I've tried using the [events_list_grouped mode="daily"][/events_list_grouped] shortcode, but it doesn't group the events the way I want.
    Many thanks!

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

  2. agelonwl
    Member
    Posted 1 year ago #

    not possible at the moment; but you can still do this by modifying the wp-content/plugins/events-manager/em-template-tags.php -> em_get_events_list_grouped($args) however this is not upgrade safe.

  3. kty_cdm
    Member
    Posted 1 year ago #

    Thank you for your answer.
    Have a good day!

  4. kty_cdm
    Member
    Posted 1 year ago #

    Would you be so kind to give me an example of code that would do that?
    Many thanks for all your help!

  5. thor86
    Member
    Posted 1 year ago #

    Hey there!

    Events Manager is one of the best plugins I've ever used. Thanks to the authors for the great work and congratulations for this wonderful plugin!
    I am also in great need to find a solution to group the events as above, and I've been scratching my head with this, but I simply came to a dead end:(
    Did you find a solution for this?

    Cheers!

  6. kty_cdm
    Member
    Posted 1 year ago #

    Hi,

    Unfortunately no luck with that:(

  7. thor86
    Member
    Posted 1 year ago #

    Is there anyone who can help out with this?

    Cheers!

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    someone would have to code their own shortcode for this, a good starting point would be to copy the em_events_grouped shortcode.

  9. thor86
    Member
    Posted 1 year ago #

    Hi Marcus,

    Thank you for your reply and for your plugin!
    I've been looking at the em_get_events_list_grouped function, but it is a bit too complex for me to make this change, can you give me please more instructions on how to do that?

    Thank you very much!

  10. agelonwl
    Member
    Posted 1 year ago #

    you can do something like this

    1. create a function in your theme functions.php which is similar to em_get_events_list_grouped but combining the monthly and daily code

    2. create a new shortcode for this - http://codex.wordpress.org/Shortcode_API

  11. thor86
    Member
    Posted 1 year ago #

    Hi aglonwl,

    Thank you for your help. Actually this is the tough part, to combine the monthly and daily code:(

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.