bflow
Forum Replies Created
-
yeah that would be so awesome!
Forum: Plugins
In reply to: [WP Job Manager] Only 10 Jobs in RSS Feedalright I found the solution:
I entered the following:
https://www.mysite.at/feed/?post_type=job_listing&posts_per_page=50Forum: Plugins
In reply to: [WP Job Manager] Internet Explorer – can't submit jobsthanks for your fast answer.
It was an error on my part. I set the company details display: none; and imported automatically some text to the company_tagline field from another user meta field. And that text was in some cases too long…so everything ok and thanks!
Forum: Plugins
In reply to: [WP Job Manager] Job Type orderthanks alot!
Also this Plugin can do the job: https://www.ads-software.com/plugins/taxonomy-terms-order/
Forum: Plugins
In reply to: [WP Job Manager] User data displayed in submit formThank you SO much!
It works now with the following code. Maybe someone else can use it aswell:
// Add your own function to filter the fields add_filter( 'submit_job_form_fields_get_user_data', 'custom_submit_job_form_fields' ); // This is your function which takes the fields, modifies them, and returns them function custom_submit_job_form_fields( $fields ) { // Here we target one of the job fields (job_title) and change it's label $fields['company']['company_name']['value'] = get_user_meta( get_current_user_id(), 'display_name', ture); $fields['company']['company_website']['value'] = get_user_meta( get_current_user_id(), 'user_url', ture); $fields['company']['company_tagline']['value'] = get_user_meta( get_current_user_id(), 'description', ture); $fields['company']['company_logo']['value'] = get_user_meta( get_current_user_id(), 'user_pic', ture); // And return the modified fields return $fields; }
Forum: Plugins
In reply to: [WP Job Manager] User data displayed in submit formthanks again for your help!
unfortunately I don’t really get what I need to do now to get this working.
Would it be possible to hire you, for doing that for me?If you have no time for that, don’t worry and thanks anyways ??
Forum: Plugins
In reply to: [WP Job Manager] User data displayed in submit formthanks for your help but I didn’t get it to work so far.
I can change the label of the company_name but I can’t set the value. I tried it just easy with “test value” but it does not show up when I log in to the FE. Also with a new user that does not work…
Sorry for bothering you that much!
I tried it like this:
add_filter( 'submit_job_form_fields', 'custom_submit_job_form_fields' ); function custom_submit_job_form_fields( $fields ) { $fields['company']['company_name']['value'] = "Test value"; // And return the modified fields return $fields; }
Hope you can tell me what the problem is. Thanks alot anyways!
Forum: Plugins
In reply to: [WP Job Manager] User data displayed in submit formThanks for your fast answer.
Yes I know that. But I’d like to prefill those fields with the data form the user profiles (just in the frontend). Especially uploading the logo again will be “too much work” for many people – I’m afraid.
I’d be really glad, if you know a solution!