Title: pawprintexample's Replies | WordPress.org

---

# pawprintexample

  [  ](https://wordpress.org/support/users/pawprintexample/)

 *   [Profile](https://wordpress.org/support/users/pawprintexample/)
 *   [Topics Started](https://wordpress.org/support/users/pawprintexample/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pawprintexample/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pawprintexample/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pawprintexample/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pawprintexample/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pawprintexample/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 40 total)

1 [2](https://wordpress.org/support/users/pawprintexample/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/pawprintexample/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/pawprintexample/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] Export](https://wordpress.org/support/topic/export-27/)
 *  [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/export-27/#post-6313755)
 * you sure can! go to:
 * Tools > Redirection > Modules > then hover over the Name > click RSS | .htaccess
   | CSV
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Rambo] How to change colours from red to blue?](https://wordpress.org/support/topic/how-to-change-colours-from-red-to-blue/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-change-colours-from-red-to-blue/#post-5863461)
 * ah i figured it out..
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Redirect if Job is Deleted/Expired/Filled](https://wordpress.org/support/topic/redirect-if-job-is-deletedexpiredfilled/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/redirect-if-job-is-deletedexpiredfilled/#post-5224471)
 * Sorry im still not sure how to do this :/
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Redirect if Job is Deleted/Expired/Filled](https://wordpress.org/support/topic/redirect-if-job-is-deletedexpiredfilled/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/redirect-if-job-is-deletedexpiredfilled/#post-5224448)
 * How would I tie the jobs to the new 404 page template?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BNE Testimonials] Expiration Date on certain category](https://wordpress.org/support/topic/expiration-date-on-certain-category/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/expiration-date-on-certain-category/#post-4950927)
 * I have and it does support categories just ones actually created for posts. It
   doesnt show plug in post categories
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Editing wp-job-manager-template.php](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/page/2/#post-4946797)
 * Oh my goodness, i cant believe i figured it out!
 * I am SO PROUD OF MYSELF and i could NOT have done it without you!!!
    The code
   has to be on the page you want the button to be on, so i put mine in my single
   job listing template file
 *     ```
       <?php if ( $apply = get_the_job_application_method() ) :
       	wp_enqueue_script( 'wp-job-manager-job-application' );
       	?>
   
       <br/>
   
       	<div class="application2">
       		<?php if ( $apply->type == 'email' ) : ?>
       				<a href="mailto:<?php echo $apply->email . '?subject=New Resume Submittal for ' . get_post_meta( $post->ID, '_job_jobid', true ) . ' / ' . $post->post_title ; ?>&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; ?>
       ```
   
 * Now i just need to figure out how to call it from the other template file 🙂 
   Gosh I love this
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Editing wp-job-manager-template.php](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/page/2/#post-4946794)
 * hmmm it was working, then i went to edit the other Apply Button i had in the 
   single job listing template
 *     ```
       <div class="application">
       		<?php if ( $apply->type == 'email' ) : ?>
       				<a href="mailto:<?php echo $apply->email;?>?subject=<?php printf( "New Resume Submittal for %s / "%s", get_post_meta( $post->ID, '_job_jobid', true ), $post->post_title" ); ?>&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>
       ```
   
 * So i have this in the job application file – it shows a cute little smiley face
   in place of code.. it’s not liking the %s & “%s” but idk why… has to be something
   other than the missing quotation mark from your code.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Editing wp-job-manager-template.php](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/page/2/#post-4946793)
 * Found it!
 *     ```
       <?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=<?php printf( "New Resume Submittal for %s / "%s", get_post_meta( $post->ID, '_job_jobid', true ), $post->post_title"  ); ?> &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=<?php printf( "New Resume Submittal for %s / "%s", get_post_meta( $post->ID, '_job_jobid', true ), $post->post_title"  ); ?> &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>
       	</div>
       <br/>
   
       <?php endif; ?>
       ```
   
 * THANK YOU THANK YOU THANK YOU!!!!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Editing wp-job-manager-template.php](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/page/2/#post-4946792)
 * Something isn’t quite right.. missing a character somewhere… hmmm
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Editing wp-job-manager-template.php](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/#post-4946789)
 * You never cease to amaze me mike thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Editing wp-job-manager-template.php](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/#post-4946787)
 * I know it’s get post meta something then the title is echo post I think
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Editing wp-job-manager-template.php](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/#post-4946786)
 * That one pulls the subject from the main template file I just need to figure 
   out how to edit the code to get the right subject string.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Editing wp-job-manager-template.php](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/#post-4946784)
 * The first is from the template I shouldn’t be editing
 * Just need to figure out how to edit the right file
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Editing wp-job-manager-template.php](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/#post-4946781)
 * Okay so I copied the wp-job-manager-template.php to my theme folder but the changes
   didnt seem to stick – can we only overwrite files in the templates folder?
 * I think i see what you mean, here is where i’m stuck, in my job-application.php
   template file, i have the subject pulling from the original template file – how
   do I alter the subject in the template file to reflect the changes I need? The
   filter doesnt allow me to dynamically fill anything :/
 * `( 'New Resume Submittal for %s / "%s"', 'wp-job-manager' ), $post->_job_jobid,
   $post->post_title ) )`
 * would produce
 * New Resume Submittal from Job ID 1234 / Testing Job Title
 * Thank you thank you thank you again!! Here is the code I have in my template 
   file:
 *     ```
       <div class="application2">
       		<?php if ( $apply->type == 'email' ) : ?>
       				<a href="mailto:<?php echo $apply->email . '?subject=' . rawurlencode( $apply->subject ); ?> &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>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Editing wp-job-manager-template.php](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/)
 *  Thread Starter [pawprintexample](https://wordpress.org/support/users/pawprintexample/)
 * (@pawprintexample)
 * [12 years ago](https://wordpress.org/support/topic/editing-wp-job-manager-templatephp/#post-4946767)
 * In the wp-job-manager-template.php, i want to utilize this function:
 *     ```
       /**
        * get_the_job_application_method function.
        *
        * @access public
        * @param mixed $post (default: null)
        * @return object
        */
       function get_the_job_application_method( $post = null ) {
       	$post = get_post( $post );
       	if ( $post->post_type !== 'job_listing' )
       		return;
   
       	$method = new stdClass();
       	$apply  = $post->_application;
   
       	if ( empty( $apply ) )
       		return false;
   
       	if ( strstr( $apply, '@' ) && is_email( $apply ) ) {
       		$method->type      = 'email';
       		$method->raw_email = $apply;
       		$method->email     = antispambot( $apply );
       		$method->subject   = apply_filters( 'job_manager_application_email_subject', sprintf( __( 'New Resume Submittal for %s / "%s"', 'wp-job-manager' ), $post->_job_jobid, $post->post_title ) );
       	} else {
       		if ( strpos( $apply, 'http' ) !== 0 )
       			$apply = 'http://' . $apply;
       		$method->type = 'url';
       		$method->url  = $apply;
       	}
   
       	return apply_filters( 'the_job_application_method', $method, $post );
       }
       ```
   
 * The above filter provides me a subject similar to:
    New Resume Submittal for 
   CUSTOM_JOB_ID / “JOB_TITLE”
 * I really want to take PHP classes to learn how to do this on my own (is that 
   what I need? PHP classes??)
 * I have the application code in two different places, content-single-job-listing.
   php, and job-application.php, both in my theme folder copied from the plugin 
   folder – they work perfectly!
 *     ```
       <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>
       ```
   
 * I need to get that function to apply for both if i copy it short of having to
   overwrite the updated file with the entire custom wp-job-manager-template.php
 * I thank you so much for any help you can provide!!

Viewing 15 replies - 1 through 15 (of 40 total)

1 [2](https://wordpress.org/support/users/pawprintexample/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/pawprintexample/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/pawprintexample/replies/page/2/?output_format=md)