SHARE
TWEET

Untitled

a guest Apr 22nd, 2012 10 Never
  1. <ul>
  2. <?php
  3. global $post;
  4. $args = array( 'numberposts' => -1, 'offset'=> 1, 'category' => 395 );
  5.  
  6. $myposts = get_posts( $args );
  7.  
  8.  
  9. foreach( $myposts as $post ) :  setup_postdata($post); ?>
  10.  
  11.         <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
  12.  
  13. <?php endforeach;?>
  14. </ul>
RAW Paste Data
Top