RSS Feed for Jobs

WPJM comes with a built-in RSS feed for your job listings. This allows you to easily publish or import those listings into another site.

If you need more information on RSS feeds, this is a good introduction to RSS feeds, and how you might use them. The job listing feed is just a specialized WordPress RSS feed for WPJM.

You can find the default WPJM job feed at:

https://yourgroovydomain.com/?feed=job_feed

Note: the RSS feed only shows jobs which have a job `type` assigned to them. So, for example, if no jobs have a job type assigned, then your RSS feed will show 0 jobs, regardless of how many jobs show up on your job listings page.

Customizing your feed

Note: All code examples on this site are provided for developer reference and guidance only and we cannot guarantee that they will always work as expected. 

Our support policy does not include assistance with using, modifying or debugging code from any code examples, and they may be changed or removed if we find they no longer work due to changes in our plugins.

This information is presented solely for informational purposes. We cannot provide support for custom RSS feeds.

This resource from WordPress.org for customizing RSS feeds is for all the details on how RSS feeds work in WordPress generally.

Using arguments and parameters

For example:

Argument and Parameter: &job_categories=mycategory1

Full URL:

mysite.com/?feed=job_feed&job_categories=mycategory1

will only output jobs the assigned category mycategory1.

This parameter and argument:

&posts_per_page=XX

will allow you to increase the number of listings displayed in your feed, where XX is the desired number.

You can also combine parameters and arguments in the feed URL, like this:

mysite.com/?feed=job_feed&job_categories=mycategory1&posts_per_page=25

This will display 25 listings assigned to the category mycategory1.

Other arguments you can use to filter results are:

search_location=mylocation

search_keywords=mykeyword

job_types=mytype

You can do this using a custom code snippet to filter your feed by featured jobs.

Create a new Snippet, give it a title, and input the following code:

function add_featured_job_flag( $query_args) {
  $query_args[ 'meta_key' ] = '_featured';
  $query_args[ 'meta_value' ] = 1;
  return $query_args;
}

add_filter( 'job_feed_args', 'add_featured_job_flag' );

Then click “Save Changes and Activate” at the bottom of the page.

Reload the RSS feed page, and you should see that it is only showing featured jobs now. Note that you may need to force-reload the page, or clear your browser cache before you can see the change.

Adding the Company Logo to the Feed

This is a customization, which requires use of the Code Snippets plugin. The tutorial requires some coding knowledge.

Disabling the RSS feed

If you want to disable the RSS feed completely, we have a snippet you can use:

<code>function custom_job_manager_job_filters_showing_jobs_links( $links ) {

unset( $links['rss_link'] );

return $links;

}</code>
add_filter( 'job_manager_job_filters_showing_jobs_links', 'custom_job_manager_job_filters_showing_jobs_links' );

Alternately, or in addition to, customizing your RSS feed, you can customize the search filters found on your job listings page using the same arguments.

We have a tutorial for this customization here.

Optional: Embeddable Job Widget add-on

An easy, optional way to display the job listings from one site to another is via the paid add-on Embeddable Job Widget.

Advanced Usage Documentation