GeoMashup
[ class tree: GeoMashup ] [ index: GeoMashup ] [ all elements ]

Source for file info-window-max.php

Documentation is available at info-window-max.php

  1. <?php
  2. /**
  3.  * This is the default template for the maximized info window display of a clicked marker
  4.  * in a Geo Mashup map.
  5.  *
  6.  * Don't modify this file! It will be overwritten by upgrades.
  7.  *
  8.  * Instead, copy this file to "info-window-max.php" in your geo-mashup-custom directory,
  9.  * or "geo-mashup-info-window-max.php" in your theme directory. Those files will
  10.  * take precedence over this one.
  11.  *
  12.  * @package GeoMashup
  13.  */
  14.  
  15. // Avoid nested maps
  16. add_filter'the_content'array'GeoMashupQuery''strip_map_shortcodes' )1);
  17. ?>
  18. <div class="info-window-max">
  19. <?php if (have_posts()) ?>
  20.  
  21.     <?php while (have_posts()) the_post()?>
  22.  
  23.         <h2><a href="<?php the_permalink(?>" title="<?php the_title_attribute()?>"><?php the_title()?></a></h2>
  24.         <p class="meta"><span class="blogdate"><?php the_time('F jS, Y'?></span> <?php the_category', ' ?></p>
  25.         <?php if function_exists'has_post_thumbnail'and has_post_thumbnail() ) ?>
  26.         <?php the_post_thumbnail()?>
  27.         <?php endif?>
  28.  
  29.         <div class="storycontent">
  30.             <?php the_content()?>
  31.         </div>
  32.  
  33.     <?php endwhile?>
  34.  
  35. <?php else ?>
  36.  
  37.     <h2 class="center">Not Found</h2>
  38.     <p class="center">Sorry, but you are looking for something that isn't here.</p>
  39.  
  40. <?php endif?>
  41. </div>

Documentation generated on Sat, 09 Jul 2011 21:54:54 -0700 by phpDocumentor 1.4.3