Title: Why not working &#039;hide_empty&#039; in shotcode?
Last modified: August 30, 2016

---

# Why not working 'hide_empty' in shotcode?

 *  Resolved [juliajune](https://wordpress.org/support/users/juliajune/)
 * (@juliajune)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/why-not-working-hide_empty-in-shotcode/)
 * Hi,
 * I have several categories(custom taxonomy) that do not contain posts.
 * I wrote shotkod [wpb_category_accordion taxonomy = “**my_custom_taxonomy**” ‘
   orderby’ = ‘name’ ‘order’ = ‘ASC’ ‘show_count’ = ‘no’ **‘hide_empty’ = ‘no’**]
 * The empty category(custom taxonomy) is not visible. Why? What am I doing wrong?
 * [https://wordpress.org/plugins/wpb-accordion-menu-or-category/](https://wordpress.org/plugins/wpb-accordion-menu-or-category/)

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

 *  [Aleksandar Mitic](https://wordpress.org/support/users/ravickalex/)
 * (@ravickalex)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/why-not-working-hide_empty-in-shotcode/#post-6880936)
 * Same issue here. Has anyone resolved this ?
 *  [polkan](https://wordpress.org/support/users/polkan/)
 * (@polkan)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/why-not-working-hide_empty-in-shotcode/#post-6880954)
 * It is because of typo in example shortcode.
    You must write properties without
   quotes (like taxonomy in your code) [wpb_category_accordion taxonomy=’my_custom_taxonomy’
   orderby=’name’ order=’ASC’ show_count=’no’ hide_empty=’no’]
 *  Plugin Author [WPBean](https://wordpress.org/support/users/wpbean/)
 * (@wpbean)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/why-not-working-hide_empty-in-shotcode/#post-6880962)
 * You are right **polkan**.
 * Apply the shortcode as **polkan** mention.
 * Thanks

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

The topic ‘Why not working 'hide_empty' in shotcode?’ is closed to new replies.

 * ![](https://ps.w.org/wpb-accordion-menu-or-category/assets/icon-256x256.gif?rev
   =2899475)
 * [WPB Accordion Menu - Collapsible Vertical Sidebar Menu - WooCommerce Category Accordion](https://wordpress.org/plugins/wpb-accordion-menu-or-category/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpb-accordion-menu-or-category/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpb-accordion-menu-or-category/)
 * [Active Topics](https://wordpress.org/support/plugin/wpb-accordion-menu-or-category/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpb-accordion-menu-or-category/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpb-accordion-menu-or-category/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [WPBean](https://wordpress.org/support/users/wpbean/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/why-not-working-hide_empty-in-shotcode/#post-6880962)
 * Status: resolved