Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [diversecity section="sounds-flavors" ids=""]
- $qs = new WP_Query(
- array(
- 'posts_per_page' => 3,
- 'category_name' => 'sounds-flavors'
- )
- );
- [diversecity section="sounds-flavors" ids="12345,12678"]
- $qs = new WP_Query(
- array(
- 'posts_per_page' => 3,
- 'category_name' => 'sounds-flavors',
- 'post__in' => array(12345,12678)
- )
- );
- <article id="12345">{First ID Specified}</article>
- <article id="12678">{Second ID Specified}</article>
- <article id="12980">{Most Recent Post from the Sounds & Flavors category}</article>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement