Hello justin007h,
You can create custom sidebar with plugin or with coding.
with plugin to create sidebar please refer following https://themeisle.com/blog/custom-wordpress-sidebar/
and with coding you can follow below code:-
Add this code into functions.php in order to register your custom sidebar:
function my_custom_sidebar() {
register_sidebar(
array (
'name' => __( 'Custom', 'your-theme-domain' ),
'id' => 'custom-side-bar',
'description' => __( 'Custom Sidebar', 'your-theme-domain' ),
'before_widget' => '<div class="widget-content">',
'after_widget' => "</div>",
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
)
);
}
add_action( 'widgets_init', 'my_custom_sidebar' );
I want to render the custom sidebar in single posts only, so I’ll edit the “Single post” file in single.php
<?php if ( is_active_sidebar( 'custom-side-bar' ) ) : ?>
<?php dynamic_sidebar( 'custom-side-bar' ); ?>
<?php endif; ?>
Go to Appearance > Widgets to see if the new sidebar available.
Add the widgets you need.
or try the following steps:-
1) Click on Appearance > Customize
2) Then go to WooCommerce > Product Catalog
3) Select “show subcategories” from Category Display
4) Click on Save Changes
Hope this will help you.
thanks.