• Resolved schnuffi

    (@schnuffi)


    Hi all,
    I am using WordPress 5.2 on a Windows XAMPP-Server (Apache/2.4.29 (Win32) OpenSSL/1.0.2n PHP/7.1.12) with Avada-Theme 5.9.1 and Fusion Builder 1.9.1 along with a bunch of plugins, WPML 4.2.7.1 amongst them for having a 2 language site (german/english) and WP Job Manager 1.33.2.

    I am trying WP Job Manager and everything so far works fine, BUT: when I call up my job listing page, where the shortcode [jobs] resides, any other shortcode seems not to function. I for instance tried [jobs show_filters=false] or [jobs show_filters=”false”], but in both cases, the filter form still shows up above the jobs list. I tried [jobs job_types=”Vollzeit”], but still ALL jobs showed up. So did any other shortcode: just nothing.

    I switched to TwentySeventeen-Them, no change.
    I then deactivated ALL plugins (even Fusion Builder and WPML!), except WP Job Manager – still no change.

    After hours of searching for the problem I am frustrated, because this plugin would give me all the desires of my customer, but when the shortcodes are not functional, I can’t customize it as neccessary.

    Any help greatly appreciated – thanx in advance!

    Christian

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter schnuffi

    (@schnuffi)

    Addition: also the URL-parameters seem not to function. As far as I unstand, idt should be something like https://www.domain.com/jobs/?show_filters=false or https://www.domain.com/jobs/?job_types=Vollzeit. But even this does: nothing. Any time calling up the jobs list page it showas all jobs and the filter form above it.

    Or did I misunderstand something?

    Christian

    Howdy!

    I’m unable to reproduce the issue with [jobs show_filters=false]. That hides the filter form for me. Do you have a publicly accessible link for this page?

    For [jobs job_types="Vollzeit"], it needs to be the job type slug. For example: Full Time would be full-time by default.

    The shortcode arguments do _not_ correspond to query vars in the URL. You can’t hide the filters from the query var. If you haven’t set the job_types shortcode argument, you can use ?search_job_type=job-type-slug. You can also do ?search_keywords=prefilled+search+term and ?search_location=prefilled+location.

    Also, when making changes to the page with [jobs], use a new tab when testing (to prevent session cache for results) instead of just refreshing.

    Jake

    Thread Starter schnuffi

    (@schnuffi)

    Hi Jake,
    thanx for your reply!

    Unfortunately I don’t have a publicly accessible address at the moment – maybe next week I’ll have.

    But: [jobs show_filters=false] definitely always shows the filter form for me.

    Very helpful was your hint with opening the page in a new tab after changes, becuase that was confusing me a lot, that nothing at all changed when just refreshing…

    The form itself is functioning fine (selecting categories, filtering job-types …)

    [jobs job_types=”Vollzeit”] is in fact [jobs job_types=”vollzeit”] (starting with lowercase v, but that changes nothing, it won’t show up.

    And even ?search_job_type=job-type-slug is not functioning (?search_job_type=vollzeit), the page show all jobs, regardless of their job-types.

    ??

    Thanx again – any mor ideas?

    Christian
    Thanx again CVhristian

    Thread Starter schnuffi

    (@schnuffi)

    Addition: I have to correct a bit of my description.

    ?search_job_type=job-type-slug IS functioning! ?search_job_type=teilzeit shows only “part time” (=”teilzeit”) jobs. When I open that link in a new tab, which I didn’ before maybe…

    And so does search_location=…!

    But still the sortcodes don’t.

    When you did your troubleshooting, did you disable all plugins and switch to a default theme in the same step? Unfortunately I’m not able to reproduce. I don’t have access to that theme, though. It doesn’t advertise specific WPJM support so I’d be surprised if that was doing it, though.

    Jake

    Thread Starter schnuffi

    (@schnuffi)

    Thanx again Jake for your help!

    I switched to Twentyseventeen first, but that didn’t change anything. So addionally I disabled all plugins excep WPJM, leaving Twentyseventeen active. So I had a very raw WP version. But WPJM shortcodes didn’t react either to that.

    In the meantime there seems to be another problem: I tried to connect WPJM with ContactForms 7 to provide an application form to the job entries. When I tested the CF7 shortcode by adding it in the job description field, the frontend showed both the CF7 form AND the shortcode source text. Any ideas, why this happens?

    Thanx again Christian

    What version of WordPress and WPJM are you using? Are you overriding any job manager templates in your theme or are you using any snippets?

    Please open a new topic for the new issue.

    Jake

    Thread Starter schnuffi

    (@schnuffi)

    Hi Jake, sorry for the delayed answer… weekend!

    As I wrote in my inital posting, I am using WordPress 5.2.2 with Avada-Theme 5.9.1 and Fusion Builder 1.9.1 along with a bunch of plugins, WPML 4.2.7.1 amongst them for having a 2 language site (german/english) and WP Job Manager 1.33.2.

    But I have good news today: the problems are solved!

    The ONLY reason was: to avoid any typing errors, I copied the shortcode from the WPJM online documentation, where the source code is (invisibly) wrapped by < code >- and < /code >-tags.

    When pasting that into my WP fields, this tags are pasted along too, (still invisibly) altering the shortcode to

    < code >[jobs show_filters=false]< /code > instead of just [jobs show_filters=false]

    , or if just partially pasted, to

    [jobs < code >show_filters=false< /code >]

    . Which is of course infunctional, but was not obviously visible to me, I virtually didn’t notice it, until I switched to text view (after thinking the whole weekend about the problem).

    Even the second issue with CF7 had the same reason and is gone after correcting the shortcodes.

    So everything is running like a charm now with WPJM and Avada Theme (and I hope WPML dual language plugin, which I will test this week).

    Finally thanx again for your help – this topic can be closed.

    All the best Christian

    • This reply was modified 5 years, 8 months ago by schnuffi.
    • This reply was modified 5 years, 8 months ago by schnuffi.
    • This reply was modified 5 years, 8 months ago by schnuffi.
    • This reply was modified 5 years, 8 months ago by schnuffi.
    • This reply was modified 5 years, 8 months ago by schnuffi.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WP Job Manager shortcodes not functioning’ is closed to new replies.