Comments AtelierAlves started the conversationOctober 2, 2018 at 5:53pmHi, I'd like to know if there's a way to send the review tab to the last position in the single product page. I tried to use the woocommerce hook bellow, doesn't work. add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 ); function woo_reorder_tabs( $tabs ) { $tabs['description']['priority'] = 5; // Description first $tabs['reviews']['priority'] = 35; // Reviews last return $tabs;}What should I be doing?Thanks in advance! 608WordPress repliedOctober 3, 2018 at 3:58amHello,You can add style css .product-tab .nav-tabs { display: inline-block;}.product-tab .nav-tabs > li.reviews_tab { float: right;}Regrads!Alex Vũ Sign in to reply ...
Hi,
I'd like to know if there's a way to send the review tab to the last position in the single product page.
I tried to use the woocommerce hook bellow, doesn't work.
add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
function woo_reorder_tabs( $tabs ) {
$tabs['description']['priority'] = 5; // Description first
$tabs['reviews']['priority'] = 35; // Reviews last
return $tabs;
}
What should I be doing?
Thanks in advance!
Hello,
You can add style css
Regrads!Alex Vũ