Login / resgistration / logout, in this menu
-
Hi,
I do not know how to put the login / registration options, etc here.
Thanks you.
Attachments:
You must be
logged in to view attached files.
Hi,
By default, this header layout doesn’t have Login/Register link. But you can add it manually placing the following code snippet to the functions.php file in the child theme.
add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 );
function basel_custom_header_configuration() {
return array(
'container' => array(
'wrapp-header' => array(
'logo',
'widget_area',
'right-column' => array(
'header_links',
'search',
'wishlist',
'cart',
'mobile_icon',
)
)
),
'navigation-wrap' => array(
'container' => array(
'main_nav'
)
)
);
}
Regards
Thank you for your help, but
When the change is made, the whole menu is changed, the option “Navigate by categories” no longer appears, in addition to changing the structure of the menu.
Attachments:
You must be
logged in to view attached files.
Try to replace it with this code instead
add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 );
function basel_custom_header_configuration() {
return array(
'container' => array(
'wrapp-header' => array(
'logo',
'main_nav',
'right-column' => array(
'header_links',
'wishlist',
'cart',
'mobile_icon',
)
)
),
'secondary-header' => array(
'container' => array(
'categories_menu',
'search_extended',
)
)
);
}
Muchas gracias, esto funciona :D.
The topic ‘Login / resgistration / logout, in this menu’ is closed to new replies.