ioto
Forum Replies Created
-
Thanks for the heads up – will give it a go.
My concern is the salary custom field is not a li class like location is, how would be the best way to query the custom salary field?
Forum: Plugins
In reply to: [WP Job Manager] Need to add a manual job id to each jobResolved by combining the function but with unqiue field names in place of salary for the new field.
Forum: Plugins
In reply to: [WP Job Manager] want to add fieldsThanks Mike for the correction π All is now great again.
Is there an easy way of getting this custom field also displayed on the job listings area before location field?
Forum: Plugins
In reply to: [WP Job Manager] want to add fieldsdoh!
Will update.
Forum: Plugins
In reply to: [WP Job Manager] Need to add a manual job id to each jobHi mike – i know about the ID’s. i need to add a faux id field if you like so that the candidate can see an ID to quote. I tried the salary snippet but no joy – does not print on the post page. I used unique names. Your advice would be most welcomed.
Forum: Plugins
In reply to: [WP Job Manager] want to add fieldsForum: Plugins
In reply to: [WP Job Manager] want to add fieldsIn this instance the job on the front end. I can see the fields in the admin. Hope that helps.
Forum: Plugins
In reply to: [WP Job Manager] want to add fieldsHi Steve i get the same issue. I followed the instructions to the letter. I get the admin fields. Perfect! However they just wont display on the actual front end.
Any assistance would be great.
Here is the code i entered:
add_filter( 'job_manager_job_listing_data_fields', 'admin_add_job_code_field' ); function admin_add_job_code_field( $fields ) { $fields['_job_code'] = array( 'label' => __( 'Code', 'job_manager' ), 'type' => 'text', 'placeholder' => '', 'description' => '' ); return $fields; } add_action( 'single_job_listing_meta_end', 'display_job_code_data' ); function display_job_code_data() { global $post; $salary = get_post_meta( $post->ID, '_job_code', true ); if ( $code ) { echo '<li>' . __( 'code:' ) . ' ' . $job_code . '</li>'; } } add_filter( 'submit_job_form_fields', 'frontend_add_job_code_field' ); function frontend_add_job_code_field( $fields ) { $fields['job']['job_code'] = array( 'label' => __( 'Code', 'job_manager' ), 'type' => 'text', 'required' => true, 'placeholder' => '', 'priority' => 6 ); return $fields; } add_action( 'job_manager_update_job_data', 'frontend_add_job_code_field_save', 10, 2 ); function frontend_add_job_code_field_save( $job_id, $values ) { update_post_meta( $job_id, '_job_code', $values['job']['job_code'] ); }Forum: Fixing WordPress
In reply to: URL changed – now its all deadRESOLVED!
Forum: Fixing WordPress
In reply to: URL changed – now its all deadThanks lee for your help π all sorted now. http://www.3four.co.uk
Forum: Fixing WordPress
In reply to: URL changed – now its all deadWahoo π Thanks Marko. Sorted – many thanks. Now understand how that feature works.
Forum: Fixing WordPress
In reply to: URL changed – now its all deadHi Marko – will try that thanks. However which level folder do i point at?
is it the root of the installation or a sub folder such as wp-content, etc.