Comments 1writerguy started the conversationFebruary 3, 2021 at 6:09pmIs there a way to show in the sidebar the stec categories either the entire list or a drop-down? 894Zhivko repliedFebruary 7, 2021 at 9:56amHi, I've written a small shortcode that can do this. Place the code from the text file I've attached to your theme or child-theme functions.php file. Then you can display the categories via shortcode [stec_categories_list]. Examples: [stec_categories_list] [stec_categories_list title="Calendar Categories"] The html generated is like following: <div class="stec-categories-list"> <p class="stec-categories-list-title">Calendar Categories</p> <ul> <li data-cat-id="1"><a href="#">Category 1</a></li> <li data-cat-id="2"><a href="#">Category 2</a></li> </ul> </div> Stachethemes Developer Sign in to reply ...
Is there a way to show in the sidebar the stec categories either the entire list or a drop-down?
Hi,
I've written a small shortcode that can do this.
Place the code from the text file I've attached to your theme or child-theme functions.php file.
Then you can display the categories via shortcode [stec_categories_list].
Examples:
The html generated is like following:
Stachethemes Developer