Viewing 3 replies - 1 through 3 (of 3 total)
  • The job-application.php template customization included on the page that @stevenmayjr linked to above does work for me (clicking on the “Apply for Job” button, which isn’t broken on mine, results in immediately being taken to the URL entered or opens an email client, if possible, when it’s an email address).

    For sake of clarity, does your customization of the job-application.php template look like mine (below), and do you have the template added to a folder titled job_manager in your child theme’s folder?

    <?php
    /**
     * Show job application when viewing a single job listing.
     *
     * This template can be overridden by copying it to yourtheme/job_manager/job-application.php.
     *
     * @see         https://wpjobmanager.com/document/template-overrides/
     * @author      Automattic
     * @package     wp-job-manager
     * @category    Template
     * @version     1.31.1
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly.
    }
    ?>
    <?php if ( $apply = get_the_job_application_method() ) :
    	if ( $apply->type === 'url' ) {
    	    $application_href = $apply->url;
    	} elseif ( $apply->type === 'email' ) {
    	    $application_href = sprintf( 'mailto:%1$s%2$s', $apply->email, '?subject=' . rawurlencode( $apply->subject )  );
    	}
    	?>
    	<div class="application">
    		<a class="application_button button" href="<?php echo $application_href; ?>"><?php _e( 'Apply for job', 'wp-job-manager' ); ?></a>
    	</div>
    <?php endif; ?>
    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @stevenmayjr

    When I click on the “Apply Online” button in your example, a new window opens with the application URL. Are you continuing to have problems or were you able to get this fixed?

    Let us know.

    Plugin Support Jay

    (@bluejay77)

    Hi there,

    It has been a while since we have heard from you, so I’m marking this topic as resolved.

    But if you have any further questions or need some more help, you’re welcome to reply here or open another thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Open Apply URL Directly Without Instructions’ is closed to new replies.