So ordnen Sie Produktdaten-Tabs von einer einzelnen Produktseite neu an.
Um einzelne, mehrere oder alle Produktdaten-Tabs von einer einzelnen Produktseite nachzubestellen, befolgen Sie bitte die folgenden Schritte:
1- Gehen Sie zu wp-content >> Themes >> porto >> functions.php Datei und öffnen Sie die Datei zum Bearbeiten wie gezeigt:
2- Gehen Sie zum Ende der functions.php Datei und fügen Sie den folgenden Code dort ein, um alle Registerkarten neu anzuordnen, wie im folgenden Screenshot gezeigt:
/**
* 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
return $tabs;
}

Changed:

3- Go to the bottom of the functions.php file and paste the below code there to re-order the reviews tab from first to second place as showing in the below-given screenshot:
/**
* Reorder product data tabs
*/
add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
function woo_reorder_tabs( $tabs ) {
$tabs['reviews']['priority'] = 10; // Reviewssecond
$tabs['description']['priority'] = 15; // Description third
$tabs['additional_information']['priority'] = 5; // Additional information first
return $tabs;
}

Geändert:

Link zum WooCommerce-Forum: https://docs.woocommerce.com/document/editing-product-data-tabs/
Bitte schauen Sie sich das komplette Video an: Klicken Sie hier für das Video 🙂
Ich hoffe, das hilft…
