Ajax Load More feature
Now you can use Load More ajax buttons from the box.
Usage:
- add "new JustLoadMore();" inside Theme::support_plugins() method
- use "cpt_next_posts_link()" helper function to print Load more link. You should use 3rd parameter as 'data-selector="" data-container=""'
Where:
- selector: css-style selector (by class/id) of container with ajax loaded content (Example: ".items")
- container (optional): css-style selector (by class/id) of the container to insert new html to (Example: "#content")