Home Forums Basel support forum login/register

login/register

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12689

    IvyK
    Participant

    Hi,

    Is It possible to add login/register to the base header like It is in some other headers, to the top right where the search and cart is?

    Regards

    #12695

    Artem Temos
    Keymaster

    Hi,

    By default, this header layout doesn’t have Login/Regsister 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

Viewing 2 posts - 1 through 2 (of 2 total)