In this example:
Ajax Load More will use the Call to Actions add-on to insert a random quote into the results of the Ajax query.


    JavaScript
    The following JavaScript code pulls a random quote from an array and appends the quote to the .ad-callout container returned with Ajax Load More.

     

    The following shortcode was used to create the CTA Example: Random Quote example.

    [ajax_load_more cta="true" cta_position="after:2" cta_theme_repeater="custom-cta.php" posts_per_page="4images_loaded="true"]

    The following Repeater Template was used to create the CTA Example: Random Quote example.