Dat Hoang
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] Custom search homepageHi there,
Thank you for getting back to us.
> I tried this code in my theme and added to function.php. But no new search display in the header, any suggestion?
Please note that this code helps make sure that your custom fields will be used when searching keywords.
That does not mean we will create a new search field for the
[jobs]
shortcode.If you’d like to add more search fields, you can use your own template by changing this file wp-job-manager/templates/job-filters.php
You’d need to override our default template file to do this. Here’s a general tutorial:
https://wpjobmanager.com/document/template-overrides/
That said, we aren’t able to actually write the code for you. You may want to look into one of these services if you need help:
Thanks!
Forum: Plugins
In reply to: [WP Job Manager] Empty comments widget when comments are turned offHi there,
I am sorry for taking this so long.
Which widget do you mean?
This oneListify - Listing: Reviews
?If so, this is something from Listify. You definitely need to contact the theme author for this.
If I am wrong, please disable all other plugins except WPJM and switch to a default theme like Twenty Seventeen, do you see the issue?
Cheers,
Forum: Plugins
In reply to: [WP Job Manager] logos not showing on listing pagesHi there,
Thank you for contacting us!
> When viewed on a phone the company logos are not visible. They are display fine on a PC browser and on a tablet but I would like them to appear on a phone. There appears to be enough room for them so why aren’t they showing?
If you disable all other plugins except WPJM and switch to a default theme like Twenty Seventeen, does the issue persist?
Can you please take some screenshots for us? You can use these free apps/software:
* https://www.awesomescreenshot.com/
* https://monosnap.com/
* https://imgur.com/upload – you can upload your screenshots on this free serviceBest Regards,
Forum: Plugins
In reply to: [WP Job Manager] Structured data errorsHi there,
> Does the name field relate to $data[‘hiringOrganization’][‘name’] = get_the_company_name( $post );?
Yes, I think so. It’s similar to the structure here https://cld.wthms.co/Guqa2t
Please let me know in the case you need any further help!
Cheers,
Forum: Plugins
In reply to: [WP Job Manager] Adding extra fields to WPJMHi there,
Thanks for your screenshots and the code.
That’s reasonable because you’re saving
option1
in your database. The following code is pulling that value only.$experience = get_post_meta( $post->ID, '_job_experience', true );
To resolve this, you can do something like this.
Change the code
//** Display "job_experience" on the 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: ' ) . esc_html( $experience ) . '</li>'; } }
to
//** Display "job_experience" on the single job page add_action( 'single_job_listing_meta_end', 'display_job_experience_data' ); function display_job_experience_data() { global $post; $value_label = array( 'option1' => 'no experience', // 'value'=>'label' 'option2' => '1 year', 'option3' => '2 years', 'option4' => '5 years' ) ); $experience_value = get_post_meta( $post->ID, '_job_experience', true ); $experience = $value_label[ 'experience_value' ]; // Get label if ( $experience ) { echo '<li>' . __( 'Experience: ' ) . esc_html( $experience ) . '</li>'; } }
Please note that: this is just an example. You might handle your code in some cases like there is no value, etc. If not, your code might break somehow.
Cheers,
Forum: Plugins
In reply to: [WP Job Manager] Jobs not showing on [jobs orderby=date] pageHi there,
> I have resolved this but I don’t know why this works:
Glad to hear that! I am marking this ticket resolved. It seems there is a conflict on your site.
Best Regards,
Forum: Plugins
In reply to: [WP Job Manager] Apply for Job via EmailHi there,
I am using the snippet from here https://wpjobmanager.com/document/customising-job-application-process/
And it’s working correctly. Please note that I am using Apple Mail client on MacOS.
Image link: https://cld.wthms.co/0UKhAd
Can you please let me know which mail client you’re using?
Can you please take some screenshots for us as well? You can use these free apps/software:
* https://www.awesomescreenshot.com/
* https://monosnap.com/
* https://imgur.com/upload – you can upload your screenshots on this free serviceCheers,
Forum: Plugins
In reply to: [WP Job Manager] recent listingHi there,
I am not quite clear what your need is.
However, you’d need to override our default template file to do this. Here’s a general tutorial:
https://wpjobmanager.com/document/template-overrides/
That said, we aren’t able to actually write the code for you. You may want to look into one of these services if you need help:
Thanks!
Forum: Plugins
In reply to: [WP Job Manager] Admin edit jobs on Front End?Hi there,
> However, I still haven’t figured it out. Could you please give me the full hook code? Should I place it to functions.php?
The hook is here
https://github.com/Automattic/WP-Job-Manager/blob/2e9bfa47bdcb1ab439bc41b38d65e74b726b9d14/includes/class-wp-job-manager-shortcodes.php#L201However, this requires some custom coding and the PHP knowledge. You might research on your own to get that done or hire someone to do that.
Cheers,
Forum: Plugins
In reply to: [WP Job Manager] Job listings doesn’t show up due to AJAX errorHi there,
https://www.studentdevelopment.co.uk/jm-ajax/get_listings/ still shows the 404 error.
It’s possible that there might be a conflict with one of your current plugins or your theme.
Try disabling all of your plugins except WP Job Manager (and add-ons). Then try testing again to see if the issue persists. If that resolves your issue, you can find what was causing it by enabling each plugin one by one while continuing to test.
If that doesn’t help, you can also try switching to the Twenty Sixteen theme via Appearance > Themes, and test again. If the issue is resolved then you know it’s a problem with the theme, and you’ll need to contact the theme author for further assistance.
Each test above, you should re-save your options under Settings -> Permalinks.
> Sorry for multiple msgs, but my WP install is 4.1.6 so only I can install our plugin version of 1.2.7.
That might be an issue also. I strongly recommend creating a staging/testing site and try to test the new versions of both WordPress core and WPJM. That might help?
Cheers,
Hi Robert,
Please update here in the case you still have the issue with this.
Cheers,
Forum: Plugins
In reply to: [WP Job Manager] Too many redirects errorHi there,
Thank you for your information.
> I tried to reinstall WP job manager but without changes…. 3 week ago it worked good but not now….I tried to deactivate all of my plugins but no change.
After deactivating all plugins, please try to save in WP Admin -> Settings -> Permalinks.
Another thing I can spot is the job type slug
pr%C3%A1ca
. It’s not an ASCII text. That might be an issue. You might change it to another text with ASCII characters only.Best Regards,
Forum: Plugins
In reply to: [WP Job Manager] Setting a job featured through SQL question.Hi there,
Sorry for the late reply.
Adding the meta_key=’_featured’ with the meta_value = ‘1’ is enough.
However, we can not debug your SQL query above.Instead, I suggest using this standard WP function
https://codex.www.ads-software.com/Function_Reference/update_post_metaThis function is useful to fetch the posts you want also:
https://developer.www.ads-software.com/reference/functions/get_posts/Forum: Plugins
In reply to: [WP Job Manager] Job Listings Don’t Show on WebsiteHi there,
> Are there any other ideas you can think of?
We’re sorry for the late reply.
It looks like you resolved the issue already.
https://www.countrysmokehouse.com/jobs-2/Best Regards,
> So my doubt is that how can have two sections with only one search filter.
Sorry for the late reply.
This is something you might build on your own. We do not have the option having only one search filter like you need.
Please let me know in the case you need any further help!