[Plugin: Geo Mashup] Multiple Maps on same post
-
hey guys, I am using this method to retrieve post info
<?php query_posts(‘map_cat=9’); ?>
<?php echo GeoMashup::map(‘height=318&width=320&zoom=10&map_content=global’);?>
<?php wp_reset_query(); ?>I am making a tabbed box and I want each link to load a different category. I have been copying the same piece of code like the following changing the cat i want but it doesn’t work.
<div id=”content_1″ class=”content2″>
<?php query_posts(‘map_cat=21’); ?>
<?php echo GeoMashup::map(‘height=318&width=320&zoom=10&map_content=global’);?>
<?php wp_reset_query(); ?>
</div>
<div id=”content_2″ class=”content2″>
<?php query_posts(‘map_cat=20’); ?>
<?php echo GeoMashup::map(‘height=318&width=320&zoom=10&map_content=global’);?>
<?php wp_reset_query(); ?>
</div>am i doing something wrong, am i doing something wrong on the syntax.
The topic ‘[Plugin: Geo Mashup] Multiple Maps on same post’ is closed to new replies.