• http://halfwaytoconcord.com
    wp 4.1
    current EC Pro
    event rocket 2.5

    I am trying to figure out how to not have duplicate content by using Event Rocket to embed specific single events with

    [event_embed event=”slug”]

    However, this does not include the ECP map for venue.

    I’ve looked at some of the github snippets but am unsure how and where to add_filter to include ER’s way of doing it or to insure ECP’s default maps are included in the embed.

    Thanks in advance for any clue. BGR

    https://ww.wp.xz.cn/plugins/event-rocket/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Barry

    (@barryhughes-1)

    Hi!

    You’re right that it doesn’t include a map by default. Check out this section of the wiki, though:

    https://github.com/barryhughes/event-rocket/wiki/Embed-Events#how-are-events-displayed

    You can set up and use a custom template of your own – within which you could add a call to tribe_get_embedded_map() 🙂

    Thread Starter worldviewpr

    (@worldviewpr)

    I notice the snip

    add_filter( ‘eventrocket_replace_embedded_maps’, ‘__return_false’ );

    where would I add that? in the ECP php ?

    Plugin Author Barry

    (@barryhughes-1)

    I notice the snip

    add_filter( ‘eventrocket_replace_embedded_maps’, ‘__return_false’ );

    If you’re using the latest version of Event Rocket I’m afraid that snippet won’t do anything.

    I’m not sure it would really help you to embed a map within the shortcode output, either, even if you rolled back to an earlier version of Event Rocket.

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

The topic ‘Having problems with getting maps to show’ is closed to new replies.