Title: Apply Button
Last modified: August 21, 2016

---

# Apply Button

 *  Resolved [uklightpainter](https://wordpress.org/support/users/uklightpainter/)
 * (@uklightpainter)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/apply-button/)
 * Hi Mike,
 * Cheers for all your help.
 * I’m trying to get the Apply button to just be a button, do you know the code (
   or field that should be called) that I should be putting into a link.
 * I’ve tried the workarounds elsewhere on this forum, but I’ve removed the
    `<div
   class="application_details">` as I don’t want anything popping up, just a button
   to link (rather than displaying a pop up).
 * Hope you can help as I need to do something with this today if possible.
 * Thanks every so much
 * [https://wordpress.org/plugins/wp-job-manager/](https://wordpress.org/plugins/wp-job-manager/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/apply-button/#post-4860769)
 * This is the template file you’ll want to edit/override: [https://github.com/mikejolley/WP-Job-Manager/blob/master/templates/job-application.php](https://github.com/mikejolley/WP-Job-Manager/blob/master/templates/job-application.php)
 * After:
 *     ```
       <div class="application">
       ```
   
 * I’d put something like:
 *     ```
       <?php if ( $apply->type == 'url' ) : ?>
       <a href="<?php echo $apply->url; ?>">Apply</a>
       <?php else : ?>
       ```
   
 * Then before the final `</div>` add an `<?php endif; ?>`
 *  [kkan](https://wordpress.org/support/users/kkan/)
 * (@kkan)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/apply-button/#post-4860929)
 * Hi Mike,
 *     ```
       <div class="application">
   
       		<?php if ( $apply->type == 'url' ) : ?>
       <a href="<?php echo $apply->url; ?>">Apply</a>
       <?php else : ?>
       <?php endif; ?>
   
       	</div>
       ```
   
 * The code above creates a hyperlink to the url, but I’d like the url embedded 
   in an explicit button so that when the user clicks the button, a website corresponding
   to the url will pop up in a new tab. Can you advise on how to achieve this, please?
 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/apply-button/#post-4860930)
 * Then style it like a button (maybe just add class=”button” if your theme has 
   styles for that), and add target=”_blank” to make it open in a new window.
 *  [kkan](https://wordpress.org/support/users/kkan/)
 * (@kkan)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/apply-button/#post-4860931)
 * Do you mean this?
 *     ```
       <div class="application">
   
       		<?php if ( $apply->type == 'url' ) : ?>
       <a href="<?php echo $apply->url; ?>" class="button" target="_blank"> Apply </a>
       <?php else : ?>
       <?php endif; ?>
   
       	</div>
       ```
   
 * The button still doesn’t show up……
 *  Plugin Author [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/apply-button/#post-4860932)
 * Can you show me a screenshot of what you are seeing?
 * Also, there is a better gist here: [https://gist.github.com/mikejolley/99fef2c01d29cfa3837c#file-gistfile1-txt](https://gist.github.com/mikejolley/99fef2c01d29cfa3837c#file-gistfile1-txt)
   Thats from this doc: [https://wpjobmanager.com/document/customising-job-application-process/](https://wpjobmanager.com/document/customising-job-application-process/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Apply Button’ is closed to new replies.

 * ![](https://ps.w.org/wp-job-manager/assets/icon-256x256.gif?rev=2975257)
 * [WP Job Manager](https://wordpress.org/plugins/wp-job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-manager/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/apply-button/#post-4860932)
 * Status: resolved