<?php // Mind this opening php tag
/**
* Remove Categories from WooCommerce Product Category Widget
*
* @author Ren Ventura
*/
//* Used when the widget is displayed as a dropdown
add_filter( 'woocommerce_product_categories_widget_dropdown_args', 'rv_exclude_wc_widget_categories' );
//* Used when the widget is displayed as a list
add_filter( 'woocommerce_product_categories_widget_args', 'rv_exclude_wc_widget_categories' );
rv_exclude_wc_widget_categories function( $cat_args ) {
$cat_args['exclude'] = array('55','68'); // here ID of your category
return $cat_args;
}</property-->
Find more questions by tags WordPress
So you're talking about something else. But without the Scrin do not understand that you do not give where to remove.
Try to Express your problem completely. - Jarvis.McCullou commented on June 8th 19 at 17:34
trying to remove the usual place - in the list of categories prntscr.com/i853rj - Dagmar5 commented on June 8th 19 at 17:37
Yes.
I just have removed first by removing the Writing - Jarvis.McCullou commented on June 8th 19 at 17:40
Install a clean WordPress and check my words - Jarvis.McCullou commented on June 8th 19 at 17:58