WordPress Woocommerce adres kısmı gözükmüyor

Çözüm için temanızın functions.php dosyasının içerisine bu kodu ekleyin.
Kod:
add_filter( 'woocommerce_account_menu_items', 'custom_account_menu_items' );
 
function custom_account_menu_items( $items ) {
    $new_items = array();
    foreach ( $items as $key => $item ) {
        if ( $key == 'edit-address' ) {
            $new_items['edit-address'] = 'Adresi Düzenle';
        } else {
            $new_items[$key] = $item;
        }
    }
    return $new_items;
}
 
Ben elementor pro kullanıyorum. Orda my account kısmını manuel olarak ayarlayabiliyorsun. Öyle çözdüm. Elementor pro olmayan başka bir sitemde ise sorun halen devam ediyor.
 
Çözüm için temanızın functions.php dosyasının içerisine bu kodu ekleyin.
Kod:
add_filter( 'woocommerce_account_menu_items', 'custom_account_menu_items' );
 
function custom_account_menu_items( $items ) {
    $new_items = array();
    foreach ( $items as $key => $item ) {
        if ( $key == 'edit-address' ) {
            $new_items['edit-address'] = 'Adresi Düzenle';
        } else {
            $new_items[$key] = $item;
        }
    }
    return $new_items;
}
Teşekkür ederim Sorun bu kod sayesinde çözüldü.
 
Çözüm için temanızın functions.php dosyasının içerisine bu kodu ekleyin.
Kod:
add_filter( 'woocommerce_account_menu_items', 'custom_account_menu_items' );
 
function custom_account_menu_items( $items ) {
    $new_items = array();
    foreach ( $items as $key => $item ) {
        if ( $key == 'edit-address' ) {
            $new_items['edit-address'] = 'Adresi Düzenle';
        } else {
            $new_items[$key] = $item;
        }
    }
    return $new_items;
}

teşekkür ederim hocam bu kod ile sorun çözüldü.
 
1684466119271.png
Arkadaşlar bende burdaki son siparişlerinizi görüntüleyin yazısını kaldırmak istiyorum fakat nasıl yaparım bilmiyorum. (elementor)
 

Yeni konular

Geri
Yukarı