• Plugin from
    Here

    Ok so this plugin adds a pretty slick load more button to the bottom of my archive pages, works really well and integrates seamlessly.

    It uses data attributes and a short code to send all the data to a script file, then from there into a loop.

    The short code im using is as follows >>>
    [ajax_load_more display_posts=”5″ post_type=”post” max_pages=”5″ transition=”fade” button_text=”Older Posts”]

    So i simply change the data-post-type attr to the custom post type of each archive-$post-type.php

    However, I have a page template that im using for displaying “All” posts from three post types “News, Blog & Events”.

    What im looking to do is to store multiple values as a single attr.

    Any ideas

  • The topic ‘WP Ajax Load More’ is closed to new replies.