=== Auto Infinite Scroll === Contributors: dhilditch Donate link: https://www.wpintense.com/ Tags: speed, performance Requires at least: 4.7 Tested up to: 5.8.2 Stable tag: 1.33 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Provides infinite scroll for shops and blogs or anywhere. == Description == Provides infinite scroll for woocommerce shops automatically. == Frequently Asked Questions == = Is this PHP 8 compatible? = Yes, and it's MySQL 8 and MariaDB compatible too. == Screenshots == 1. screenshot == Changelog == = 1.51 (18th January 2024) = * Added !important CSS for loading spinner to get past some aggressive theme CSS = 1.50 (18th January 2024) = * Version bump to invalidate zip cache = 1.48 (18th January 2024) = * Updated loading spinner and load more button to ensure they load AFTER the identified container - this stops the spinner turning massive like can happen on some sites using the flex grid css = 1.47 (20th December 2023) = * Improved defaults to work automatically on more themes * Added some new pagination options - choose how many pages to scroll before load more button appears - second load more button option after a different number of pages, e.g. default load 3 pages, show load more, then load 10 pages, then show load more ad infinitum - scroll to infinity checkbox option will prevent the load more buttons appearing more than once * Fixed bug related to removal of load more button for some themes - was leaving an empty item in themes which use CSS grid display = 1.46 (21st November 2023) = * Updated plugin updater to look at superspeedyplugins.com = 1.45 (21st November 2023) = * Fixed bug in API checker, it was not caching one type of result * Removed some JS console debug code = 1.44 (20th October 2023) = * Added 2 hour transient cache for reading changelog files from our server - this will speed up wp-admin slightly and prevent the 403 forbidden error messages some have been getting when trying to run plugin updates = 1.43 (13th October 2023) = * Hotfix for the append mode - one of the selectors did not append properly with the comma = 1.42 (13th October 2023) = * Fix for previous update so that replace properly performs the replace command - it previously had a preceding comma which breaks jQuery = 1.41 (13th October 2023) = * Added option to allow users to REPLACE our css selectors rather than the new default of appending to our CSS - this allows you total control over the selectors for each area - we append entries to our config by default since this is most commonly helpful for most users where they only need to add an extra post type or something for inf scroll = 1.40 (9th October 2023) = * Removed previous selector box since its unused * Updated text for page selectors to describe contents better = 1.39 (9th October 2023) = * Hotfix - items filter was not quite working - fixed that and streamlines JS a little = 1.38 (9th October 2023) = * Added new Items Filter for cases where your grids/archives have other items within them - can normally be left blank, or you can configure it to filter to only certain items within the parent wrapper * Updated config so that if you add CSS to the config screen then this *appends* to the default config - this makes it far easier to adjust config to just add the extra css required = 1.37 (12th September 2023) = * Updated updates system to match spro, ssf, sss = 1.36 (10th August 2023) = * Hotfix for new updates system - if your server was configured to disable remote URL requests, a critical error was happening upon upgrade. This has been fixed with a warning message that you cannot check for updates. = 1.35 (4th August 2023) = * Upgraded main settings page to show changes since last update - added update count to menu to help users notice * Added links to all plugin docs and support areas in the settings page = 1.34 Beta (26th July 2023) = * Upgraded updates sytem so it uses JSON and gets zip file from license-key-checked URL = 1.33 (24th November 2022) = * Further fix for FRONT-END orders in my-account and any other area too - if the wrapper is not present, the code will not run = 1.32 (24th November 2022) = * Fix for new orders screen with one client who was finding front-end scripts were loading there - this fix prevents AIS running in those cases = 1.31 (17th December 2021) = * Migrated to use bitbucket for plugin updates = 1.30 (17th December 2021) = * Hardened plugin update checker to prevent crash when checking for updates if WPI site not available = 1.29 (3rd September 2021) = * Added additional default CSS to help auto inf perform on search results pages = 1.28 (27th August 2021) = * Altered spinner to use pure CSS spinner similar to the YouTube spinner * Added Load More button text config (could previously alter this using locotranslate, now you can edit in settings) * Alter Load More button to use instead of - attempting to do this to get the button to use the themes styling = 1.27 (26th August 2021) = * Altered JS to avoid running multiple times on pages that modify the pages - e.g. advert managers or other plugins. This fixes a rare screen freeze happening with certain themes/plugins. = 1.26 (26th July 2021) = * Fixed CSS for More button to be auto-width = 1.25 (26th July 2021) = * Removed 'More' text from CSS, moved it to internationalisation version using 'auto-infinite-scroll' domain = 1.24 (1st June 2021) = * Modification to history.js to prevent warning message which makes it now compatible with Oxygen builder = 1.23 (25th May 2021) = * Minor modification to default CSS selectors for which items to ajax load = 1.22 (20th May 2021) = * Fixed bug preventing auto infinite scroll from working on non-product archives = 1.21 (3rd February 2021) = * Added MORE button on every 3rd page, this is best practice to allow the footer to be visible = 1.20 (30th September 2020) = * Added new WPI Settings page where users can enter their license key to enable plugin updates = 1.19 (27th August 2019) = * Added multisite compatibility * Improved import of required scripts and styles so that they use the plugins_url function rather than guessing at the URL based on 'current url' which could cause problems with domain mapper plugins = 1.18 (6th February 2019) = * Fixed auto updates - previously they were checking http rather thna https = 1.17 (10th January 2019) = * Improved performance by avoiding loading any scripts on non-archive pages * Fixed issue with some themes where auto infinite scroll would kick in on 'related products' and other woo shortcodes = 1.16 (23rd December 2018) = * Added 'refresh' check to wipe the local storage for the archive to allow new products to be viewed = 1.15 (19th December 2018) = * Improved theme compatibility and fixed back button issues = 1.14 (31st January 2018) = * Fixed jQuery so that regardless of how many jQueries your theme loads, auto infinite scroll will still work * Improved theme compatibility - should work on all themes now = 1.12 (31st January 2018) = * Fixed back-button behaviour so it works properly with customised products and pagination CSS wrappers - this fixes behaviour where page 1 would be reloaded after scrolling down after using back button = 1.11 (31st January 2018) = * Removed unused options for minor PHP speed-boost = 1.10 (7th January 2018) = * Fixed custom loader icon, both default icon and any customisation * Fixed 'load X pixels from end' so now it can be customised = 1.09 (7th January 2018) = * Fixed jQuery conflict with some themes/plugins where 2nd version of jQuery was imported = 1.08 (18th December 2017) = * Fixed JS bug on some browsers and some themes to do with order of loading scripts = 1.06 (5th December 2017) = * Added trigger to ajax completion of scroll