• Resolved Wally

    (@inempleo)


    Hi there, Ive created a website for publishing jobs but i have an issue with taxonomy page that display jobs in that category, it display everything expired and also active, i would like to hide expired job from page and only keep active jobs.

    I know theres an option to hide expired jobs from the main page /jobs/, but i would like to leave them on but hide them only on taxonomy pages.

    Is there any way to hide so i can only display active jobs?

    Thank you.

    • This topic was modified 4 years ago by Wally.

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

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

    (@bindlegirl)

    Hi there!

    If you are using [jobs] shortcode to display jobs on the taxonomy page you can add the post_status="publish" parameter to display only active jobs.

    For example, the shortcode will look like this:

    [jobs post_status=”publish” categories=”administracion-de-empresas” show_filters=false]

    You can check out the shortcode reference here: https://wpjobmanager.com/document/shortcode-reference/

    Thread Starter Wally

    (@inempleo)

    Thank you @bindlegirl for the quick reply, unfortunatly im using taxonomy page that use data that comes from content-job_listing, to automate taxonomy created. i dont know if theres any hope i can manage to do that.

    Plugin Support bindlegirl (a11n)

    (@bindlegirl)

    @inempleo

    Depending on how you built your templates, you can try filtering the posts by status. Active jobs have the status set to publish that is a standard WordPress status: https://www.ads-software.com/support/article/post-status/

    Thread Starter Wally

    (@inempleo)

    @bindlegirl thanks for your help, I made something different so it doesn’t effect the archive file, just select jobs that already expired and tell users that they already expired automatically.

    I think I will close this topic as resolved!

    Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hiding expired job from taxonomy’ is closed to new replies.