Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    You’d need to see how polylang works with custom post type – for example, does it change queries to get posts/jobs from a certain category? I don’t know the answers here so please check polylang docs on custom post types and queries.

    Thread Starter Pit29

    (@pit29)

    Hello Mike,

    Thanks for the quick support.
    My website is in English, French, German and Spanish. And in fact, I forgot to duplicate the english job in this 3 languages each, so it could appear in the widget when another language is selected instead of english.

    It is working fine for the widget now.

    BUT (because there is always a but), now that I have duplicated the jobs (for one job, I have 4 advert in each language now), on my job page, the joblisting is showing the 4 jobs and not only one. Is there a way to show only the job matching the selected language in the full job listing ?

    Thanks

    Olivier

    Hey Olivier,

    Happy to see this is working in the widget now.

    Regarding:

    BUT (because there is always a but), now that I have duplicated the jobs (for one job, I have 4 advert in each language now), on my job page, the joblisting is showing the 4 jobs and not only one. Is there a way to show only the job matching the selected language in the full job listing ?

    Unfortunately we don’t know how Polylang works but I would check with them to see how content can be pulled for one language.

    You can then edit your template files in WP Job Manager to use the correct functionality from Polylang to avoid this issue:

    https://wpjobmanager.com/document/template-overrides/

    Kind Regards,
    Scott

    Plugin Author Mike Jolley

    (@mikejolley)

    Just a note, we do this for WPML: https://github.com/mikejolley/WP-Job-Manager/blob/master/wp-job-manager.php#L104

    If Polylang has something similar we could do something similar – let us know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘conflict with polylang’ is closed to new replies.