sql wordpress pagination

For example, I want Page remaining comments after calling 50 comments. the page where I call the function Gündem function page function get_last_commented_articles ($ limit = 10, $ ul_classes =…