• Resolved Livingstone

    (@livingstone)


    Toggle url application and email application. Or simply disable online application button and show application url instead. Some jobs need an email application and others use url application. How to we enforce this.e.g. If application fields have url as an application method, then then online application button should be hidden. And if form fields contains an email application (online), then url for application should be hidden. Or simply the user can togle and choose either url or email (online)

    You find users using email yet you wanted then to go straight to the application url

    The snippet below you provided in your documentation breaks the site:

    <?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”>
    “><?php _e( ‘Apply for job’, ‘wp-job-manager’ ); ?>
    </div>
    <?php endif; ?>

    • This topic was modified 5 years, 1 month ago by Livingstone.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Livingstone

    (@livingstone)

    Halo good people. I am writing to follow on this

    Thread Starter Livingstone

    (@livingstone)

    No response. Sad!

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi!

    I’m not sure I follow the problem.

    How to we enforce this.e.g. If application fields have url as an application method, then then online application button should be hidden. And if form fields contains an email application (online), then url for application should be hidden.

    Are you using the Applications add-on as well? If so, then contact us here for further support:

    https://wpjobmanager.com/support/

    Otherwise, if you’re just using the base WP Job Manager plugin,then the “Apply for job” button should only supply the email address of URL to the applicant, depending on what was entered in the job listing details. So, I’m not sure what the problem is here, sorry!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Url and email application’ is closed to new replies.