It is necessary to add function <?php if ( function_exists( 'pgntn_display_pagination' ) ) pgntn_display_pagination( 'custom', $second_query ); ?>
to the necessary place. In this function, specify the name of your custom query to the database instead of $second_query.
This article related to Pagination by BestWebSoft plugin
Additional resources: Pagination - User Guide
Still need help? Feel free to contact our friendly support team. Create a private ticket