Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

EM single-location.php

By: a guest on Nov 5th, 2012  |  syntax: None  |  size: 0.50 KB  |  views: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); ?>
  2. <div id="primary" style="width: 60%">
  3.         <div id="content" role="main">
  4.                 <?php
  5.                         global $post;
  6.                         $EM_Location = em_get_location($post->ID, 'post_id');
  7.                 ?>
  8.                 <header class="entry-header">
  9.                         <h1 class="entry-title"><?php echo $EM_Location->output('#_LOCATIONNAME'); ?></h1>
  10.                 </header>
  11.                 <div class="entry-content">
  12.                         <?php echo $EM_Location->output( get_option('dbem_single_location_format') ); ?>
  13.                 </div>
  14.         </div>
  15. </div>
  16. <?php get_sidebar(); ?>
  17. <?php get_footer(); ?>