Home Forums WoodMart support forum Editor Error

Editor Error

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

    kohnz
    Participant

    Hello,

    I am trying to add “register/login” to my header.
    Now When i am trying to edit my “functions.php” on my wordpress theme it showed me an error “Scrape nonce check failed. Please try again.” can you help me fix it?

    This the code i am trying to add: (the code is from you)


    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’,
    )
    )
    ),
    );
    }

    Regards,
    Sam

    #30997

    Artem Temos
    Keymaster

    Hello,

    We are glad to know that you considered using WoodMart for your web-site. I hope you will be happy with it.

    You don’t need to use this code for the WoodMart theme. Login/register links can be enabled in Theme Settings -> Header -> My account links.

    Kind Regards
    Xtemos

    #31037

    kohnz
    Participant

    Thank you everything is good now.

    #31058

    Artem Temos
    Keymaster

    Great, you are welcome!

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