bobbingwide / oik-patterns

Patterns loader and cache
GNU General Public License v3.0
0 stars 0 forks source link
gutenberg-patterns wordpress-plugin

oik patterns

banner

Exports and imports patterns for the block editor.

Description

Enables loading and display of a theme's patterns even when the theme is not active.

Also loads patterns from selected themes which don't include their own logic.

Installation

  1. Upload the plugin files to the /wp-content/plugins/oik-patterns directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. For each theme which delivers patterns use the preview_theme=theme query parameter to load the cache with the theme's patterns.

Frequently Asked Questions

Which patterns are loaded?

Are these patterns translatable?

Yes, if we use my proposal for internationalization and localization of templates and template parts AND if I implement code to look in the user's current locale.

Screenshots

  1. None yet

Upgrade Notice

0.2.0

Upgrade to display a theme's patterns in WP-a2z and to support PHP 8.2

0.1.3

Upgrade for improved pattern loading of html files from any block based theme.

0.1.2

Upgrade for minor performance improvements #4

0.1.1

Update for theme and template validation for preview_theme query arg

0.1.0

Update for pattern caching and improved loading from the patterns folder.

0.0.0

This is a prototype plugin.

Changelog

0.2.0

0.1.3

0.1.2

0.1.1

0.1.0

0.0.0