You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WordPress core provides around 25 blocks and a multitude of different embeds.
Page Builders such as Div, Beaver Builder, Fusion Builder and SiteOrigin Page Builder provide additional blocks.
Some of these blocks are already supported by shortcodes provided by oik or oik-extension plugins.
Some of the blocks can be made using combinations of oik-shortcodes and jQuery - i.e. mystery meat.
Analysing the table of blocks/modules provided by core and a selected set of Page Builders we can determine which blocks are most likely to be required in the hybrid migratory period from classic WordPress to block based content.
We need to create a plan for the development of these blocks.
Requirements summary
Taken from a summary table of known blocks/modules for the above mentioned page builders
the following blocks are required.
This requirements summary only covers a small subset of the shortcodes available from oik plugins.
The priorities are very likely to change
There is also a generic requirement for an enhanced Shortcode block.
Proposed development process
Develop prototype blocks using shortcodes.
Initially implement the code using server side shortcode expansion.
Start with default processing
Add support for parameters
Determine which parameters should be Advanced Settings and which should be displayed in the block.
Attempt to develop the enhanced shortcode block while discovering how to do the above.
Determining default parameters
Many of the oik shortcodes determine the values that they use from a variety of sources.
Shortcode parameters
Context/content sensitive - post type, post meta data
User defined options
Global options
The block should be sensitive to this.
For example. The default processing for [bw_show_googlemap] is to display the map associated with the company's primary address as stored in the global options field set bw_option. The alt= parameter allows selection of a different address.
When oik-user is activated the address is determined from the defined user, which can be specified as a parameter or default to the post's author.
Most values can be overridden using shortcode parameters.
Parameter overrides do not change the stored values.
We need to determine whether or not the stored values an be updated directly from the block. If not, what mechanism should we provide to allow the user to access those settings.
The text was updated successfully, but these errors were encountered:
Background
Requirements summary
Taken from a summary table of known blocks/modules for the above mentioned page builders
the following blocks are required.
Notes:
Proposed development process
Determining default parameters
Many of the oik shortcodes determine the values that they use from a variety of sources.
The block should be sensitive to this.
For example. The default processing for [bw_show_googlemap] is to display the map associated with the company's primary address as stored in the global options field set bw_option. The alt= parameter allows selection of a different address.
When oik-user is activated the address is determined from the defined user, which can be specified as a parameter or default to the post's author.
Most values can be overridden using shortcode parameters.
Parameter overrides do not change the stored values.
We need to determine whether or not the stored values an be updated directly from the block. If not, what mechanism should we provide to allow the user to access those settings.
The text was updated successfully, but these errors were encountered: