Add-ons /

Single Posts

Developer documentation for the Ajax Load More Single Posts add-on.


Theme Templates

Some themes are more complicated than others with regards to implementing infinite scroll on single post templates.

To help you get started, we’re compiling a library of single.php examples for some popular WordPress themes and frameworks.

Note: You should always create a Child Theme before modifying core theme templates.


Callback Functions

almSinglePostsLoaded

The almSinglePostsLoaded() callback is dispatched after Single Posts has completed its initial setup routine on page load.

custom.js
window.almSinglePostsLoaded = function (alm) {
  console.log( 'ALM Single Posts Loaded' );
}
JavaScript

Frequently Asked Questions

Below are common questions regarding the Single Posts add-on. If you have a question and don’t see an answer here, please visit the support page and submit your request.


« Back to Add-ons