The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

MapPress not loading header files on some pages (2 posts)

  1. jmh
    Posted 6 years ago #

    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.


    <?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(); ?>
  2. Joshuwar
    Posted 6 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.