Hopefully someone can help on this… was trying to come remove reviews and followed the advice given by Sean Barton here: http://wordpress.org/support/topic/plugin-woocommerce-ecommerce-plugin-for-wordpress-disable-the-reviews-tab?replies=12 and therein, added the following to my theme’s functions.php file.
remove_action( ‘woocommerce_product_tabs’, ‘woocommerce_product_reviews_tab’, 30);
remove_action( ‘woocommerce_product_tab_panels’, ‘woocommerce_product_reviews_panel’, 30);
The outcome was that the images from my single product pages are gone (as well as the reviews).. which doesn’t seem right. now that I’ve removed the lines from my functions.php file, the changes don’t reverse (I guess I need to do an add_action?).
When I look into the page source, I see that div.images and div.reviews no longer load on the single product pages, only the div.summary.
thanks in advance, interwebs!
- The topic ‘Unhooked Single Prod Page Images (remove_action)’ is closed to new replies.