using custom paged variable in get_previous_posts_link() function


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?

zahra_oveyedzade 2 years 2020-09-26T07:10:23-05:00 0 Answers 20 views 0

Leave an answer