• Resolved al8t3

    (@al8t3)


    Hi

    Is there any way to disable structured data / schema from being applied by WPJM? I need to just flat out disable it but cannot find any option to do so.

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Richard Archambault

    (@richardmtl)

    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).

    Plugin Contributor Richard Archambault

    (@richardmtl)

    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…

    Plugin Contributor Jen H. (a11n)

    (@jenhooks)

    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!

    Plugin Contributor Jen H. (a11n)

    (@jenhooks)

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Disable Schema’ is closed to new replies.