WordPress
21
Вклад в тег
#right-sidebar .widget h4:before {
font-family: "FontAwesome";
content: "\f072";
padding: 0 10px 0 0;
}
#text-2 h4:before {
font-family: "FontAwesome";
content: "\f083";
padding: 0 10px 0 0;
}
#nav_menu-5 h4:before {
font-family: "FontAwesome";
content: "\f072";
padding: 0 10px 0 0;
}
function remove_parent_category_from_url( $args ) {
$args['rewrite']['hierarchical'] = false;
return $args;
}
add_filter( 'woocommerce_taxonomy_args_product_cat', 'remove_parent_category_from_url' );