Hiya! This will do it:
add_filter( 'wpjm_output_job_listing_structured_data', '__return_false' );
Cheers!
Thread Starter
al8t3
(@al8t3)
Hmm, for some reason that doesn’t change anything. Any alternative ideas? Its running v1.30.2 (nervous to update the core version in case it causes more headaches at this stage).
Hi! That filter *should* work even with 1.30.2. Where did you add that line? To functions.php in your theme? To a code snippets plugin? To a custom plugin? Also, are you *sure* that it’s our data that’s being output? I can double-check if you provide me with a link, but I understand if you’d prefer not to share the link here.
Having the same issue – where is this snippet supposed to go specifically?
We’ve tried in the main functions.php and we are still seeing article schema markup being inserted by WPJobsManager – this was confirmed by the other plugin author who we’ve given access to the site.
We’re running WPJobsManager Version 1.31.0 and are trying to completely disable it’s default schema insertion so we can use another plugin.
Appreciate any direction on this.
Thanks – Jeff
Thread Starter
al8t3
(@al8t3)
Same here – applied to the functions file and definitely lookup at the schema markup that WPJM is adding.
I’ve also asked WPJobsManager directly, will post an update IF they actually respond.
I’ve spent hours looking but couldn’t find really specific direction on where this snippet is supposed to go.
Very frustrating…
Hi there,
Adding the filter my colleague Richard recommended above is working for me on my test site. You can see that the structured data is being disabled by checking the source of your site on a job listing, and looking for <!-- WP Job Manager Structured Data -->
. Can you confirm if you see that in your site’s source, or no? If you don’t, the snippet is working.
I prefer to use the Code Snippets plugin for things like this. If you’ve not already tried that, can you give it a go, instead of putting the snippet directly in your functions.php file?
If this still doesn’t work for you, jfidler2011 — could you please start your own thread, as per the Forum Welcome? You can find the “Create a new topic” form at the bottom of this page:
https://wordpress.org/support/plugin/wp-job-manager
A final note, regarding:
I’ve also asked WPJobsManager directly, will post an update IF they actually respond.
We’re a small team — those of us who work here in the forums are the same Happiness Engineers that answer emails. 🙂
Cheers!
Howdy!
I’m marking this thread as Resolved, since it’s been more than a month since the last reply. If you still need help, definitely let us know here, and mark the thread Unresolved.
Cheers.