Can I change the limit of topics?
Can I change the limit of topics?
-
Hey Aaron Zhu, can you explain more about your query? like you want to show more than 30 topics on community topic page or something else you want to do?
Thank You :)
-
Hello! I would like to know if you can bring in more than 30 community topics in the community topic page.
-
Hey Stephanie Smith, you can use API to show more than 30 community topics on topic list page. Change the topic number, remove 100 and add as per your requirement.
/api/v2/community/topics?per_page=100
See Brett's comment at the bottom to get an idea of how you can use the given API.
To show more than 30 posts on topic page: API: /api/v2/community/posts.json?per_page=100
Change posts '100' number as per your own need.
Thanks
Please sign in to leave a comment.
3 Comments