Code changes for Facet WP implementation

I have installed the ‘Facet WP’ plugin on my site which is using the X theme and am in the process of configuring. There is a requirement to make some code changes to the page template by adding the facetwp class - instructions available here: https://facetwp.com/using-facetwp-with-existing-template-files/

Can you please provide some guidance on how to implement this for the X theme? I have searched core template files, but can’t identify the ‘have_posts’ loop.
Thanks.

Hi @athyg,

Thanks for writing in.

Regretfully, customization of setup is beyond the scope of our support. However, I could send you guide on where it is located.

x\framework\views(stack)\template-files

Hope it helps.

Let us know how it goes.

Thanks.

Thanks for getting back to me & for providing the recommended guide. I have managed to implement a basic solution which is sufficient for the time being, but would like to be able to apply filtering on more complex pages that have posts displayed in a ‘Grid’ layout, and not just a hyperlinked post title.
I’ll check this doco out & let you know how it goes.
Thanks again.

Thanks for this…I managed to identify the template file (wp-page.php), which contains the have_posts loop in my site file directory, based on the info you provided. So, takes my one step closer to implementing my required changes.
Athy.

Hey,

This article should help you to implement it: https://wpdevshed.com/how-to-implement-faceted-search-with-facetwp/

Hi John,
I was able to get this working on a page that included my posts in a grid layout. It involved updating my wp-page.php file to include the facetwp-template class.
Appreciate your assistance with this.
Athy.

Hi Athy,

So is everything sorted now on your end?

In case you are still having any issue, please let us know so that we can check further.

Thank you.