Results 1 to 5 of 5

Thread: How Do I Turn Off the Apply Now Button For Anyone But Job Seekers?

  1. #1
    Thread Starter
    Expired Customer dannypopovic's Avatar
    Join Date
    Jun 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile How Do I Turn Off the Apply Now Button For Anyone But Job Seekers?

    Hi there.

    I'm trying to get the "Apply now" button to only show if the user is a job-seeker. As it is now, anyone who is logged in can apply - even job listers..

    PHP Code:
    <?php 

        
    if ( is_user_logged_in() ) { ?>
    <li class="apply"><a href="#apply_form" class="apply_online"><?php _e('Søk Online','appthemes'); ?></a></li>
            <?php } else { ?>
    <li class="apply"><a href="<?php echo wp_login_urlget_permalink() ); ?>" >Logg inn/Registrer for å søke</a></li>
    <?php ?>
    <?php 
    endif; ?>
    The else statement simply redirects anyone who is not logged in to the login page, but I haven't figured out how to display the button only for job seekers...

  2. #2
    spartac's Avatar
    Join Date
    May 2011
    Posts
    7,171
    Thanks
    75
    Thanked 830 Times in 808 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need high-quality content for your Website? For a significantly reduced price? Try aicontently.com






    We answer the questions in threads as fast as the private messages, So do not send support questions via private message. Use the forum instead and open a new thread for every issue.
    Before you send any PM , Please read These rules .

  3. #3
    Thread Starter
    Expired Customer dannypopovic's Avatar
    Join Date
    Jun 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    spartac's Avatar
    Join Date
    May 2011
    Posts
    7,171
    Thanks
    75
    Thanked 830 Times in 808 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need high-quality content for your Website? For a significantly reduced price? Try aicontently.com






    We answer the questions in threads as fast as the private messages, So do not send support questions via private message. Use the forum instead and open a new thread for every issue.
    Before you send any PM , Please read These rules .

  5. #5
    Senior Member seolution's Avatar
    Join Date
    Apr 2012
    Location
    Poland
    Posts
    142
    Thanks
    1
    Thanked 3 Times in 3 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. Apply with LinkedIn Button - FXtender
    By tbase in forum JobRoller General Discussion
    Replies: 4
    Last Post: May 2nd, 2012, 04:58 PM
  2. How to apply only visible to registered job seekers
    By coza in forum JobRoller General Discussion
    Replies: 6
    Last Post: August 31st, 2011, 07:40 PM
  3. Expired Jobs Action Button & Apply Button Problems
    By pumapunku in forum Report JobRoller Bugs
    Replies: 3
    Last Post: July 26th, 2011, 08:07 PM
  4. How to turn off Apply Online?
    By jasonyormark in forum Report JobRoller Bugs
    Replies: 10
    Last Post: February 11th, 2011, 01:28 PM