Guest User

Pronamic Google Maps - Loop example

a guest
Feb 21st, 2011
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.58 KB | None | 0 0
  1. <?php while(have_posts()): the_post(); ?>
  2.  
  3. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  4.     <h2 class="entry-title">
  5.         <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark">
  6.             <?php the_title(); ?>
  7.         </a>
  8.     </h2>
  9.  
  10.     <div class="entry-content">
  11.         <?php the_content(); ?>
  12.  
  13.         <?php
  14.  
  15.         pronamic_google_maps(array(
  16.             'width' => 500 ,
  17.             'height' => 400
  18.         ));
  19.  
  20.         ?>
  21.  
  22.         <?php pronamic_google_maps_geo_microformat(); ?>
  23.     </div>
  24. </article>
  25.  
  26. <?php endwhile; ?>
Add Comment
Please, Sign In to add comment