Hello,
Please note Porto Admin is a static HTML, CSS and JS template. The only way to check if a page has more than 10 posts and then show the pagination is trough a server side code, where you get the posts from database, calculate the number of pages and display the appropriate pagination.
You can simply hide the pagination by adding a d-none
class in the pagination HTML tag, but this will not be dynamic, and even if you have more than 10 posts, the pagination will remain hidden.
We hope this clarify!
Kind Regards,
Rodrigo.
If you are satisfied with Porto Admin and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads