Support » Plugin: Events Manager » “first event” – Conditional Placeholders – how to?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am not part of support… just some dude.

    I am not sure exactly what you are trying to do..
    Is it…
    Event List
    First Event BIG Image.
    Other Events… Small Image.

    So.. you are trying to use the Events Manager Widget…
    to display an events list in a sidebar.. or footer etc etc… ?

    I am not really sure if using conditional placeholders will work with what you are trying to achieve. But I am not an expert.

    So…. rather than the Events Manager Widget…
    use the Text Widget.
    And try placing this snippet in the Text Widget.
    it is just an example.. you could modify it for you own.
    Notes:
    1.) Place holders (for the image size)
    http://wp-events-plugin.com/documentation/placeholders/

    2.) We are going to have two events lists.
    First List: Will have the large image for the first, future event.
    Second List: Will have the small images for the remaining future events.
    a.) we are going to use “offset” for the second list, so it starts after the first event with the larger image.
    –> “offset” can be found (and other neat usages you should learn)
    http://wp-events-plugin.com/documentation/event-search-attributes/

    <div>
    [events_list  limit="1" scope="future"]
    #_EVENTIMAGE{300,125}<br />
    #_EVENTLINK<br />#_EVENTDATES<br />#_LOCATIONTOWN<br /><br />
    [/events_list]
    </div>
    
    <div>
    [events_list scope="future" offset="1"]
    #_EVENTIMAGE{125,75}<br />
    #_EVENTLINK<br />#_EVENTDATES<br />#_LOCATIONTOWN<br /><br />
    [/events_list]
    </div>

    please mark as resolved if you get it working 🙂

    • This reply was modified 1 year, 8 months ago by Robswaimea.
    • This reply was modified 1 year, 8 months ago by Robswaimea.
    • This reply was modified 1 year, 8 months ago by Robswaimea.

    Thanks!

    I didn’t think about use 2 list with “limit=1” parameter.
    This is good workaround, maybe it will work…

    Plugin Support caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    @robswaimea Is full of great ideas 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“first event” – Conditional Placeholders – how to?’ is closed to new replies.