Again, on my crusade to prove to the world that Wordpress is much more than “just for bloggers”. I am developing a site that needs to have private pages and I was advised to use Joomla. Well, having used my share of Joomla, I wanted to give it a go with Wordpress.
I found a thread on the Wordpress forums that explains how to make a page hidden using Role Manager and a template for hidden pages. You will have to read it yourself, I am mostly posting it here so I can always find it.
One thing I will say is that the login form does not work. I modified the code so that it works for me, I think it was redirecting wrong.
<form name="loginform" id="loginform" action="<?php bloginfo('url'); ?>/wp-login.php" method="post"> <label>Username</label>
<input name="log" id="user_login" class="input" size="20" tabindex="10" type="text" /> <label>Password</label>
<input name="pwd" id="user_pass" class="input" size="20" tabindex="20" type="password" />
<p class="forgetmenot"><label>
<input name="rememberme" id="rememberme" value="forever" tabindex="90" type="checkbox" /> Remember Me</label>
<p class="submit"> <input name="wp-submit" id="wp-submit" value="Log In" tabindex="100" type="submit" /> <input name="redirect_to" value="<?php bloginfo('url'); ?>" type="hidden" /></p>
<input name="testcookie" value="1" type="hidden" /> </form>