Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1361316
    cvanceiac
    Participant

    I have searched up and down for this answer and cannot find a solution.

    I utilize a short code to display my woocommerce product categories, however I want to display some empty categories and am unable to using the short code method.

    I’ve tried adding custom code to the functions.php file and I’ve tried utilizing the [hide_empty “0”] short code in various ways; none of which have worked.

    #1361479
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    Please use solution mentioned in following GitHub page:

    https://gist.github.com/simonlk/3926139

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1361316 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>