Thanks tamedo for helping out!
This plugin does require some knowledge of editing PHP templates and HTML. For example if you wanted the load more button on your archive pages, you will have to open up archive.php
either in the WordPress editor (Appearance > Editor) or any text editor you prefer. Somewhere in the template you should see this:
<?php
while ( have_posts() ) : the_post();
...
endwhile;
?>
This is the start of the WordPress Loop. Your template may already have a <div>
, <ul>
, or some other element wrapping this loop. If you don’t you will have to add one. You also need to either find or add the id for this element. So your template should look something like this:
<div id="ajax">
<?php
// Start the Loop.
while ( have_posts() ) : the_post();
...
// End the loop.
endwhile;
?>
</div><!-- closing the #ajax element -->
Under the settings for this plugin (Settings > Easy Load More), you want to enter that unique id or classname in the field for “Post List Wrap Selector”. For this example that would be “#ajax”.
Back in the template you then want to add the code to display the load more button. Our template will now look like this:
<div id="ajax">
<?php
// Start the Loop.
while ( have_posts() ) : the_post();
...
// End the loop.
endwhile;
?>
</div><!-- closing the #ajax element -->
<?php load_more_button(); ?>
That’s it! Naturally this will probably look slightly different on your own site unless you are using the Twenty Fifteen theme, but the idea is the same. The loop needs to be wrapped in a HTML element with a unique class or id, and the load more button function needs to be added after it.
I hope this detailed installation guide is a little more helpful.