• Hi There,

    I am currently in contact with Broadbean as we speak. They have set me up with a ‘Network Portal’ to test the feed against our website. I have a page /jobs all set with a loop in there. I added the custom XML provided by Mark but when I test the feed it does say ‘Passed’ but when I visit /jobs it tells me: Error: No job reference detected! – Am I getting confused because this is indicating to me that this should be a job advert rather than the jobs list itself?

    Please could you clarify how jobs get sent to /jobs form this testing portal and will /jobs show me a list of jobs?

    • This topic was modified 7 years, 8 months ago by danjbh.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mark Wilkinson

    (@wpmarkuk)

    The jobs are a custom post type and therefore they will display using their custom post type archive page. This looks for an archive-wpbb_job.php file in your active theme. If it is not there it will use archive.php. If that doesn’t exist it will fall back to using index.php.

    The custom post type archive “slug” is set to use /jobs/ as the URL. Therefore as you have created a page named “Jobs” this will be overwriting the main page for showing the job listings.

    Also it looks as though you have this page sent as the page to use for applications in the settings page. Therefore to resolve this I would rename the page you have created to “Job Applications” and make sure you change the page’s slug from /jobs/ to something else.

    Then create a file in your theme (or better still a child theme) called archive-wpbb_job.php and put your loop in there.

    Thread Starter danjbh

    (@danjbh)

    Hi Mark,

    Thanks for the prompt reply on this one. So Because I have already created /jobs how will I be able to ‘style’ the feed as I have created a template already to make it look nice.

    When you say in the settings page? Im not entirely sure what you mean by this…? I have added in the sugested file archive-wpbb_job.php however when I try and visit the job itself I get a 404 – see here Example job post

    Plugin Author Mark Wilkinson

    (@wpmarkuk)

    Thanks for the prompt reply on this one. So Because I have already created /jobs how will I be able to ‘style’ the feed as I have created a template already to make it look nice.

    Add the loop that you have on your page template to the post type archive template named archive-wpbb_job.php then it will be used for the job listings. Remember you don’t need to query for jobs in that template because they are already queried in the main wp_query for that template.

    When you say in the settings page? Im not entirely sure what you mean by this…?

    The plugin has a settings page under the WP Broadbean admin menu item. This is where you added your feed username and password. The 3rd option on that page is to choose which page you want to use for the application form.

    I have added in the sugested file archive-wpbb_job.php however when I try and visit the job itself I get a 404

    The link you provided does not 404 for me. Sometimes refreshing your sites permalinks (just re-saving them) on the Settings > Permalinks page sorts this out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Jobs feed’ is closed to new replies.