Installed widgets and activated the meta menu. I get login/logout working and admin menu, but the <?php wp_register(); ?> does not show the signup link to not registered users.
Any fix around this?
thank you
Simon
Installed widgets and activated the meta menu. I get login/logout working and admin menu, but the <?php wp_register(); ?> does not show the signup link to not registered users.
Any fix around this?
thank you
Simon
The wp_register hook is for blog readers to sign up as users to a particular blog. It's also present in the standard WP.
You have to put in a manual link to the signup page.
Ok i put a manual link with a condition to show ONLY if not registered:
<?php global $user_level ;
get_currentuserinfo();
if ('' == $user_level) {
echo 'link-to-signup-php-here';
}
?>
Hope someone finds it useful :)
thank you
nada
Hey This is perfect but where do I place the code Zimen to have it show up on all my blogs in my WPMU install?
Just thought I would answer the last question and add to Zimen's previous solution !! Add the following code to the sidebar.php (or alternate sidebar file) in your theme folder.
~~~~~
<?php global $user_level;get_currentuserinfo();
if ('' == $user_level) {
?><li>
<a href="wp-login.php?action=register">
Register</a></li><?php } ?>
~~~~~