Jobroller: Login Page redirect
Have one small issue I need help with.
If members are logged in already I would like to redirect them to the blog page. Meaning so members do not log out which is fine, but my homepage is also my login so if a member is logged in already I would like them to be directed to the blog page.
Something like this:
Code:
<?php
if ( is_user_logged_in() ) {
echo 'Welcome, registered user!';
} else {
echo 'Welcome, visitor!';
}
?>
How can I write this to redirect users to a certain page?