VK Dynamic If Block

Description

VK Dynamic If Block is a custom WordPress block, primarily designed for FSE, that allows users to display Innder Block based on specified conditions. With this block, you can show or hide Innder Block depending on various conditions, such as whether the current page is the front page or a single post, the post type, or the value of a Custom Field.

Screenshots

  • Block settings in the editor sidebar.
  • Dynamic If block in the site editor.
  • Dynamic If block in the site editor.

Blocks

This plugin provides 1 block.

  • Dynamic If

Installation

  1. Upload the plugin files to the ‘/wp-content/plugins/vk-dynamic-if-block’ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the block editor to add a “Dynamic If” block to your post or page.

FAQ

Can I use multiple conditions?

You cannot specify too many conditions.
However, by nesting Dynamic If Blocks, various conditional branching can be handled.

Reviews

Read all 1 review

Contributors & Developers

“VK Dynamic If Block” is open source software. The following people have contributed to this plugin.

Contributors

“VK Dynamic If Block” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “VK Dynamic If Block” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.8.0

[ Add Function ] Add a conditional branching function based on language.

0.7.0

[ Add Function ] Added condition to display only to login user.
[ Specification Change ] Fix WordPress 6.3 transforms settings.

0.6.3

[ Fix ] Fixed a bug related to the period setting when referencing a custom field.

0.6.2

[ Fix ] Fix the bug in conditional branching based on user roles.

0.6.1

[ Fix ] Correct the translation

0.6.0

[ Add Function ] Added user roles condition
[ Add Function ] Added date condition
[ Fix ] Added UserRole label to block.

0.5.0

[ Add Function ]Added transforms settings to wrap and unwrap.

0.4.3

  • [ Bug fix ] Fixed bug in conditional branching based on custom field values

0.4.1

  • Update descriptions

0.4.0

  • Add custom field conditions

0.3.1

  • Fix translate

0.3.0

  • Add exclusion setting

0.2.7

  • Set text domain for translations

0.2.6

  • Set text domain for translations

0.2.4

  • Fix readme

0.2.3

  • Add fallback for vendor files failed to deliver or load.

0.2.1

  • Add default paragraph block

0.2.0

  • Add conditions

0.1.0

  • Initial release