Contents
How do I hide short description in WooCommerce?
You can remove the Short Description field from the WooCommerce admin panel via PHP: function remove_short_description() { remove_meta_box( ‘postexcerpt’, ‘product’, ‘normal’); } add_action(‘add_meta_boxes’, ‘remove_short_description’, 999);
How do I show short description on shop page WooCommerce?
The short description for products in WooCommerce utilizes the excerpt that you’d find in normal posts. So to show it, you should simply show the excerpt for the post. It’s as basic as that! Yet, now you have to hook your function to the right activity so that it’s output in the correct place in your archive pages.
How do I hide additional information in WooCommerce product page?
Steps to Hide the Additional Information Tab From the Dashboard menu, click on Appearance Menu > Theme Editor Menu. When the Theme Editor page is opened, look for the theme functions file to add the function to hide the Additional Information tab.
How to hide description and reviews in WooCommerce products?
WooCommerce products by default show ‘ description ‘ and ‘ reviews ‘ tabs below the product on a WordPress product page, you can hide these tabs from view as well as a third tab ‘ additional information ‘ with a snippet of code that goes in your themes functions.php file
How to remove the tabs in WooCommerce products?
As well as remove the tabs you can rename the heading in the tabs with this snippet If the tabs are not used on some products you may get a PHP error about undefined index on title or call back, in this case it is best to wrap the tabs in an isset function to check they are being used. Here is a guide on adding extra tabs.
How to show product description on shop Page?
WooCommerce: Show Product Description @ Shop Page. If you want to show the “short description” field on the products that are on your homepage or in the loop, here’s the PHP code to add to your functions.php.
Where to place custom search bar in WooCommerce?
CSS, on the other hand, goes in your child theme style.css file. Make sure you know what you are doing when editing such files – if you need more guidance, please take a look at my free video tutorial “Where to Place WooCommerce Customization?”