Title: Set Post Type in shortcode
Last modified: August 30, 2016

---

# Set Post Type in shortcode

 *  Resolved [geomanorg](https://wordpress.org/support/users/geomanorg/)
 * (@geomanorg)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/set-post-type-in-shortcode/)
 * Hi Henri Benoit
 * Thanks very much for this great plugin. WP Category Tag Cloud working great.
   
   However, I have a little issue of post_type shortcode. We able to set post_type
   with widget, however that’s no luck to insert post_type with shortcode.
 * We ever tried to insert instance post_type inside the file below
    wp-category-
   tag-cloud.php but failed to display tags with specific post type only by shortcode.
 * Please guide any code to insert in order to use post_type in shortcode
    Thanks
   in advance for your help
 * [https://wordpress.org/plugins/wp-category-tag-could/](https://wordpress.org/plugins/wp-category-tag-could/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [benohead](https://wordpress.org/support/users/benohead/)
 * (@benohead)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/set-post-type-in-shortcode/#post-6591839)
 * Currently, there is no support for specifying post_type. You could try and hardcode
   a post_type criterion in $cloud_args in wpctc-widget.php.
 *  Thread Starter [geomanorg](https://wordpress.org/support/users/geomanorg/)
 * (@geomanorg)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/set-post-type-in-shortcode/#post-6591842)
 * Hi Henri Benoit
 * Thanks very much for your replies and info.
    Really 100% accurate plugin with
   clean coding.
 * We ever tried even function wp_tag_cloud( $args
    to post_type in $cloud_args 
   in wpctc-widget.php but, no matter how we try, that’s no luck.
 * We do hope specifying post_type in shortcode in your next update.
    By the way
   Thank you and you’re coding genius
 *  Thread Starter [geomanorg](https://wordpress.org/support/users/geomanorg/)
 * (@geomanorg)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/set-post-type-in-shortcode/#post-6591957)
 * Use widget and jobs done.
    Wordpress Number One tag cloud plugin.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Set Post Type in shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-category-tag-could.svg)
 * [WP Category Tag Cloud](https://wordpress.org/plugins/wp-category-tag-could/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-category-tag-could/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-category-tag-could/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-category-tag-could/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-category-tag-could/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-category-tag-could/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [geomanorg](https://wordpress.org/support/users/geomanorg/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/set-post-type-in-shortcode/#post-6591957)
 * Status: resolved