> For the complete documentation index, see [llms.txt](https://bonsy.gitbook.io/bonsay-recman-wp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bonsy.gitbook.io/bonsay-recman-wp/job-posts/job-post-template-usage.md).

# Add a job post feed

{% hint style="info" %}
Make sure the plugin is installed and activated. Check the «View Cache» menu in the plugin to verify that the plugin has fetched data.
{% endhint %}

Easily incorporate job posts into your page template using a loop, similar to the WordPress post loop:

```php
# Making sure the plugin is active and that job posts are available
if( function_exists('have_jobposts') && have_jobposts() ) :

     # loop through each job posts
    while( have_jobposts() ) : the_jobpost();

        # Print the job post title
        the_jobpost('title');

    endwhile;

else :

    echo "No job posts available.";

endif;

?>
```

### Additional options

#### Limit number of jobs in feed

You can limit the number of job posts in the feed by adding a limit count (integer) to the `have_jobpost` function. You only need this when checking if feed has posts.

```php
<?php 

# Check if there are any job posts available, limit the feed to # of posts. 
if( function_exists('have_jobposts') && have_jobposts( 10 ) ) : :
    ....
```

#### Reset loop - If adding multple loops on your WordPress site.

Call the `reset_jobpost_loop()` method before calling a new loop.&#x20;

Read more on this page:

&#x20;[Displaying expired job posts](/bonsay-recman-wp/job-posts/displaying-expired-job-posts.md)

#### Check out our starter template

{% content-ref url="/pages/-M52BDFAZTpHtsTPWOyY" %}
[Job Post Feed Template](/bonsay-recman-wp/wp-templates/job-posts-template-listing.md)
{% endcontent-ref %}
