Home Forums Basel support forum How to add login/register in the top bar?

How to add login/register in the top bar?

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

    Dear Support Team,

    Can you please tell how to enable login/register in top bar in place of my account I am using base header layout for my website also attached image showing which header i am using

    regards
    eduhivecreativestudio

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

    Artem Temos
    Keymaster

    Hi,

    Sorry, but it can’t be added to the top bar in this header layout. We can give you custom PHP code to add it before the search icon.

    Regards

    #77907

    Dear Support Team,

    Yes Please Provide the custom php code to add this section in header.

    Strongly dissapointed by your support team. Till now i haven’t got even single solution from your support team. I dont know what is the meaning of support if you cant provide support related to feature provided in your theme. Why it cant be added to top bar

    #77908

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to add it to your header

    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',
    						'search',
    						'wishlist',
    						'cart',
    						'mobile_icon',
    					)
    				)	
    			),
    		);
    }

    If you want, you can add it to the top bar with the following code in the file header.php

    <?php basel_header_block_header_links(); ?>

    Regards

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