Forum Replies Created

Viewing 15 replies - 1 through 15 (of 40 total)
  • Forum: Plugins
    In reply to: [Redirection] Export

    you sure can! go to:

    Tools > Redirection > Modules > then hover over the Name > click RSS | .htaccess | CSV

    Thread Starter pawprintexample

    (@pawprintexample)

    ah i figured it out..

    Thread Starter pawprintexample

    (@pawprintexample)

    Sorry im still not sure how to do this :/

    Thread Starter pawprintexample

    (@pawprintexample)

    How would I tie the jobs to the new 404 page template?

    Thread Starter pawprintexample

    (@pawprintexample)

    I have and it does support categories just ones actually created for posts. It doesnt show plug in post categories

    Thread Starter pawprintexample

    (@pawprintexample)

    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

    Thread Starter pawprintexample

    (@pawprintexample)

    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.

    Thread Starter pawprintexample

    (@pawprintexample)

    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!!!!!

    Thread Starter pawprintexample

    (@pawprintexample)

    Something isn’t quite right.. missing a character somewhere… hmmm

    Thread Starter pawprintexample

    (@pawprintexample)

    You never cease to amaze me mike thank you!

    Thread Starter pawprintexample

    (@pawprintexample)

    I know it’s get post meta something then the title is echo post I think

    Thread Starter pawprintexample

    (@pawprintexample)

    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.

    Thread Starter pawprintexample

    (@pawprintexample)

    The first is from the template I shouldn’t be editing

    Just need to figure out how to edit the right file

    Thread Starter pawprintexample

    (@pawprintexample)

    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>
    Thread Starter pawprintexample

    (@pawprintexample)

    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 = 'https://' . $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)