Support » Fixing WordPress » register link doesn’t display

  • Resolved jwesseldyke

    (@jwesseldyke)


    Strangest thing is happening with my meta section of my sidebar.php…

    Here’s the relevant snippet:

    <ul>
      <?php wp_register(); ?>
      <li><?php wp_loginout(); ?></li>
      <?php wp_meta(); ?>
    </ul>

    Here’s the problem. The register link doesn’t display for site visitors who aren’t logged in. If I recall correctly, doesn’t the register link display for non-logged in users and not for users who are logged in?

    I’m using a non-widget aware theme, so the sidebar.php is where the meta section goes…

    Am I missing something?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I just wanted to update this thread after I’ve been trying different things to get the register link to work properly.

    When I use the wp_register code, and I’m logged in, it gives me the link to the dashboard and the login/log out link. When I’m logged out, only the login link appears.

    J

    OK…
    Sometimes I’m just not careful enough… Sometimes I’m just plain stupid. In this case, it’s both…

    The reason I was having trouble is because I had not checked “anyone can register”…

    Duh.

    Sometimes I’m such a noob…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘register link doesn’t display’ is closed to new replies.