post_type

  • Default Values: n/a
  • Accepted Values: String
  • Related Options: show_posts

Using this example you can display a single custom post type by it’s register_post_type eg: acme_products but that is as deep as it goes. show_posts must be set. You can input a comma delimited list of post types eg: post_type='your_post_type, post'.

Shortcode used: