# How can I change the number of results per page with the WordPress plug-in?

**URL:** <https://community.swiftype.com/t/how-can-i-change-the-number-of-results-per-page-with-the-wordpress-plug-in/109>\
**Category:** WordPress\
**Created:** [December 22, 2015, 6:00pm UTC](https://community.swiftype.com/t/how-can-i-change-the-number-of-results-per-page-with-the-wordpress-plug-in/109 "2015-12-22T18:00:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/swiftype/original/1X/fd652d1735c60057fa71c371375511028f9a1832.png) [@system](https://community.swiftype.com/u/system)\
**Post date:** [December 22, 2015, 6:00pm UTC](https://community.swiftype.com/t/how-can-i-change-the-number-of-results-per-page-with-the-wordpress-plug-in/109/1 "2015-12-22T18:00:31Z")

</div>

This can be accomplished by adding a **`swiftype_search_params_filter`** in your theme’s **`functions.php`**.

```auto
function swiftype_search_params_filter($params) {
     $params['per_page'] = 10;
     // update the value to your desired # of pages

     return $params;
}

add_filter('swiftype_search_params', 'swiftype_search_params_filter', 8, 1);

```
