Home Forums Basel support forum Account Links/Login in Header

Account Links/Login in Header

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

    colinsquireboone
    Participant

    I cannot get the account links and login to appear in my header. Pictured are the settings that I think should enable this, but they are not working.

    Attachments:
    You must be logged in to view attached files.
    #177933

    By default, the header layout on your site 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'
    			)
    		)	
    	);
    }

    Best Regards

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