What should the directory structure for functions.php in my child theme be?
-
I have been unable to locate the directory that my custom functions.php file should reside. I’ve tried: child-theme/woocommerce/functions.php, child-theme/woocommerce/single-product/functions.php, child-theme/functions.php, child-theme/woocommerce/templates/functions.php. You get my point? Nothing works. I’ve tried using various hooks:
remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 ); remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 ); add_action( 'woocommerce_before_single_product_summary', 'woocommerce_template_single_title', 5 );?> remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20);
. Nothing works.
I’m using woocommerce 2.0.3 with twenty-twelve theme. I would sure appreciate an answer that works, because I’ve run across 100+ that haven’t.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘What should the directory structure for functions.php in my child theme be?’ is closed to new replies.