using custom paged variable in get_previous_posts_link() function

Question

Is there any way to use a custom paged variable in get_previous_posts_link function?
I have two different custom loop on one page and need to have two different and independent pagination for these two loops.
according to this answer, the problem is solved by it uses paginate_links for pagination.
I need to use get_previous_posts_link because it gives me the ability to customize the style of pagination.
is it any solution to use custom paged variable and not global paged in get_previous_posts_link function?
Thanks

0
zahra_oveyedzade 4 months 0 Answers 20 views 0

Leave an answer