SHARE
TWEET

Untitled

a guest Aug 12th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php $sidebar = get_posts(array(p="x"));
  2. if($sidebar): foreach($sidebar as $thepost): setup_postdata($thepost); ?>
  3. <!--- Do your usual loop stuff, the_title(), the_content(); etc.  -->
  4. <?php endforeach; endif; ?>
RAW Paste Data
Top