Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of Dj Kad
    Dj Kad
    Participant

    @dj-kad

    In my case i’ve found that mails were sent but classified as spam.
    Unfortunatelly some mail servers are blacklisted by some ISP for spamming reasons.
    I’m looking for solve this problem because people that want to register in my site are unable to receive properly the activation code sent by email.
    For now i change the output message shown in the registration process, alerting people to check into the spam folder, but hope to solve it in a better way

    Avatar of Dj Kad
    Dj Kad
    Participant

    @dj-kad

    I made this: Add this code at the end of functions.php file included in your theme.
    It adds “Login – Register” or “Logout” buttons to your nav menu:
    `
    add_filter(‘wp_nav_menu_items’,'add_login_buttons’);
    function add_login_buttons ($nav){
    if ( is_user_logged_in() ) {
    return $nav.”

  • Exit
  • “;
    }
    else {
    return $nav.”

  • Login
  • Sign Up
  • “;
    }
    }
    `

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