Replies: 0
Dear Team,
I’m using WP ALL IMPORT PRO (WPAI) with WP Job Manager (WPJM) for my job board website. My jobs are automatically submitted to Google Jobs after they are uploaded via WPAI as this is a default feature of WPJM. Now, I have a compulsory requirement from my partner website and they do not want their jobs to be submitted to Google Jobs.
WPJM provides a permanent solution by editing theme’s function.php file with below code.
Disable Structured Data
The code below can be inserted into your theme’sfunctions.phpfile to disable the Job schema. Even better, you can use a plugin like Code Snippets rather than adding it directly tofunctions.php:
add_filter( ‘wpjm_get_job_listing_structured_data’, ‘__return_false’ );
By doing this, it will disable this feature for all jobs whereas my requirement is to apply above code only for a certain import via WPAI. Is there any solution to achieve this by using any option or custom fields etc.
Regards
M.Rehman