WordPress Development Asked by Trello on January 4, 2022
I have my own Ajax load more button system but for posts now i decide to make the same thing but for comments so after check get_comments i found that i can’t get the CURRENT page of comments like posts.
So anyone have any example to help me about this? Because comments is totally different than posts.
Well, this question is old but still has no answer!
Here is a small solution for future visitors.
Implementing load more button for comments without plugins is simple enough:
wp_ajax_
action hookwp_ajax_
function that will process the AJAX request. That's all!
But if you need the ready code, please look at this tutorial https://rudrastyh.com/wordpress/load-more-comments.html
Answered by Misha Rudrastyh on January 4, 2022
0 Asked on December 20, 2020 by jricc-russel
1 Asked on December 19, 2020 by aman-kamboj
0 Asked on December 19, 2020 by chirlet-deusa
0 Asked on December 17, 2020 by moe
2 Asked on December 16, 2020 by kristen-sepp
1 Asked on December 16, 2020 by rconrad41
advanced custom fields css wp enqueue script wp enqueue style
0 Asked on December 14, 2020 by newneo
2 Asked on December 13, 2020 by gande
3 Asked on December 13, 2020 by zk87
4 Asked on December 11, 2020 by ben-racicot
2 Asked on December 10, 2020 by anuj-kaithwas
1 Asked on December 10, 2020 by patrick-paul
2 Asked on December 9, 2020 by mauro-bringolf
0 Asked on December 8, 2020 by santiago-cuartas-rmrz
Get help from others!
Recent Answers
Recent Questions
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP