Results 1 to 4 of 4

Thread: Jobroller: Login Page redirect

  1. #1
    Thread Starter
    yourpoc's Avatar
    Join Date
    Aug 2012
    Location
    Dallas, TX
    Posts
    185
    Thanks
    46
    Thanked 6 Times in 6 Posts

    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?

  2. #2
    trude76's Avatar
    Join Date
    Dec 2012
    Location
    Leipzig, Germany
    Posts
    785
    Thanks
    1
    Thanked 61 Times in 57 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    yourpoc's Avatar
    Join Date
    Aug 2012
    Location
    Dallas, TX
    Posts
    185
    Thanks
    46
    Thanked 6 Times in 6 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    trude76's Avatar
    Join Date
    Dec 2012
    Location
    Leipzig, Germany
    Posts
    785
    Thanks
    1
    Thanked 61 Times in 57 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to undo the 'redirect to front page' after wp login (Vantage)
    By seofoxx in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: June 27th, 2013, 12:06 PM
  2. redirect to current ad page after login
    By t1rnanog in forum ClassiPress General Discussion
    Replies: 1
    Last Post: February 12th, 2013, 09:57 AM
  3. Redirect to Previous Page After Login or Register
    By drabello in forum ClassiPress General Discussion
    Replies: 3
    Last Post: September 25th, 2012, 05:46 AM
  4. wp-login redirect after changing setting in jobroller...
    By kylemorman in forum Help Using JobRoller
    Replies: 1
    Last Post: June 21st, 2012, 09:33 PM
  5. Post an Ad redirect me to Login Page
    By crea8s in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: February 9th, 2012, 07:35 AM