WordPress.org

Support

Support » How-To and Troubleshooting » MapPress not loading header files on some pages

MapPress not loading header files on some pages

  • Hi, I’m trying to use the MapPress plugin to show a location map in a post. I’m then showing this post in a few spots with a custom loop. It works fine on my index.php page and of course when you view the post directly, but when i try to use it in any other spot such as a custom template page, it won’t load the files. Here’s my loop if anyone has any suggestions.

    Thanks!

    <?php query_posts('p=91');
    	if (have_posts()) :	while (have_posts()) : the_post(); ?>
    	<?php the_content(); ?>
    	<?php endwhile; ?>
    	<?php else : ?>
    	<h3>No Contact information</h3>
    	<?php endif; ?>
    	<?php wp_reset_query(); ?>
Viewing 1 replies (of 1 total)
  • I’ve noticed this problem too – seems the plugin doesn’t register with wp_head when you’re using a custom page template. Every other page is fine.

    Anyone have any pointers on hacking the plugin to make it work?

Viewing 1 replies (of 1 total)
  • The topic ‘MapPress not loading header files on some pages’ is closed to new replies.