• Resolved kty_cdm

    (@kty_cdm)


    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!

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 10 replies - 1 through 10 (of 10 total)
  • 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.

    Thread Starter kty_cdm

    (@kty_cdm)

    Thank you for your answer.
    Have a good day!

    Thread Starter kty_cdm

    (@kty_cdm)

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

    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!

    Thread Starter kty_cdm

    (@kty_cdm)

    Hi,

    Unfortunately no luck with that:(

    Is there anyone who can help out with this?

    Cheers!

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

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

    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!

    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 – https://codex.www.ads-software.com/Shortcode_API

    Hi aglonwl,

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

    Cheers

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Events Manager] Customized list of events’ is closed to new replies.