• Hi,
    I followed the instructions of the page connekthq.com/plugins/ajax-load-more/examples/filtering/ but do not works.

    I added Javascript code and navigation html…

    <ul id="alm-filter-nav">
      <li><a href="#" data-repeater="default" data-category="rumors" data-posts-per-page="5" data-scroll="true" data-button-label="Load More rumors">Rumors</a></li>
      <li><a href="#" data-repeater="default" data-category="recensioni"  data-posts-per-page="5" data-scroll="true" data-button-label="Load More Recesioni">Recensioni</a></li>
    </ul>

    Could you help me.
    Thanks

    https://wordpress.org/plugins/ajax-load-more/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    I can, but i would need to see a link to your issue.

    Cheers,

    Thread Starter microtag

    (@microtag)

    If I click on uno or due not load new items.

    link

    code:

    <ul id="alm-filter-nav">
      <li><a href="#" data-repeater="default"  data-post-type="post" data-category="uno" data-posts-per-page="2" data-scroll="true" data-button-label="Load More uno">UNO</a></li>
      <li><a href="#" data-repeater="default"  data_post-type="post" data-category="due" data-posts-per-page="2" data-scroll="true" data-button-label="Load More due">DUE</a></li>
    </ul>
    
    <?php echo do_shortcode('[ajax_load_more repeater="default" post_type="post" scroll="false" posts_per_page="2" button_label="Load more"]'); ?>

    Plugin Author Darren Cooney

    (@dcooney)

    You need to add the Javascript to your sites JS
    See on this page – https://connekthq.com/plugins/ajax-load-more/examples/filtering/#javascript

    Thread Starter microtag

    (@microtag)

    I transferred the files from localhost and I forgot JS … but after adding the JS does not work.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem filtering by category’ is closed to new replies.