Title: Using Short Code with Custom Posts
Last modified: April 8, 2019

---

# Using Short Code with Custom Posts

 *  Resolved [kevinvo](https://wordpress.org/support/users/kevinvo/)
 * (@kevinvo)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/using-short-code-with-custom-posts/)
 * Hi
 * I have managed to get this to work with Posts from a Custom Post Type tag:
 * taxonomy=”portfolio_tag”
    on_single_display=”local”
 * [cool_tag_cloud style=”purple” font_family=”Arial, Helvetica, sans-serif” smallest
   =”12″ largest=”17″ align=”left” font_weight=”normal” text_transform=”none” number
   =”0″ order_by=”name” order=”ASC” taxonomy=”portfolio_tag” tooltip=”yes” nofollow
   =”yes” animation=”no” on_single_display=”local”]
 * But it seems to only be picking up the global display and showing ALL the tags
   even though its set to “local”.
 * Is there a limitation in the Short Code method that prevents it from showing 
   the tags related only to the Custom Post Type post?

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

 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/using-short-code-with-custom-posts/#post-11404140)
 * Hi,
 * on_single_display only works for regular posts, not custom post types. We’ll 
   get that fixed and update the plugin.
 *  Thread Starter [kevinvo](https://wordpress.org/support/users/kevinvo/)
 * (@kevinvo)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/using-short-code-with-custom-posts/#post-11405714)
 * Awesome, looking forward to the update.
 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/using-short-code-with-custom-posts/#post-11407853)
 * Should be released today.
 *  Thread Starter [kevinvo](https://wordpress.org/support/users/kevinvo/)
 * (@kevinvo)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/using-short-code-with-custom-posts/#post-11423474)
 * 2.13 Update works great with custom post types “local” option now.
 * Thank you!
 *  Plugin Author [WPKube](https://wordpress.org/support/users/wpkube/)
 * (@wpkube)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/using-short-code-with-custom-posts/#post-11427769)
 * Happy to hear that. You’re welcome.

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

The topic ‘Using Short Code with Custom Posts’ is closed to new replies.

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

## Tags

 * [Short Code](https://wordpress.org/support/topic-tag/short-code/)

 * 5 replies
 * 2 participants
 * Last reply from: [WPKube](https://wordpress.org/support/users/wpkube/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/using-short-code-with-custom-posts/#post-11427769)
 * Status: resolved