Forum Replies Created

Viewing 15 replies - 1 through 15 (of 44 total)
  • Can you lead me in the direction where I can find out how to do that? Thank you

    It has just been brought to my attention that it doesn’t work. This is what I have, it shows both on the front end and backend but when I view the resume there is nothing. This is the code I have:

    add_filter( 'submit_resume_form_fields', 'custom_submit_resume_form_fields' );
    function custom_submit_resume_form_fields( $fields ) {
    
    	  $fields['resume_fields']['job_salary'] = array(
    	    'label' => __( 'Are You Willing To Relocate?', 'job_manager' ),
    	    'type' => 'select',
    	    'options' => array(key  => yes,
       		 key2 => no,),
    	    'placeholder' => '',
    	    'description' => '',
    	    'priority' => 999
    	  );
    
        // And return the modified fields
        return $fields;
    }
    
    add_action( 'resume_manager_update_resume_data', 'resume_add_fields_save', 10, 2 );
    function resume_add_fields_save( $resume_id, $values ) {
      update_post_meta( $resume_id, '_job_salary', $values['resume_fields']['job_salary'] );
    
    }
    
    add_filter( 'resume_manager_resume_fields', 'custom_resume_manager_resume_fields' );
    function custom_resume_manager_resume_fields( $fields ) {
      $fields['_job_salary'] = array(
        'label' => __( 'Are You Willing To Relocate?', 'job_manager' ),
       'type' => 'select',
    	    'options' => array(key  => yes,
       		 key2 => no,),
    	    'placeholder' => '',
    	    'description' => '',
    	    'priority' => 999
    	  );
    
      return $fields;
    }

    Please HELP!! Thanks in advance.

    Shows on the front end but nothing on the back end. Using Jobify theme. Please Help!!!

    /*Add Relocate to Resume*/
    add_filter( 'submit_resume_form_fields', 'frontend_add_relocate_field' );
    
    function frontend_add_relocate_field( $fields ) {
      $fields['resume_fields']['relocate'] = array(
    	    'label' => __( 'Are You Willing To Relocate?', 'job_manager' ),
    	    'type' => 'select',
    	    'options' => array(key  => yes,
       		 key2 => no,),
    	    'placeholder' => '',
    	    'description' => '',
    	    'priority' => 999
    	  );
    
        // And return the modified fields
        return $fields;
    }
    
    add_action( 'job_manager_update_resume_data', 'frontend_add_relocate_field_save', 10, 2 );
    
    function frontend_add_relocate_field_save( $job_id, $values ) {
      update_post_meta( $job_id, '_job_relocate', $values['resume']['relocate'] );
    }
    
    add_filter( 'job_manager_resume_listing_data_fields', 'admin_add_relocate_field' );
    
    function admin_add_relocate_field( $fields ) {
      $fields['_resume_relocate'] = array(
        'label' => __( 'Relocate', 'job_manager' ),
        'type' => 'text',
        'placeholder' => '',
        'description' => ''
      );
      return $fields;
    }
    
    add_action( 'single_resume_listing_meta_end', 'display_resume_relocate_data' );

    [Moderator Note: No bumping, thank you.]

    can you tell me how to create a drop-down i would like to have two options “yes” and “no”
    thanks i advance

    I would love the break down on this issue also!

    Thread Starter sueheap

    (@sueheap)

    good to know. I will add that

    Thread Starter sueheap

    (@sueheap)

    its a child theme of jobroller

    Thread Starter sueheap

    (@sueheap)

    Feel like an idiot! It was in the header file..duh

    Thread Starter sueheap

    (@sueheap)

    Yeah I thought so but I was just throwing it out there as the support for the theme I bought is really slow..thanks

    Thread Starter sueheap

    (@sueheap)

    was told it is not a server issue

    Thread Starter sueheap

    (@sueheap)

    I will check..and yes I did deactivate all the plugins.

    Thread Starter sueheap

    (@sueheap)

    no

    Forum: Fixing WordPress
    In reply to: pages
    Thread Starter sueheap

    (@sueheap)

    Its jobroller and it is a nightmare! I found this in the header.php and both read exactly the same:

    <body id="top" <?php
    
    	$classes = '';
    
    	if ( get_option('jr_show_sidebar')=='no' OR is_page_template('home-page.php') OR is_page_template('wide-page.php') OR is_page(8) ) $classes .= 'wider ';
    
    	if (get_option('jr_child_theme')) $classes .= str_replace('.css','',get_option('jr_child_theme')).' ';
    
    	body_class( $classes ); 
    
    	?>>

    Forum: Fixing WordPress
    In reply to: pages
    Thread Starter sueheap

    (@sueheap)

    well they are using the exact same template so I dont know where the “wider style-default” is coming from. I need them to be the same because with the wider page it is throwing the sidebar to the bottom.

    Forum: Fixing WordPress
    In reply to: pages
    Thread Starter sueheap

    (@sueheap)

    and I have already copied and pasted the right on on the wrong ones template. I also deleted the page and recreated..not a plug in issue either. I am beating my head against the wall..UGH

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