# Squarespace Pagination inside Category

**URL:** <https://community.elfsight.com/t/squarespace-pagination-inside-category/169391>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [July 26, 2026, 11:03pm UTC](https://community.elfsight.com/t/squarespace-pagination-inside-category/169391 "2026-07-26T23:03:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanphan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tuanphan/32/3165_2.png) [@tuanphan](https://community.elfsight.com/u/tuanphan)\
**Post date:** [July 26, 2026, 11:03pm UTC](https://community.elfsight.com/t/squarespace-pagination-inside-category/169391/1 "2026-07-26T23:03:58Z")

</div>

**Description:** change pagination title/link to posts belong current category in Squarespace

**#1.1.** Click Gear icon on Blog Page

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/1/9/19c6dfc860e37047015e758a30173b8d46bd46be.png)

**#1.2.** Click Advanced \> Post Blog Item Code Injection

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/6/6/660ba7f35ad0320e7c24e4a750f970569eb08983.png)

**#1.3.** Paste this code

- If your site is Personal/Basic Plan and it doesn’t support Injection, see #3.1

```auto
<!-- 07.26c24v2 Pagination inside Category -->
<script>
  window.PaginationInsideCategoryConfig = {
    categoryMode: 'merge',
    maxItemsPerCategory: 20,
    keepSpaceWhenNoPost: true,
    hideSectionWhenNoPost: true,
    updateImage: true,
    debug: false
  };
</script>
<script src="https://code.beaverhero.com/blogpost/0726c24v2paginationinsidecategory.js"></script>

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/0/5/05abe1cde4ee028842baa4279e1d0860c2a3b2a1.jpeg)

**#3.1.** If you use Personal/Basic Plan and your plan doesn’t support Injection, you can edit Site Footer

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/f/7/f7b86c6d9cd3e4d23ba2357803df646fde967680.png)

Add a Markdown Block

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/a/5/a5b7c63b8bf5d6bd492784a712cbb1709ce8e8e0.png)

Add this code into Markdown

```auto
<script>
  window.PaginationInsideCategoryConfig = {
    categoryMode: 'merge',
    maxItemsPerCategory: 20,
    keepSpaceWhenNoPost: true,
    hideSectionWhenNoPost: true,
    updateImage: true,
    debug: false
  };
</script>
<script src="https://code.beaverhero.com/blogpost/0726c24v2paginationinsidecategory.js"></script>

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/4/b/4b6379a7380d82fca98fb1898d6199ac469428cf.png)
