daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Jul 14th, 2015 146 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="places-nav">
  2. <?php $args = array('post_type' => 'trips');
  3.         $loop = new WP_Query( $args ); 
  4.          
  5.         //Display the contents           
  6.         while ( $loop->have_posts() ) : $loop->the_post(); ?>
  7.                 <a href="#" onclick="get_post_content(<?php the_ID(); ?>);"><h1 class="entry-title"><?php the_title(); ?></h1></a>
  8.         <?php endwhile;?>
  9. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top