Title: Shortcode use
Last modified: July 12, 2017

---

# Shortcode use

 *  [declanmair](https://wordpress.org/support/users/declanmair/)
 * (@declanmair)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/shortcode-use-4/)
 * Hi,
 * Struggling to get this to work. Long story short I’m using essential grid to 
   show my posts but want a category icon to show on each block. I need to use the
   shortcode option as it doesnt like other code formats.
 * I’ve tried this shortcode – [tax_icon term_id=”%post_id%” class=””]. It returns
   the post number but not the icon. Removing the %post_id% just returns the text.
   Reading the documentation I cant work out if I’m to add code elsewhere or just
   use the shortcode?
 * Thanks

The topic ‘Shortcode use’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/taxonomy-icons_fdfdfd.svg)
 * [Taxonomy Icons](https://wordpress.org/plugins/taxonomy-icons/)
 * [Support Threads](https://wordpress.org/support/plugin/taxonomy-icons/)
 * [Active Topics](https://wordpress.org/support/plugin/taxonomy-icons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/taxonomy-icons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/taxonomy-icons/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [declanmair](https://wordpress.org/support/users/declanmair/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/shortcode-use-4/)
 * Status: not resolved