Pagination output by a WordPress theme or plugin will not usually work i.e., get automatically updated after the results are filtered using FacetWP.

The solution to this is to replace the default pagination with FacetWP’s.

This tutorial provides the steps to fix this pagination issue on archive pages in Oxygen when using FacetWP.

Step 1

Your archive pages should generally speaking, respect the number of posts per page setting in WordPress (at Settings > Reading).

If for whatever reason, that is not working use pre_get_posts filter to set your desired number of posts per page on your archives by following this example.

Step 2

Edit your archive Template in Oxygen editor.

In Easy Posts’ Template CSS add

%%EPID%% .oxy-easy-posts-pages {
  display: none;
}

Below Easy Posts, add a Shortcode component having this shortcode:

[facetwp pager="true"]

Reference

https://facetwp.com/documentation/shortcodes/

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE

Comments

For adding code blocks wrap the code in three backticks. Markdown should work.
Provide a URL of your site/webpage if something is not working.
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: