S
S
stupidgirl2021-06-21 12:29:03
WordPress
stupidgirl, 2021-06-21 12:29:03

Why are the functions in the functions.php file in the child theme not firing?

I created a child theme from storefront, placed the functions.php file in it, but nothing works. If you register in the parent and switch to it, then it works. What could be the reason?
60d05bda6c7e4265498616.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Litvinenko, 2021-06-21
@stupidgirl

add_action( 'init', 'remove_my_action');
function remove_my_action() {
     remove_action( 'woocommerce_before_shop_loop','storefront_sorting_wrapper',9 );
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question