• Im using the “meta” widget in a sidebar. I want to know if theres a way to edit the things it shows? I only want the register and log in/log out functions to appear and none of the rest of the stuff.

    If it cant be edited is there a workaround to have just those things appear? Maybe a text widget with html code of somesort? ( im not sure what the code would be for these 3 options )

Viewing 2 replies - 1 through 2 (of 2 total)
  • I did something like this using a text widget with HTML code. There might be a better way, but if there is, I don’t know it.

    The code might look something like this:

    <ul>
    <li><a href="wp-login.php?action=register">Register</a></li>
    <li><a href="wp-login.php?action=logout">Login</a></li>
    <li><a href="wp-login.php">Logout</a></li>
    </ul>

    Since it is just HTML, it can’t detect if the user is already logged in and, if so, display only the logout link.

    Thread Starter ernieb

    (@ernieb)

    that code didnt work for me

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

The topic ‘Need help with widget’ is closed to new replies.