• Live group demo of Marketing Hub + Data Agent

    Standardize reporting, reduce manual work, and introduce AI without cleanup

    Join us on March 12
  • Ready to build your local HubSpot community?

    HUG leaders host events, spark connections, and create spaces where people learn and grow together.

    Become a HUG Leader

Blog pagination issue

shiyon
Contributor

I created a blog, and in that, there's a section called 'latest articles' with a module. I cloned the same module to create another section called 'all articles.' Both sections have default pagination. Now, when I click on the pagination of 'latest articles,' it affects the 'all articles' section. However, the intended behavior is for 'latest articles' pagination to work independently. How can I fix this issue?

In addition, when clicking on the 'All posts' link, it redirects to another page where only 6 out of 11 posts are displayed. For the home page, I want to showcase 6 posts in the 'latest articles' section, so I adjusted the total post count to 6 in the blog settings. Unfortunately, this adjustment is also impacting the 'all' page. How can I display all the posts on the 'all' page. Does anyone have any suggestions?

https://www.highroadsolutions.com/highroad-solution-blog

 

Thanks,

Aiswarya

0 Upvotes
1 Accepted solution
Jnix284
Solution
HubSpot Employee
HubSpot Employee

You're welcome @shiyon, I'm sorry but I am not able to provide a coded solution for you.

 

If you're not a developer, I recommend posting your request for help in the #jobs channel of the Developer Slack to see if you can find someone to help. 


replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot


Jennifer Nixon

View solution in original post

0 Upvotes
3 Replies 3
shiyon
Contributor

Thank you for providing insight. Can you please help with a solution to update the code in the module for unique values? Your guidance would be much appreciated.

 

Thanks,

Aiswarya

0 Upvotes
Jnix284
Solution
HubSpot Employee
HubSpot Employee

You're welcome @shiyon, I'm sorry but I am not able to provide a coded solution for you.

 

If you're not a developer, I recommend posting your request for help in the #jobs channel of the Developer Slack to see if you can find someone to help. 


replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot


Jennifer Nixon
0 Upvotes
Jnix284
HubSpot Employee
HubSpot Employee

@shiyon happy to share some insight - the reason this is happening is because the original module is setting a value for the number of posts and even though you cloned the module and used different settings, the cloned module is using the same value (there is only one place in the code where the number of posts is being stored).

 

The code in the module would have to be updated so they have unique values.


replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot


Jennifer Nixon
0 Upvotes