Reply 65261 to: Description Tab Name & Default Open / Collapse

Avatar: Eva
Eva Kemp
Support staff
May 21, 2015 at 13:50

Hello,

You need add this code in functions.php in wp-content/themes/royal directory to rename “Description” tab:

add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
function woo_rename_tabs( $tabs ) {

	$tabs['description']['title'] = __( 'More Information' );		// Rename the description tab
	return $tabs;

}

Replace “More Information” text with your own.

To remove additional titles from tabs add this code in custom.css file:

.tabs .tab-content h2 {
 display: none !important;
}

How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).

Regards,
Eva Kemp.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.