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?

#12321
michaelnason
Participant

    Hi Chris,

    Thanks. The page I’m having trouble with is a receipt-type page that is meant to be printed. The template for this view does not call wp_footer(), and no external scripts or stylesheets are loaded.

    If I add wp_footer() or do_action(‘wp_print_footer_scripts’), then my site’s stylesheet and all other scripts are loaded even though they should not be on this view (including mappress’s).

    Is there a way to selectively load MapPress resources for this template, or any other way I can work around this limitation?