• Resolved jcutler

    (@jcutler)


    Hi,

    When a job listing expires it is removed from search results from the Jobs page, however they are still indexed and available in site search. For example, this search – https://wmea.org/?s=purple – returns a link to this page – https://wmea.org/?post_type=job_listing&p=2437 – which displays a page with a “listing has expired” message.

    I would like to ensure that only current job listings are returned in search results, and could not find a configuration setting to control this. Is there a setting or hook where this can be managed?

    Thanks,

    JC

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    Hi @jcutler !

    This is a known bug that was reported here: https://github.com/Automattic/WP-Job-Manager/issues/1884

    I believe that some custom code solution could be made to fix the problem until our developers add the fix. For example a snippet like this can be used to remove custom post types from the main search. Custom post type, in this case, is ‘job_listing’. That code will remove all job listings from the main search, and more code would need to get added to remove only those with expired status.

    I have added this link to the GitHub issue, so our developers are aware of it. In addition, you may want to subscribe to the issue, so you get updated when anything new happens.

    Plugin Support Jay

    (@bluejay77)

    Hi there,

    It has been more than one week since we have heard from you, so I’m marking this topic as resolved.

    But if you have any further questions or need some more help, you’re welcome to reply here or open another thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Expired listings returned in site search’ is closed to new replies.