• Resolved RetroTorque

    (@retrotorque)


    Hello,

    Does anyone know how to add content to the main Locations page, so that it only shows up on the main locations page (list of all locations) and not all the individual Locations pages as well?

    I’m asking as it seems a nice touch to add a Map of all Locations to the top of the main Locations page. Which is easy enough to do, simply by adding it to the page template – but then this map shows on all the individual Locations as well.

    Thanks.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter RetroTorque

    (@retrotorque)

    Hope you don’t mind. I’ve a couple of other Map related questions. I’ll put them on separate posts.

    Hi,

    You could add a conditional tag

    e.g. is your locations page has id=3 (you can find it in the permalink)

    <?php if is_page(3): ?>
    <div>html stuff</div>
    <?php endif; ?>
    Plugin Support angelo_nwl

    (@angelo_nwl)

    1. you can use or add shortcode [locations_map] in your location page

    2. you can remove placeholder #_LOCATIONMAP in your formatting options at events > settings > formatting > locations > single location page format

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding a Map to the Locations Page’ is closed to new replies.