Editing wp-job-manager-template.php
-
Hey Mike!
Got everything to work and I entirely forgot that the updates would wipe some settings clean!
I went ahead and updated the mail subject in the wp-job-manager-template.php, is it possible to copy this file and alter it so it overrides the original and I can keep my changes?
If not, can you loan me your expertise on getting the Apply Emails to dynamically fill using the job-application.php file?
Right now my code is –<?php if ( $apply = get_the_job_application_method() ) : wp_enqueue_script( 'wp-job-manager-job-application' ); ?> <br/> <div class="application"> <?php if ( $apply->type == 'email' ) : ?> <a href="mailto:<?php echo $apply->email . '?subject=' . get_post_meta( $post->ID, '_job_jobid', true ); ?> &body=Greetings%21%0A%0AThank%20you%20so%20much%20for%20your%20interest%20in%20working%20with%20Digital%20Staffing%21%0APlease%20attach%20your%20resume%20and%20contact%20information%20to%20this%20email%20before%20you%20send%20it%20so%20we%20know%20a%20little%20bit%20about%20you%21%0A%0AFeel%20free%20to%20replace%20this%20text%20with%20a%20cover%20letter%20or%20message%20to%20the%20recruiter%21%0A%0AThank%20you%20again%21%0A%0ADigital%20Staffing%0A%0A" class="jbapplybutton" target="_blank">Apply via Email!</a> <?php endif; ?> <div class="application_details"> <?php if ( $apply->type == 'email' ) : ?> <a href="mailto:<?php echo $apply->email . '?subject=' . rawurlencode( $apply->subject ); ?>" class="jbapplybutton" target="_blank">Apply via Email!</a> <?php endif; ?> </div> </div> <br/> <?php endif; ?>Which is working quite fantastically minus of course my subject line being not what I wanted!
Thank you!!!
The topic ‘Editing wp-job-manager-template.php’ is closed to new replies.