bobbingwide / oik-blocks

WordPress 5.0 blocks for oik shortcodes
https://oik-plugins.com/oik-plugins/oik-blocks
GNU General Public License v3.0
1 stars 0 forks source link

Deliver multiple build packages #17

Closed bobbingwide closed 2 years ago

bobbingwide commented 5 years ago

At present oik-blocks builds one file containing all the oik blocks built so far, regardless of the availability of the server functionality to display the block. It would be nice if the blocks could be built in such a way that the user could choose which blocks are available for content creation. The server code will evaluate the installation and only register the components needed for the required blocks.

bobbingwide commented 5 years ago

It may also be possible to deliver individual files with the appropriate plugins, providing a mechanism to bypass the oik base plugin’s shortcode logic and just deliver the blocks.

bobbingwide commented 5 years ago

The current code needs to be enhanced to implement logic to check for the existence of server logic before invoking it. It shouldn’t fail performing oik_require( $file, $plugin ); - there should be a safe option.

bobbingwide commented 2 years ago

Closing this. Replaced by #30