How to make FacetWP work with Oxygen’s Repeater on static Pages
FacetWP is a great plugin for adding custom facets or filters to filter the list of entries in WordPress by different criterion.
It is quite straightforward and works out of the box on default or main queries for example, on archives. But with secondary queries on non-archive pages like static Pages it needs a little nudge in the right direction.
This members-only tutorial provides the steps to make FacetWP work i.e., be able to filter the entries output by Oxygen's Repeater component on static Pages.
Summary of steps:
- Use manual WP Query in the Repeater.
- Tell FacetWP to ignore
- Hide default pagination and add a FacetWP pager facet for working pagination.
Install and activate FacetWP.
Go to Settings > FacetWP.
Create your desired facet.
Click Re-index button.
Add another facet of Pager type.
Install and activate Code Snippets plugin.
Go to Snippets > Add New.
Title: Tell FacetWP to ignore ct_template post type
This is a premium members-only content.
To view the rest of the content, please sign up for membership ($47/month or $599 one-time).
Already a member? Log in below or here.