Include also 'pages' to the 'searchable_posts' index

on (a WordPress site) - I’m using your plugin to perform the search on the website. All works fine, but the ‘searchable_posts’ index is not listing ‘Pages’, it is listing only posts from all kinds. I know there’s another index - ‘wp_posts_page’, that includes all of the pages, without the posts. Is there a way to combine these with instantsearch.js ? I know you can search in both of them, but to show the results in different containers. I want to show all the results in the same container.

In these lines you can change which content you want indexed:

Let me know if this isn’t how you’re indexing :slight_smile:

1 Like