Home Forums Basel support forum How to activate Login/Register within Base Header Menu

How to activate Login/Register within Base Header Menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33367

    andre.somepro
    Participant

    Hi, I want to ask whether there is an option to activate the Login Register Link also for the Base Heade menue, or is it just available for Ecomemrce header?

    I tried everything from settings/ theme options page the Login register Option in Header is enabled but nothing shows up.

    You might have a tipp for me.

    best regards

    Andre

    #33392

    Artem Temos
    Keymaster

    Hello,

    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

    #33418

    andre.somepro
    Participant

    Thank you very much it works!

    #33424

    Artem Temos
    Keymaster

    You are welcome.

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