GD Demo Log out replication

This topic contains 5 replies, has 3 voices, and was last updated by  pix3x 9 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #38659

    pix3x
    Expired Member
    Post count: 155

    Hello! Could you please advise how to replicate the Log Out button in the main menu next to the Location switch on your demo site?

    #38662

    Simone
    Expired Member
    Post count: 3515

    Hello, this comes from Buddypress, once you install it, you’ll see the button in the Menu section (In appearances-Menu) see attach

    #38665

    Paolo
    Site Admin
    Post count: 31206
    #38684

    pix3x
    Expired Member
    Post count: 155

    Thanks, but is there any simple way to have register/login/logout links besides the buddypress plugin and complex hooks? Maybe you can recommend a simple login widget that can be inserted in the Avada top menu?

    #38714

    Paolo
    Site Admin
    Post count: 31206

    What complex hook?

    it’s 1 line of code added to your theme functions.php

    add_filter( 'wp_nav_menu_items', 'add_loginout_link', 9999, 2 );

    It doesn’t get simpler than this. Actually simpler that adding a plugin…

    Thanks

    p.s. this is the support forum for GeoDirectory, not for general WordPress support. If you need help with WordPress related things like this, they have an incredible support forum: https://wordpress.org/support/

    #38719

    pix3x
    Expired Member
    Post count: 155

    Thank you, I highly appreciate your help.

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket