Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $options = get_option( 'pu_theme_options' );
- $newspostids = $options['pu_textbox'];
- echo $newspostids;
- $news = get_posts( array(
- 'post_type' => 'post',
- 'post__in'=> array(1234,5678)
- ) );
- $news = get_posts( array(
- 'post_type' => 'post',
- 'post__in'=> array($newspostids)
- ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement