Reply To: Can't use wp_footer on one page where I need a map. Any work-arounds?

Home Forums MapPress Support Can't use wp_footer on one page where I need a map. Any work-arounds? Reply To: Can't use wp_footer on one page where I need a map. Any work-arounds?

#12320
Chris
Keymaster

Hi,

Just to be clear, wp_footer() only loads scripts in the footer.  It doesn’t actually display the blog footer – that’s done by get_footer() instead.

Were you thinking of get_footer()?

If that’s not the problem and you really can’t call wp_footer(), then you could possibly just trigger action ‘wp_print_footer_scripts’ instead, e.g. do_action(‘wp_print_footer_scripts’).  That calls the internal function to queue all the scripts.