bobbingwide / oik-loader

WordPress Must Use plugin to load required plugins
0 stars 0 forks source link
blocks gutenberg-compatible lazy-load oik wordpress-mu-plugin

oik-loader

banner

WordPress Must Use plugin to load required plugins.

Description

Use the oik-loader plugin to load required plugins on demand. Dynamically loading the required plugins allow the block catalog to show live examples of blocks implemented by a wide range of plugins. Developed for use on blocks.wp-a2z.org and oik-plugins.com

Installation

  1. Upload the contents of the oik-loader plugin to the `/wp-content/plugins/oik-loader' directory
  2. Activate the oik-loader plugin through the 'Plugins' menu in WordPress
  3. Visit oik-loader admin page
  4. Click on the link to activate/update the Must Use ( MU ) plugin
  5. Click on the link to Rebuild the index - oik-loader.site.csv file in the mu-plugins folder
  6. Click on the link to Rebuild the plugin dependencies - oik-component-dependencies.site.csv file in the mu-plugins folder
  7. If required provide an oik-loader-extras.csv file in the mu-plugins folder

Frequently Asked Questions

What is this plugin for?

It helps to reduce the number of activated plugins in blocks.wp-a2z.org It dynamically loads the required plugins for a plugin, block or block_example.

Which plugins can I deactivate?

Once all the blocks for a plugin have been generated then the plugin can be deactivated.

With the following exceptions:

If not running an FSE the site should operate with/without Gutenberg being activated. Currently Gutenberg is required for an FSE theme. In v1.1.0 the logic has been changed to support different variants of the Gutenberg plugin being the activated plugin.

Screenshots

  1. None

Upgrade Notice

1.4.3

Update for PHP 8.3 support.

1.4.2

Update for PHP 8.1 and PHP 8.2 support

1.4.1

Upgrade to avoid Fatal errors when multiple posts being processed

1.4.0

Update for use with the active-plugins block/shortcode

1.3.1

Update to stop NextGEN Gallery updating active_plugins.

1.3.0

Upgrade for use on cwiccer.com

1.2.0

Upgrade for fixes to issues #6 and #12

1.1.0

Upgrade for a fix to issue #11 allowing a variation of the Gutenberg plugin to be activated.

1.0.0

Upgrade for improved support for custom taxonomies and endpoints registered by plugins, through use of the oik-loader-extras.csv file.

0.1.1

Fixes a couple of deployment problems.

0.1.0

Now supports plugin dependencies for blocks and block examples.

0.0.0

Prototype version developed with oik-magnetic-poetry. oik-blocks needs to be activated since these blocks are used by the block CPT.

Changelog

1.4.3

1.4.2

1.4.1

1.4.0

1.3.1

1.3.0

1.2.0

1.1.0

1.0.0

0.1.1

0.1.0

0.0.0

Further reading

If you want to read more about oik plugins and themes then please visit oik-plugins