"Load More" Button for Blog Archives
Replaces the numbered pagination on blog and category pages with a "Load more posts" button that adds the next page of posts without leaving the page.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Replaces the numbered pagination on blog and category pages with a "Load more posts" button that adds the next page of posts without leaving the page.
Adds a random order option to the shop sorting that stays the same all day, so pagination works and every product gets its turn at the top.
Adds a "View all 42 posts on one page" link under paginated category, tag and other archives that are not too large, for readers who prefer to scroll or search the page.
Gives numbered pagination links clear labels such as "Page 3" and names the pagination landmark "Posts pages", so screen reader users know what each link does.
Gives menu links, pagination links, icon buttons and form controls a minimum 24 by 24 pixel tap area, the WCAG 2.2 target size minimum, without changing how they look.
Turns the page numbers under the blog, archives and Query Loop blocks into evenly sized rounded buttons with a clear current-page state.
Shows more (or fewer) posts per page in admin lists for everyone who has not chosen their own number in Screen Options.
Shows a different number of posts on the first page of the blog than on the following pages, for example 3 featured posts up front and 10 per page after that, with pagination still correct.
Keeps the posts you list off the main blog page and its pagination while they stay reachable through their own URL, categories and search.
Shows a different number of products on product search results than on normal shop pages, so shoppers see more matches at once.
Tells search engines not to index paginated archive pages (page 2, 3 and so on) while still following their links, using Yoast SEO's robots meta.
Adds noindex to page 2 and later of archives through All in One SEO's robots meta while keeping links followed.
Sets page 2 and later of archives to noindex, follow through Rank Math's robots meta, keeping the first page indexable.
Shows 20 results per page on search results without changing the blog page.
Adds "Page 2 of 7" to archive headings on paginated pages, so visitors and search engines can tell the pages apart.
Sets how many entries each custom post type archive shows, separately from the blog setting, for example 12 portfolio items or every testimonial on one page.
Sets how many posts appear on author and date (year, month, day) archives, independent of the main blog setting.
Shows 20 posts on category, tag and custom taxonomy archives without changing the number on the blog page.
Adds a prefetch hint for the next page of blog archives, category pages and multi-page posts, so it opens almost instantly when visitors click "Next".
Sets how many products are shown per page on the shop and product category pages.
Lets REST API requests for posts and pages ask for more than 100 items at once, useful for exports and static site generators.
Stops Rank Math from adding rel next and prev link tags on paginated archives and multi-page posts.
When someone opens a page number that no longer exists, such as /category/news/page/40/ after you deleted posts, sends them to the real last page instead of a 404.
Hides category, tag and taxonomy descriptions on page 2 and beyond of an archive, so long intro texts are not repeated on every page.