WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Locations list in a grid (9 posts)

  1. sammiej
    Member
    Posted 11 months ago #

    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/

  2. angelo
    NetWebLogic Support
    Posted 11 months ago #

    you can try something like

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

    then format as needed.

  3. sammiej
    Member
    Posted 11 months ago #

    That still lists them vertically, not across the page?

    Thanks
    Sam

  4. philipjohn
    Member
    Posted 11 months ago #

    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

  5. sammiej
    Member
    Posted 11 months ago #

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

    Thanks anyway.
    Sam

  6. sammiej
    Member
    Posted 11 months ago #

    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.

  7. caimin_nwl
    NetWebLogic Support
    Posted 11 months ago #

    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]
  8. sammiej
    Member
    Posted 11 months ago #

    Fantastic, that works Caimin, thanks a mill!

  9. angelo
    NetWebLogic Support
    Posted 11 months ago #

    thanks for the update.

Reply

You must log in to post.

About this Plugin

About this Topic