How to hide sub categories in sidebar [closed]

You didn’t give us markup so I can’t know if this is correct but .sidebar .children { display:none;} EDIT: I think you’re looking to hide your .commentlist .children correct? Line 1460-1463 of your file are the .children selector. try making each of them ol.commentlist li ul.children li.depth-2 { margin:0 0 3px; display:none} ol.commentlist li ul.children … Read more

Woo commerce Single Product Sidebar [closed]

If you mean on your product category page: What if you remove (or comment out) the item description from your content-single-product.php, or use CSS – display:none; and place the code in your sidebar.php? Or whatever sidebar template file you are using for your products? If you don’t have one set up, you can do this … Read more

How can I add custom sidebar to my theme? [closed]

You need to register the widget area in your themes functions.php file. Your code should look something like this. //register the widget area function your_function_name() { register_sidebar(array( ‘name’ => esc_html__(‘Sidebar’, ‘your_theme_name’), ‘id’ => ‘sidebar-1’, ‘description’ => esc_html__(‘Add widgets here.’, ‘your_theme_name’), ‘before_widget’ => ‘<section id=”%1$s” class=”widget %2$s”>’, ‘after_widget’ => ‘</section>’, ‘before_title’ => ‘<h2 class=”widget-title”>’, ‘after_title’ => … Read more

Sidebar not appearing

@Richard, To answer your questions in their order: 1) Yes, it means dynamic sidebar(s) are supported 2) You add the code to whichever page files / templates you want the sidebar to render in 3) The sidebar will render EXACTLY where you place the code 4) You do not have to create a child theme, … Read more