• Resolved banton

    (@banton)


    It’s a good plugin, but the documentation is quite lacking. So, we need your help! I’ve been trying to look for a solution, but haven’t found anything that could help us.

    We are trying to show all the events coming in the next 7 days, sorted by day. This is quite easy to do with [events_list_grouped], but we require more control on the output. We manage to get it almost there, but there are a few things missing:

    1. Controlling the <h2> tags that come from [events_list_grouped] to show the date
    2. Adding a container around the output for a single day

    What we are using now is this:

    <div id="week" class="container">
    <div class="row">
    [events_list_grouped mode="daily" scope="this-week" date_format="l"]
    <div class="day">
    <span class="weekday">#l</span> <-- This is where we want the date from the <H2>
    <span class="starttime">{has_time}Starts at<br />#_24HSTARTTIME{/has_time}</span>
    <span class="categoryname">#_CATEGORYNAME</span>
    <h3>#_EVENTNAME</h3>
    <p>#_EVENTEXCERPT</p>
    </div>
    [/events_list_grouped]
    </div>
    </div>

    Any suggestions how we could get the H2 with the date within the loop or have better control of it (it’s in the em_comments.php, can it be customized as well like the templates?)

    http://ww.wp.xz.cn/extend/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • if you can code PHP, you might want to check the file at em-template-tags.php > function em_get_events_list_grouped.

    Thread Starter banton

    (@banton)

    We did the changes to the PHP file. Didn’t really solve the issue, but fixed it for now.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Events Manager] Formatting Events_list_grouped shortcode’ is closed to new replies.