WPJobBoard 5.8.9

We just released version 5.8.9 (this should be the last update before 5.9.0 with some cool new features), you should see the update notification in the wp-admin / Plugins panel.

If the notification will not show up within 24 hours go to the wp-admin / Dashboard / Updates panel, click the “Check Again” button and the update should show then.

Here is what was changed in the latest release:

  • FIXED: Rating input showing in the wp-admin / Job Board / Applications panel when editing an application (it is not needed there as the applications can be rated using the stars widget in the right sidebar).
  • FIXED: Sorting by rating in the wp-admin / Job Board / Applications panel not working correctly.
  • FIXED: When exporting the company to XML the company description is now wrapped in the CDATA.
  • FIXED: Export to XML is generating unwanted tags that are breaking the XML scheme.
  • FIXED: The expired jobs redirection option not firing.
  • FIXED: Warning in the Indeed XML when job type or category is not selected.
  • API: wpjb_singular_ignore_the_content filter allows disabling the default content renderer on the Job, Resume, and Company details pages, this might be sometimes helpful when building a website with a page builder (how to use this filter will be shown below).

Using the wpjb_singular_ignore_the_content filter.

This filter is useful when you are building the Job, Resume, or Company details pages with a page builder (like Brizy) and do not want the default WPJB page rendering as it is conflicting in some way with your page building plugin.

The below code snippet can be put in your (child) theme functions.php file and it will stop default rendering on the Job details pages (the Resumes and Companies details will still be rendered as previously)

add_filter( "wpjb_singular_ignore_the_content", function( $ignore, $type ) {
    // $type is one of "job", "company", "resume"
    if( $type == "job" ) {
        return true;
    }
}, 10, 2 );

If you want to apply the content ignoring to all details pages (Jobs, Resumes, and Companies) you can use the below code instead

add_filter( "wpjb_singular_ignore_the_content", "__return_true" );

Once you add the code you will need to use the [wpjb_single_job], [wpjb_single_resume], or [wpjb_single_company] shortcode in the template you are creating for the Job, Resume, or Company details page.

Leave a Reply

Your email address will not be published. Required fields are marked *