• I’m trying to move the google map to the bottom of a single event page. I’ve managed to remove the google map by adding the following code in the functions.php file.

    function df_add_and_remove_actions() {
    	remove_action('em_after_single_event_title', 'em_display_single_event_google_map');
    }
    add_action('wp' , 'df_add_and_remove_actions');

    However, using add_action to display the map to ’em_single_event_content’ brings up a blank map. I’m not clear as to why this is happening and how I can make this work. Does someone have a suggestion or explanation. Thanks for your help.

    https://www.ads-software.com/plugins/events-maker/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author dFactory

    (@dfactory)

    It should work.

    What if you leave the map as it is – do you have it blank too?

    Thread Starter mattgirod

    (@mattgirod)

    If I leave the map in it appears as normal.

    It’s very likely I’m doing something incorrectly. I’ve added this code to the functions.php but this gives me a map with a google location marker but the actual map features are missing;

    add_action('em_single_event_content','em_display_single_event_google_map', 70);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Modifying the display of single event.’ is closed to new replies.