Support » Plugin: Events Manager » Locations list in a grid

  • Resolved sammiej

    (@sammiej)


    Hi,

    I absolutely LOVE your plugin and it’s working great for me. Could you tell me how to show the locations in a grid format on the “locations” page? I’ve tried modifying the grid shortcode from my theme with the locations_list shortcode but it’s still coming out as a vertical list.

    Thanks
    Sam

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • you can try something like

    [locations_list format_header="<table>" format_footer="</table>"]
    <tr>
     <td>#_LOCATIONNAME</td>
    </tr>
    [/locations_list]

    then format as needed.

    That still lists them vertically, not across the page?

    Thanks
    Sam

    Hiya,

    This is something you’ll really need CSS to do as a table is unlikely to work.

    You’ll need to wrap each location in a div and float them. It’s really too involved to be able to instruct you here though so I’d suggest hiring a CSS developer who can assist you.

    Thanks,
    Phil

    Yeah I tried that with my limited css knowledge and couldn’t get it to work.

    Thanks anyway.
    Sam

    My theme has a portfolio layout with a grid but I can’t figure out where to get it to pull the EM locations info from.

    You can use CSS with your shortcode, instead of table markup. This is a very basic example that would need tweaking:

    [locations_list]
    <div style="float: left; width: 200px;">
    #_LOCATIONNAME
    </div>
    [/locations_list]

    Fantastic, that works Caimin, thanks a mill!

    thanks for the update.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Locations list in a grid’ is closed to new replies.