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:
- Create a button if comment pages are 2 and more
- Create a jQuery script that will process the button click event and passes the current comment page number to
wp_ajax_action hook - The last step – is
wp_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
Related Posts:
- How to use WordPress (PHP) functions in AngularJS partials files?
- Click loads template via ajax
- How to speed up admin-ajax.php in wordpress
- How do I fetch all comments per post via WP REST API?
- dynamic dependent select dropdown
- Why i can’t get custom fields value or post ID via Ajax?
- Update $wpdb query with AJAX
- How to call a function from functions.php with ajax?
- WordPress load javascript file if something… (after the page is loaded)
- Find the method which AJAX GET calls
- Trouble figuring out how to get my button to submit comment
- How to hide .js files on wordpress website using php or wp plugins or any? [closed]
- I got this error POST https://localhost/meraboilerwp/[object%20Object] 404 (Not Found)
- Pass media upload value to input field
- JqueryUi Dialog giving Uncaught TypeError: this._addClass is not a function error
- WordPress Infinite Scroll without using any plugin
- WordPress Ajax always returns a 404 error
- Change comments form title on a page by page basis
- Is there a reason why my wordpress PHP page isn’t loading into my PHP template
- Understanding WordPress child theme custom JS loading
- How can I loop into two different DIVS without repeating the DIVs
- Display notification only once
- Replace comment avatars and links at the same time
- javaScript in section of WP API
- Using wp_localize_script to store the template url into a variable to use in JS
- Adding ads code between comments
- Colorbox ajax loading of outside HTML content works perfect on localhost but not on server
- Slide in Panel WordPress Post
- Sending jsPDF documents to the server
- Using shipped version of jquery
- comments_number display outside specified span
- Trying to implement Ajax comments in WordPress, getting WP error
- js file in root loading without
- WooCommerce – Reset quantity input field when variation changes
- class click counter save number
- jQuery not defined
- AJAX request status 200 but no actual “response”
- Use menu link or onClick to set a variable
- Create another “Display Site Title and Tagline” checkbox, “Header Text Color” setting and control
- Populate dropdown with Child Pages based on Parent Page chosen
- Pass Category Name, Description and Photo into variables to pass to jQuery
- JS file work only in index page
- Ajax request not sending to server and returning – wp-admin/admin-ajax.php 400
- Save Search System
- Limit 1 global comment per minute
- Menu jumping when calling it via PHP
- Create Page To Count Comments For Each Post In WordPress Site
- Setting value of session with Ajax not working
- Post repeating with infinite scroll
- wp-comments-post.php file returns a blank page
- php function to display commenter username or login
- How to disable controls in theme customizer?
- How do I Import / Upload Files with jQuery AJAX?
- Alter required message using comment form api
- Noscript not working as it should in wordpress site
- WordPress Ajax Call inserting data but success response false
- What are the advantages/disadvantages of using jQuery DOM manipulation as opposed to PHP DOM manipulation?
- Is it save to use eval for a jQuery callback method coming from the database?
- Function won’t run onclick using Ajax
- Fetching Initials of the Commentator in the WordPress Website
- Execute Jquery when a specific page in my plugin is loading
- Change Query Arguments (filter) with jQuery/Ajax or PHP?
- Execute PHP code only with specific user role
- How to set value selected using select2 jquery plugin
- Tracking Visitor LatLng with WordPress using JS, PHP. How to put data which was extract using JS into DB
- WordPress User Meta value variable into Google Gauge Chart
- Show all people who commented on all posts by an author
- Gutenberg block don’t save rich text content
- Ajax filter with loadmore button
- Admin-ajax.php 404 error
- How to pass values from one function to the other using an array variable
- Trying to add some custom text into WordPress Post title via function.php
- Using Javascript On Page – Header and Footer Now Missing
- AJAX to add to cart multiple products woocommerce
- Adding extra data to shortcode attributes and pass it to JS with wp_localize_script
- How do I make comment-reply-button with that takes to comment reply form on click
- How to echo a PHP code into WooCommerce variation product?
- How can i get the same ajax result using WP REST API instead of admin-ajax?
- Custom Post type Ajax search results
- include javascript Multiple files in wordpress through script.js
- ACF + WP + Slick Slider Repeater Slide Group PHP not Displaying [closed]
- Default Image not showing up in Customizer for WP_Customize_Cropped_Image_Control
- How to create a radio button to alt between settings in wp_options table
- Why I’m Not Having Access to “$_POST” Data Outside My AJAX Callback?
- Add a downloaded JS file to WordPress
- How to call javascript function (jquery) in a shortcode?
- 500 (Internal Server Error) of external php file
- How can I correctly POST to a WordPress page?
- Dynamic Gallery
- Cannot get custom javascript to execute on page
- how can I make content from a plugin hidden when user is logged in? [duplicate]
- JSON Object Value Show Undefine
- Adding jquery using php function
- notify users when changed database
- How to use js variable to php in wordpress functions.php
- Show Login Errors In WordPress/Elementor (Code “works”, but breaks site)
- hiddenQuestions.find is not a function
- Retrive the value of the Active variation of the product and then link it to the “read more” to dynamically change
- JQuery UI Autocomplete showing as bullets
- Hide or Show Read More Button by Content Area