Jake Morrison (a11n)
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] Custom job search form with Category not working properly@zahedkamal87 There isn’t right now, but I’ve proposed a possible fix for the next major version:
https://github.com/Automattic/WP-Job-Manager/pull/1805Issue to follow:
https://github.com/Automattic/WP-Job-Manager/issues/1804Jake
That functionality isn’t built into Job Manager. You could probably add this functionality on job submission form with some custom JavaScript. Looks like Google’s example for that functionality might give you a bit of a head start:
https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete
Note that assistance with implementing or troubleshooting customization is outside of the scope of the support that we offer, per our Support Policy:
https://wpjobmanager.com/support-policy/.
If you need it, you can search for development help in a variety of places — here are a few to start:
https://jobs.wordpress.net/
https://jetpack.pro/
https://codeable.io/?ref=l1TwZJake
Forum: Plugins
In reply to: [WP Job Manager] Custom job search form with Category not working properlyFor preselecting the category on the
[jobs]
shortcode, use thesearch_category
query string variable (notsearch_categories
; which is what the shortcode JSajax-filters.js
sends to the ajax request handler). Right now it only accepts one term ID.For example:
https://example.com/jobs?search_category=6There is an issue to expand on that to allow for [multiple] term slugs here:
https://github.com/Automattic/WP-Job-Manager/issues/1300Note that once categories are changed in the client, the client’s state is preserved during that session and overrides what might come from the query string. Opening in a new tab should clear that.
Jake
Forum: Plugins
In reply to: [WP Job Manager] Custom Meta job searchMeta search results shouldn’t be case sensitive. One possibility is that if you had tested with “complex needs” before adding the snippet, the job listing results might have been cached without using the extra search field. WP Job Manager only caches results for 24 hours so if it was that, it should be working now. One easy way to clear the cache is to re-save any job listing with the smallest change.
Jake
Forum: Plugins
In reply to: [WP Job Manager] Issue when adding a new jobHi there–
I’m not able to reproduce on a fresh install of WP Job Manager on WordPress 5.2.1. What version of WordPress are you using? Do you also have the Gutenberg plugin installed? If so, which version?
I don’t think this is an issue inside of WP Job Manager. The update does flush rewrite rules, which could have triggered a problem that was dormant beforehand. It looks like your site is running on Apache. There are some old Gutenberg issues that hint this is a problem might be related to rewrite rules.
Few things to try:
Go to WP Admin > Settings > Permalinks. Don’t change anything, just save the settings by clickingSave Changes
at the bottom. This will also trigger a refresh of the rewrite rules and might fix the problem.Additionally, if you’re using any caching plugin or utilizing caching elsewhere, try clearing all cache. If those don’t work, also try switching to a built-in theme, such as Twenty Nineteen.
Is it happening when you attempt to edit other posts or pages?
Jake
- This reply was modified 5 years, 9 months ago by Jake Morrison (a11n).
Forum: Plugins
In reply to: [WP Job Manager] Job Dashboard paginationFor the
[job_dashboard]
shortcode, there is theposts_per_page
parameter you can use to change the number of listings per page.For example, this will output 10 per page:
[job_dashboard posts_per_page="10"]
- This reply was modified 5 years, 10 months ago by Jake Morrison (a11n).
Forum: Plugins
In reply to: [WP Job Manager] Fields after Job SubmissionHi there!
We have a few helper functions located in wp-job-manager-template.php that might be useful. For example, you can get the company name from
get_the_company_name( $job )
. Additionally, you should be able to retrieve the company name from the_company_name
post meta for the job. You can see more of these fields here.You can get the URL for the job by calling
get_permalink( $job )
. However, unless you have disabled moderation (admin has to go in and approve the job listing), that link won’t work immediately after the job has been submitted.Jake M.
Forum: Plugins
In reply to: [WP Job Manager] How Do I Delete Cached Job Manager Settings in phpmyadminGlad it is working now, @coreymichaeldesigns!
Jake
Forum: Plugins
In reply to: [WP Job Manager] jquery-ui.css cause serious delayHi there!
You can use a variation of this snippet to load a jQuery UI theme from a different location. You can put this in your theme’s
functions.php
.https://gist.github.com/jom/81c700d11e19d32574a197466b47fb6c
You’ll need to download the theme you would like from jQuery UI (https://code.jquery.com/ui/). In WPJM, the default is
smoothness
.The second parameter to
wp_register_style()
should point to where you uploadedjquery-ui.css
.For example, you might replace:
'//code.jquery.com/ui/' . $jquery_version . '/themes/black-tie/jquery-ui.css'
with
'https://example.com/assets/jquery-ui/jquery-ui.css'
.Hope that helps!
Best,
Jake
Forum: Plugins
In reply to: [WP Job Manager] How Do I Delete Cached Job Manager Settings in phpmyadminHi Corey–
Settings are only removed on uninstall/removal (not deactivation) if the
Delete Data On Uninstall
setting in Job Listings > Settings is enabled. It looks like the page from thenot-working.jpg
screenshot has been removed. Would it be possible to reactivate the plugin and create the page again?Best,
Jake
Forum: Plugins
In reply to: [WP Job Manager] The link you followed has expired.@napsme We don’t make changes like this lightly. We tried to communicate with theme developers before it was released, but this one was off our radar until now.
In the future, if we have to do something like this again, we’ll add additional notifications from within the plugin with documentation on how to fix it.
Jake M.
Forum: Plugins
In reply to: [WP Job Manager] The link you followed has expired.@napsme Thanks, Mary. I’ll reach out to the theme developer as well.
Let me know how it goes.
Jake M.
Forum: Plugins
In reply to: [WP Job Manager] The link you followed has expired.@aslan_eident Glad you figured it out.
The new code goes just after
<form ...>
but must be before the closing</form>
tag.@napsme Which theme are you using? If you’re not using a custom theme, we also want to make sure we’re reaching out to theme developers to update the template. From your active theme (or parent theme), paste in the contents of
job_manager/job-preview.php
(for example, look for it in/wp-contents/themes/YOUR_ACTIVE_THEME/job_manager/job-preview.php
).Forum: Plugins
In reply to: [WP Job Manager] The link you followed has expired.Hi there–
You most likely have a theme that has overridden the
job-preview.php
template. Check your theme (and parent theme if you have one) forjob_manager/job-preview.php
. That template was updated in the last release.The most important change is adding the new action
preview_job_form_start
. Please insert the following just after the<form ...>
element:<?php /** * Fires at the top of the preview job form. * * @since 1.32.2 */ do_action( 'preview_job_form_start' ); ?>
Best,
Jake M.
- This reply was modified 6 years ago by Jake Morrison (a11n).
Forum: Plugins
In reply to: [WP Job Manager] edit/submit forms for logged in usersHi there–
Where are you running into issues with this change?
If your theme has overridden that template (you will see
[your-theme-dir]/job_manager/job-preview.php
), you’ll need to update it. The most critical bit from the current template (/wp-content/plugins/wp-job-manager/templates/job-preview.php
) is adding this action just after the<form ...>
tag:<?php /** * Fires at the top of the preview job form. * * @since 1.32.2 */ do_action( 'preview_job_form_start' ); ?>
-Jake
- This reply was modified 6 years ago by Jake Morrison (a11n).
- This reply was modified 6 years ago by Jake Morrison (a11n).