Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #873073
    #873970

    Hey Timo,

    Thank you for using Enfold.

    I checked the site and the link is clickable. Is this fixed?

    Best regards,
    Ismael

    #874141

    Hi Ismael,

    I undid the update to 4.2 cause of the problem. It’s still 4.1.2.

    Thank you

    Timo

    #874477

    Hi,

    I see. Please update to version 4.2 so that we can inspect the issue. Or create a staging/dev site.

    Best regards,
    Ismael

    #874595

    Hi Ismael, you can find all information in private content. It’s now 4.2. Thanks for your help!
    Timo

    #874716

    Hi Timo,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #874721

    Hi Victoria,

    yes of course.

    #875031

    Hi,

    Thank you for the info.

    You need to add a class attribute to the menu item. Replace the filter with the following code.

    add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2);
    function add_login_logout_link($items, $args) {
    if( $args->theme_location == 'avia' ) {
        ob_start();
        wp_loginout('index.php');
        $loginoutlink = ob_get_contents();
        ob_end_clean();
        $items .= '<li class="menu-item">'. $loginoutlink .'</li>';
    }
    return $items;
    }

    Best regards,
    Ismael

    #875119

    Yes, perfect! Thank you so much guys!

    #875711

    Hi Timo,

    Glad we got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.