Title: VK Dynamic If Block
Author: Vektor,Inc.
Published: <strong>Ebrill 27, 2023</strong>
Last modified: Mawrth 17, 2026

---

Search plugins

![](https://ps.w.org/vk-dynamic-if-block/assets/banner-772x250.png?rev=3484565)

![](https://ps.w.org/vk-dynamic-if-block/assets/icon.svg?rev=3484565)

# VK Dynamic If Block

 Gan [Vektor,Inc.](https://profiles.wordpress.org/vektor-inc/)

[Llwytho i lawr](https://downloads.wordpress.org/plugin/vk-dynamic-if-block.zip)

 * [Details](https://cy.wordpress.org/plugins/vk-dynamic-if-block/#description)
 * [Reviews](https://cy.wordpress.org/plugins/vk-dynamic-if-block/#reviews)
 *  [Installation](https://cy.wordpress.org/plugins/vk-dynamic-if-block/#installation)
 * [Development](https://cy.wordpress.org/plugins/vk-dynamic-if-block/#developers)

 [Cefnogaeth](https://wordpress.org/support/plugin/vk-dynamic-if-block/)

## Disgrifiad

VK Dynamic If Block is a custom WordPress block, primarily designed for FSE, that
allows users to display Inner Block based on specified conditions. With this block,
you can show or hide Inner 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.

## Blocks

This plugin provides 1 block.

 *   Dynamic If

## Gosod

 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.

## Cwestiynau Cyffredin

### Can I use multiple conditions?

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

## Adolygiadau

![](https://secure.gravatar.com/avatar/7f8ccbe2b3e45cc635bbdd172b251816e71ae969bb1c14c7c4861ff299304a17?
s=60&d=retro&r=g)

### 󠀁[1.3.0でのBogo連携時にLanguageが選択できない](https://wordpress.org/support/topic/1-3-0%e3%81%a7%e3%81%aebogo%e9%80%a3%e6%90%ba%e6%99%82%e3%81%ablanguage%e3%81%8c%e9%81%b8%e6%8a%9e%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84/)󠁿

 [prspyy](https://profiles.wordpress.org/prspyy/) Awst 19, 2025

※サポートへ記載するべき内容だったので内容を削除しました

![](https://secure.gravatar.com/avatar/08da875fad10ebe05e07dd03bc9a434c79f08f2240c2e57946eadd8f495e01b6?
s=60&d=retro&r=g)

### 󠀁[Also useful with classic theme.](https://wordpress.org/support/topic/also-useful-with-classic-theme/)󠁿

 [Toshihiko Tsushima](https://profiles.wordpress.org/uonumajs/) Mehefin 30, 2023

I’m using this plugin with Lightning (a classic theme). It also works fine with 
this classic theme, and in some cases it’s better than using action hook.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/vk-dynamic-if-block/reviews/)

## Contributors & Developers

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

Cyfranwyr

 *   [ Vektor,Inc. ](https://profiles.wordpress.org/vektor-inc/)
 *   [ Hidekazu Ishikawa ](https://profiles.wordpress.org/kurudrive/)
 *   [ Daiki Oshima ](https://profiles.wordpress.org/doshimaf/)
 *   [ Toro_Unit (Hiroshi Urabe) ](https://profiles.wordpress.org/toro_unit/)

“VK Dynamic If Block” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/vk-dynamic-if-block/contributors)
for their contributions.

[Translate “VK Dynamic If Block” into your language.](https://translate.wordpress.org/projects/wp-plugins/vk-dynamic-if-block)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/vk-dynamic-if-block/),
check out the [SVN repository](https://plugins.svn.wordpress.org/vk-dynamic-if-block/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/vk-dynamic-if-block/)
by [RSS](https://plugins.trac.wordpress.org/log/vk-dynamic-if-block/?limit=100&mode=stop_on_copy&format=rss).

## Cofnod Newid

#### 1.6.0

[ Specification change ] Change the display order of page settings UI for Page Type
> is_page.

#### 1.5.1

[ Specification change ] Change the version number to four segments.
 [ Specification
change ] Lightweight and faster author extraction method. [ Bug fix ] Fix an issue
where blocks wobble on the template list screen in the site editor. [ Bug fix ] 
Fix console warning message. [ Other ] Fix editor CSS loading method.

#### 1.5.0

[ Add Function ] Added specific page selection functionality for Page Type conditions.

#### 1.4.2

[ Bug fix ] Fix an issue where else block content is cut off in the middle for complex
HTML structures.

#### 1.4.1

[ Bug fix ] Fix an issue where the date input field is not displayed when “Direct
input in this block” is initially selected for display period conditions.

#### 1.4.0

[ Add Function ] Add Else block functionality to display alternative content when
conditions are not met.

#### 1.3.2

[ Bug fix ] Fix an issue where the condition label is not translated.
 [ Bug fix]
Fix Language condition error

#### 1.3.1

[ Bug fix ] Fix translation not working for some labels.

#### 1.3.0

[ Add Function ] Added condition to display content based on specific taxonomy and
terms.
 [ Add Function ] Added condition to display only to mobile devices. [ Other]
Fix translation

#### 1.2.0

[ Other ] Prevent automatic migration of old block structure on frontend and migrate
to new structure when saving in editor.

#### 1.1.0

[ Add Function ] Add page hierarchy conditions (parent/child page) to page type 
and post type conditions for pages.
 [ Bug fix ] Fix an issue where duplicating 
the VK Dynamic If Block caused all instances to share the same condition. [ Bug 
fix ] Fix Label color

#### 1.0.0

[ Specification Change ] Changed UI to stacked condition format.

#### 0.9.4

[ Other ] Update alert message

#### 0.9.3

[ Specification change ] Change version 1 download url to GitHub from .org
 [ Bug
fix ] Fix Label color

#### 0.9.2

[ Specification change ] Added update notification for version 1.

#### 0.9.1

[ Specification change ] Add the condition !is_year() && !is_month() && !is_date()
for Post Type Archives.

#### 0.8.6

[ Specification change ][ Author Archive ] Changed to target only users with the
role of Contributor or higher who have at least one published article.

#### 0.8.5

[ Add Function ][ Author Archive ] Allow specifying the author.
 [ Bug Fix ] Fix
readme typo

#### 0.8.4

[ Add Function ] Add exclusion indicator to condition labels.

#### 0.8.3

[ Specification change ] Fixed the zoom-out toggle not always displaying in the 
editor toolbar (updated blocks.json API version from 2 to 3).

#### 0.8.1

[ Bug Fix ] Fixed an issue where en_US could not be specified in the language selection
options.

#### 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

## Meta

 *  Version **1.6.0**
 *  Last updated **1 mis yn ôl**
 *  Active installations **3,000+**
 *  WordPress version ** 6.4 neu uwch **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.4 neu uwch **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/vk-dynamic-if-block/) a [Japanese](https://ja.wordpress.org/plugins/vk-dynamic-if-block/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/vk-dynamic-if-block)
 * Tags
 * [conditional display](https://cy.wordpress.org/plugins/tags/conditional-display/)
   [custom field](https://cy.wordpress.org/plugins/tags/custom-field/)[if](https://cy.wordpress.org/plugins/tags/if/)
 *  [Advanced View](https://cy.wordpress.org/plugins/vk-dynamic-if-block/advanced/)

## Graddau

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/vk-dynamic-if-block/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/vk-dynamic-if-block/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/vk-dynamic-if-block/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/vk-dynamic-if-block/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/vk-dynamic-if-block/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/vk-dynamic-if-block/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/vk-dynamic-if-block/reviews/)

## Cyfranwyr

 *   [ Vektor,Inc. ](https://profiles.wordpress.org/vektor-inc/)
 *   [ Hidekazu Ishikawa ](https://profiles.wordpress.org/kurudrive/)
 *   [ Daiki Oshima ](https://profiles.wordpress.org/doshimaf/)
 *   [ Toro_Unit (Hiroshi Urabe) ](https://profiles.wordpress.org/toro_unit/)

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](https://wordpress.org/support/plugin/vk-dynamic-if-block/)