Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $args = array(
- 'p' => 340, // ID of a page, post, or custom type
- 'post_type' => 'about'
- );
- ?>
- <?php $my_posts = new WP_Query($args); ?>
- <?php while ($my_posts->have_posts() ) : $my_posts->the_post(); ?>
- <?=the_content();?>
- <?php endwhile; ?>
- <?php wp_reset_postdata();?>
Add Comment
Please, Sign In to add comment