Advertisement
Guest User

Untitled

a guest
May 25th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. $options = get_option( 'pu_theme_options' );
  2. $newspostids = $options['pu_textbox'];
  3. echo $newspostids;
  4.  
  5. $news = get_posts( array(
  6. 'post_type' => 'post',
  7. 'post__in'=> array(1234,5678)
  8. ) );
  9.  
  10. $news = get_posts( array(
  11. 'post_type' => 'post',
  12. 'post__in'=> array($newspostids)
  13. ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement