Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $args = array(
- 'post_type' => 'familymessage',
- );
- $q = new WP_Query($args);
- if ( $q->have_posts() ) {
- while ( $q->have_posts() ) { $q->the_post();
- }
- }
- wp_reset_postdata();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement