WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jmh
    Member
    Posted 4 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.

    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(); ?>
  2. Joshuwar
    Member
    Posted 3 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

Tags

No tags yet.