- Contributors: bobbingwide
- Donate link: http://www.oik-plugins.com/oik/oik-donate/
- Tags: upload, plugin, theme
- Requires at least: 4.4
- Tested up to: 6.4.1
- Stable tag: 0.2.1
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
Ajaxifies the output of paged shortcodes so that more content can be loaded to replace the existing content.
- Upload the contents of the oik-ajax plugin to the
/wp-content/plugins/oik-ajax
directory - Activate the oik-ajax plugin through the 'Plugins' menu in WordPress.
- To reduce server load
- To improve end user experience
It hooks into filters which are invoked by oik when a shortcode is invoked.
It wraps the output of a paginated shortcode with a div and some jQuery code that hooks into each of the pagination links.
In order to achieve this it needs some additional information that is passed back to the server.
- None yet
Update for support for PHP 8.1 and PHP 8.2
Update for a fix for WordPress Multi Site
Update for compatibility with jQuery 3.5.1 - planned for WordPress 5.6.0
Formal release. Tested with WordPress 4.7.1
For testing on herbmiller.me and bobbingwide.org.uk
Supports ajaxified pagination of code using meta_query in the get posts query
Now fetches the required post for context
New plugin, also available from GitHub and oik-plugins.
- Changed: PHPUnit test with PHP 8.1 and PHP 8.2
- Tested: With WordPress 6.4.1 and WordPress Multisite
- Tested: With PHP 8.1 and PHP 8.2
- Tested: With PHPUnit 9.6
- Fixed: Add oikai_get_ajaxurl() for use when blog switched,#5
- Tested: With WordPress 6.0.1 and WordPress Multi Site
- Tested: With PHP 8.0
- Fixed: Avoid deprecated messages with jQuery 3.5.1,#7
- Tested: With WordPress 5.5.1
- Tested: With PHP 7.4
- Changed: banner image
- Tested: With WordPress 4.7.1 and WordPress Multisite
- Tested: With WordPress 4.5-RC1
- Added: Support ajaxified pagination of shortcode / queries with meta_query in $atts #4
- Added: Scroll to start of a new page on update #3
- Fixed: Need to push and pop to only wrap the current section
- Added: Support pagination of shortcodes with nested content #1
- Added: oika_get_post() fetches the selected post before running the shortcode
- Added: New plugin - to improve the end user experience of WP-a2z.com and oik-plugins.com