Home › Forums › WoodMart support forum › I cannot instll the woodmart theme it shows the link has expired › Reply To: I cannot instll the woodmart theme it shows the link has expired
April 29, 2024 at 11:42 am
#561607
Luke Nielsen
Keymaster
Hello,
1. Navigate to Layouts -> Single product and define the “Product short description” element – https://prnt.sc/-jtN7GPMmCCQ
2. Try to define the “Product reviews” element above the price – https://prnt.sc/fuXNRb3887VC or move the “Tabs” about the price in the layouts builder.
3. Use the code below to reorder the tabs:
/**
* Reorder product data tabs
*/
add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
function woo_reorder_tabs( $tabs ) {
$tabs['reviews']['priority'] = 5; // Reviews first
$tabs['description']['priority'] = 10; // Description second
$tabs['additional_information']['priority'] = 15; // Additional information third
// Custom Tabs are from Product Settings
// $tabs['wd_custom_tab']['priority'] = 2;
// $tabs['wd_custom_tab_2']['priority'] = 3;
// Additional Tabs are from Theme Settings
// $tabs['wd_additional_tab']['priority'] = 4;
// $tabs['wd_additional_tab_2']['priority'] = 5;
return $tabs;
}
4. Edit the “Product tabs” element in the Layouts builder and enable the Accordion style here – https://prnt.sc/MIdgWGLfvjIt
Kind Regards