• Resolved Al262

    (@al262)


    It appears the EM_Locations output is ignoring the format_header and format_footer attributes in EM 5.5.5 on WordPress 4.1.1? The code snippet below comes from a custom page where I have the $format_ variables defined earlier in the code. If I use only the $format_body and echo my own $format_header and footer, it appears to be working.

    echo EM_Locations::output( array(
    	'format_header'=>$format_head,
    	'format'=>$format_body,
    	'format_footer'=>$format_foot,
    	'limit'=>10,
    	'pagination'=>1,
    	)

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

Viewing 1 replies (of 1 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    yes, I think this is how it works at the moment however if you can code you can try to hook into em_locations_output filter to make this work; this is located under events-manager/classes/em-locations.php

Viewing 1 replies (of 1 total)
  • The topic ‘Locations Header/Footer ouput’ is closed to new replies.