ajay25
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to kill wordpress processHi,
Thank you for the reply. Please suggest me whether there is any plugin which can tell me which plugin is eating up all the the RAM.
Forum: Plugins
In reply to: [WP Job Manager] Please help in adding experience fieldRequest you to also help me on how to add this in the search form. So that when a user searches for the jobs using the keywords, location, category and experience. Relevant jobs will be shown.
Forum: Plugins
In reply to: [WP Job Manager] Please help in adding experience fieldThe correct code is as mentioned below. I tried it and it’s working fine. Hope this code could be helpful to someone else who is looking for adding experience in the job posting form.
//To add salary in job posting page add_filter( 'submit_job_form_fields', 'frontend_add_experience_field' ); function frontend_add_experience_field( $fields ) { $fields['job']['job_experience'] = array( 'label' => __( 'Experience', 'job_manager' ), 'type' => 'select', 'options' => array( 'fresher' => 'Fresher', '0 to 1 years' => '0 to 1 years', '1 to 2 years' => '1 to 2 years', '2 to 4 years' => '2 to 4 years', '4 to 6 years' => '4 to 6 years', '6 to 8 years' => '6 to 8 years', '8 to 10 years' => '8 to 10 years', '10 to 12 years' => '10 to 12 years', '12+ years' => '12+ years', ), 'required' => true, 'placeholder' => '', 'priority' => 8 ); return $fields; //add the field to admin add_filter( 'job_manager_job_listing_data_fields', 'admin_add_experience_field' ); function admin_add_experience_field( $fields ) { $fields['job_experience'] = array( 'label' => __( 'experience', 'job_manage_experience' ), 'type' => 'select', 'options' => array( 'fresher' => 'Fresher', '0 to 1 years' => '0 to 1 years', '1 to 2 years' => '1 to 2 years', '2 to 4 years' => '2 to 4 years', '4 to 6 years' => '4 to 6 years', '6 to 8 years' => '6 to 8 years', '8 to 10 years' => '8 to 10 years', '10 to 12 years' => '10 to 12 years', '12+ years' => '12+ years', 'none' => 'None', ), 'placeholder' => '', 'description' => '' ); return $fields; } } // Display "experience" on single job page add_action( 'single_job_listing_meta_end', 'display_job_experience_data' ); function display_job_experience_data() { global $post; $experience = get_post_meta( $post->ID, '_job_experience', true ); if ( $experience ) { echo ' <li>' . __( 'Experience:' ) . ' ' . $experience . '</li> '; } }
Forum: Plugins
In reply to: [WP Job Manager] Please help in adding experience fieldHi,
I tried this code in functions.php from my dashboard. After updating the sheet there was no change in the job posting page.
Please suggest
Forum: Plugins
In reply to: [WP Job Manager] Please help in adding experience fieldHi Mike,
As per your suggestion, have corrected the code. Please check and confirm so that I’ll use it in functions.php in my current themes folder.
// For Jobs Section add_filter( 'submit_experience_form_fields', 'frontend_add_experience_field' ); function frontend_add_experience_field( $fields ) { $fields['experience']['job_experience'] = array( 'label' => __( 'experience', 'job_manage_experience' ), 'type' => 'select', 'options' => array( 'fresher' => 'Fresher', '0 to 1 years' => '0 to 1 years', '1 to 2 years' => '1 to 2 years', '2 to 4 years' => '2 to 4 years', '4 to 6 years' => '4 to 6 years', '6 to 8 years' => '6 to 8 years', '8 to 10 years' => '8 to 10 years', '10 to 12 years' => '10 to 12 years', '12+ years' => '12+ years', 'none' => 'None', ), 'required' => true, 'placeholder' => '', 'priority' => 7 ); return $fields; } //add the field to admin add_filter( 'job_manager_experience_listing_data_fields', 'admin_add_experience_field' ); function admin_add_experience_field( $fields ) { $fields['job_experience'] = array( 'label' => __( 'experience', 'job_manage_experience' ), 'type' => 'select', 'options' => array( 'fresher' => 'Fresher', '0 to 1 years' => '0 to 1 years', '1 to 2 years' => '1 to 2 years', '2 to 4 years' => '2 to 4 years', '4 to 6 years' => '4 to 6 years', '6 to 8 years' => '6 to 8 years', '8 to 10 years' => '8 to 10 years', '10 to 12 years' => '10 to 12 years', '12+ years' => '12+ years', 'none' => 'None', ), 'placeholder' => '', 'description' => '' ); return $fields; } // Display "experience" on single job page add_action( 'single_job_experience_meta_end', 'display_job_experience_data' ); function display_job_experience_data() { global $post; $experience = get_post_meta( $post->ID, '_job_experience', true ); if ( $experience ) { echo ' <li>' . __( 'Experience:' ) . ' ' . $experience . '</li> '; } }
Forum: Plugins
In reply to: [WP Job Manager] Please help in adding experience fieldHi,
Should I use this in the “job section” and “add the field to admin”.
Also, I wish to purchase the application form addon. I have sent an message through the contact us page. Can you please look into it and help me with the purchase.
Forum: Plugins
In reply to: [WP Job Manager] Please help in adding experience fieldHi Mike,
Please find the code that I have written by editing the code for the salary field. I know it is wrong but as php knowledge is NIL I couldn’t write it exactly.
// For Jobs Section add_filter( 'submit_experience_form_fields', 'frontend_add_experience_field' ); function frontend_add_experience_field( $fields ) { $fields['experience']['job_experience'] = array( 'label' => __( 'experience', 'job_manage_experience' ), 'type' => 'dropdown', 'required' => true, 'placeholder' => '', 'priority' => 7 ); return $fields; } //add the field to admin add_filter( 'job_manager_experience_listing_data_fields', 'admin_add_experience_field' ); function admin_add_experience_field( $fields ) { $fields['job_experience'] = array( 'label' => __( 'experience', 'job_manage_experience' ), 'type' => 'dropdown', 'placeholder' => '', 'description' => '' ); return $fields; } // Display "experience" on single job page add_action( 'single_job_experience_meta_end', 'display_job_experience_data' ); function display_job_experience_data() { global $post; $experience = get_post_meta( $post->ID, '_job_experience', true ); if ( $experience ) { echo ' <li>' . __( 'Experience:' ) . ' ' . $experience . '</li> '; } }
Forum: Networking WordPress
In reply to: CSS / .htaccess file not working properlyHi,
Checked with godaddy and they have confirmed that rewrite_mod is enabled.
As per your suggestion, I tried deactivating all the plugins but still the look and feel of the website is the same.
Forum: Networking WordPress
In reply to: CSS / .htaccess file not working properlyHi,
Thank you for your suggestion, request you to let me know how to check this.
I am using godaddy hosting server (linux)
Forum: Fixing WordPress
In reply to: Multiple site loginsHi,
So any solution for having the same database for users to register and login for multiple sites using wordpress…..other than asking users to login using their fb account
Forum: Fixing WordPress
In reply to: Multiple site loginsHi,
Thank you for your reply, however I was going through the posts and have found some plugins like multisite plugin but couldn’t find the link to download this.