DMD Infinite Scroll

April 17, 2017

DMD Infinite Scroll Plugin

Infinite scroll and AJAX pagination for WooCommerce and WordPress

Plugin provide AJAX loading for WooCommerce products and can be used for any other posts. Paginate up to 10 sets of posts in the same template.

Can be compatible with any other AJAX plugins, that has option to call custom JavaScript code.

  • Infinite Scroll – Automatically load new products(posts) when the user scroll down and reaches the bottom of the products(posts).
  • Load More Button – Click to load new products(posts).
  • Pagination – Normal pagination but load the next page with AJAX.

Use one plugin for different pages and post types. Work great with WordPress and WooCommerce

Features

  • Infinite scroll, load more buttons or AJAX pagination for posts and products.
  • Multiple sets of settings.
  • Infinite scroll and load more button for next page and previous page.
  • Only the required number of pages is displayed at the same time.
  • Page can be scrolled to the top, when products is replaced.
  • Custom threshold for infinite scroll
  • Custom load image can be loaded.
  • Easy stylization for next page button and previous page button.
  • Custom JavaScript code can be execute before or after posts(products) load
  • HTML5 PushState

Setup

  • Once the plugin is installed navigate in admin area to “DMD Infinite Scroll”( “DMD Plugins” -> “DMD Infinite Scroll” ).
  • Select theme from drop down list “Presets”. If your theme isn’t listed then add the correct selectors.
  • You can use special tool to setup selectors(work only for “Setting set 1”)
  1. Your site with posts(products) must contain at least 3(three) pages.
  2. Open second page.
  3. Add to the page link “?dmd_is=selectors” or “&dmd_is=selectors” if link already has “?” symbol.
  4. Click on element and move to the previous element with “Parent” button on right and bottom.
  5. Red border show element, that selected.
  6. Click next if this is correct element.
  • This is experimental tool. It may not work with some themes. It is also sometimes necessary to edit the result of yourself.
  • If this tool isn’t work for you, then use your browser developer tools.
  • “Posts Selector” The selector that wraps all of the posts/products.
  • “Post Selector” The selector of an individual post/product.
  • “Pagination Selector” The selector of the post/product pagination.
  • “Next Selector” The selector of the pagination next link.
  • “Previous Selector” The selector of the pagination next link.
  • “Pages Selector” The selector of the other pagination links.
  • Choose settings, that you want.
  • Click “Save Changes”.

Multiple sets of settings

  • Select in “Sets count” option how many sets you need.
  • Click “Save and reload” button.
  • You can navigate between settings sets with help of “Current set” drop down list.

Styling

  • You can style buttons in admin area.
  • Navigate to “DMD Infinite Scroll”( “DMD Plugins” -> “DMD Infinite Scroll” )
  • Open “Styles” tab.
  • Click on “Edit styles” button.
  • Click option(Margin, Border, Padding, Content) to edit it.

  • Also you can style any button with help of CSS code.

  1. “div.dmd_next_page” – wraper for next page button. “div.dmd_next_page a.button” – next page button.
  2. “div.dmd_previous_page” – wraper for previous page button. “div.dmd_previous_page a.button” – previous page button.
  3. “div.dmd_ajax_product_load” – wraper for loading image. “div.dmd_ajax_product_load img” – loading image.

Screenshots

  1. /assets/screenshot-1.png

    /assets/screenshot-1.png

FAQ

Installation Instructions

Upload in the WordPress Dashboard

  1. Click “Upload Plugin” in the plugins dashboard.
  2. Choose “dmd-infinite-scroll.zip” from your computer.
  3. Click “Install Now”.
  4. Activate the plugin in the plugins dashboard.

Upload With FTP

  1. Upload the “dmd-infinite-scroll” folder to the “/wp-content/plugins/” directory.
  2. Activate the plugin in the plugins dashboard.

Why infinite scroll doesn’t work on my site?(doesn’t load products? doesn’t remove pagination?)

  1. Please check, that you have correct selectors.
  2. Check, that front end page with post(products) doesn’t have JavaScript errors.

How can I get feature, that plugin doesn’t have?

  1. Create topic on support with feature request.
  2. Wait for answer is it possible to add this feature and is it planned to add this feature.
  3. If this is possible to add it, but you don’t want to wait or it is not planned to add it, then you can send donation to provide stimulus to add this feature.

Changelog

0.9.1

  • Fixes: Some files was missed

0.9.0

  • Features: Lazy Load for images
  • Features: Animation for post/product with Lazy Load
  • Features: Preset for Twenty Seventeen theme
  • Features: More presets for WooCommerce
  • Fixes: border styles doesn’t work with some themes
  • Fixes: WooCommerce products count fix
  • Fixes: Settings page style

0.8.0

  • First beta version(use it on live site on your own risk).

Details

  • Version: 0.9.1
  • Active installations: 100
  • WordPress Version: 4.2
  • Tested up to: 4.7.29

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars