Forums

Geo Mashup
Multiple Maps on same post (2 posts)

  1. nvassos
    Member
    Posted 1 year ago #

    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.

  2. Dylan Kuhn
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags