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

Source for file full-post.php

Documentation is available at full-post.php

  1. <?php
  2. /**
  3.  * This is the default template for full post 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 "full-post.php" in your geo-mashup-custom directory,
  9.  * or "geo-mashup-full-post.php" in your theme directory. Those files will
  10.  * take precedence over this one.
  11.  *
  12.  * @package GeoMashup
  13.  */
  14. ?>
  15. <?php if (have_posts()) ?>
  16.  
  17.     <?php while (have_posts()) the_post()?>
  18.  
  19.         <h2><a href="<?php the_permalink(?>" title="<?php the_title_attribute()?>"><?php the_title()?></a></h2>
  20.         <p class="meta"><span class="blogdate"><?php the_time('F jS, Y'?></span> <?php the_category', ' ?></p>
  21.         <?php if function_exists'has_post_thumbnail'and has_post_thumbnail() ) ?>
  22.         <?php the_post_thumbnail()?>
  23.         <?php endif?>
  24.  
  25.         <div class="storycontent">
  26.             <?php the_content()?>
  27.         </div>
  28.  
  29.     <?php endwhile?>
  30.  
  31. <?php else ?>
  32.  
  33.     <h2 class="center">Not Found</h2>
  34.     <p class="center">Sorry, but you are looking for something that isn't here.</p>
  35.  
  36. <?php endif?>

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