Sign in

Mercury Theme Filter | Filter All Posts

  • This topic has 2 replies, 2 voices, and was last updated 1 year, 7 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6863
    Avatar photocandidexmedia

    Hello! I’m using the Mercury theme for one of my sites, and I really like the filtering mechanism, but it only filters the posts on the first page. How can I configure so that it filters all the posts?

    Alternately, how can I prevent pagination, and instead just have more posts load by scrolling down?

    #6867
    Avatar photoBob
    candidexmedia wrote:

    it only filters the posts on the first page

    Increase the number of posts per page or set it to -1, then all posts will be displayed on the home page.

    candidexmedia wrote:

    have more posts load by scrolling down?

    You need to implement an infinite scroll (e.g. https://infinite-scroll.com/), for example, our Source theme uses this feature https://demo.getpublii.eu/themes/sources/2/

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #6877
    Avatar photocandidexmedia
    Bob wrote:
    candidexmedia wrote:

    it only filters the posts on the first page

    Increase the number of posts per page or set it to -1, then all posts will be displayed on the home page.

    candidexmedia wrote:

    have more posts load by scrolling down?

    You need to implement an infinite scroll (e.g. https://infinite-scroll.com/), for example, our Source theme uses this feature https://demo.getpublii.eu/themes/sources/2/

    The -1 tip was perfect, thank you!

    I’ll definitely give Infinite Scroll a look as well.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.