WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by janwidmer v2.9.1

Lazy Blocks: Select Dynamic Control

lazy-blocks custom control to offer a dynamic select containing wordpress posts, pages or categories

Lazy Blocks: Select Dynamic Control

The facts

Rating
5★ from 4
Active installs
500+
Price
Free
Last updated
14 Mar 2025
Added
Oct 2020
Requires WP
5.8
Tested up to
WP 6.7.7
Requires PHP
7.2
Downloads
7,199

Our analysis

AI-assisted

Lazy Blocks: Select Dynamic Control is a WordPress plugin that enhances the Lazy Blocks Plugin by allowing authors to select from WordPress posts, pages, or categories. It dynamically renders a select dropdown based on the chosen entity type, which can include post types, taxonomy types, posts, pages, and custom taxonomies.

This plugin is suitable for users who want to implement custom controls in their blocks, particularly those who need to manage multiple entity selections. It is designed for WordPress developers looking to create more interactive and user-friendly content editing experiences.

Best for: This plugin suits WordPress developers and site owners looking to improve content management through custom controls.

What it does well

  • Enhances the Lazy Blocks Plugin
  • Offers dynamic selection of posts, pages, and categories
  • Supports multiple selections for certain entity types
  • Can handle custom taxonomies with REST option enabled

Where it falls short

  • Limited to a maximum of 100 entities for dropdown options
  • Initial loading time may vary based on the number of pages

Verdict

Lazy Blocks: Select Dynamic Control provides useful functionality for custom block development, though it has some limitations regarding entity selection and loading times.

From the developer

janwidmer's own description of Lazy Blocks: Select Dynamic Control, lightly tidied.

This custom control enhances the great Lazy Blocks Plugin and can be used in blocks to offer
the WordPress Author to choose either wordpress posts, pages or categories.

Features

  • The custom control dynamically renders a select with options based on the chosen entityType
  • Available entity types are
    • Post Type
    • Taxonomy Type
    • Post (Default or Custom post types)
    • Page
    • Taxonomy (Tags, Categories, Custom Taxonomy)

    Restrictions

    Select Multiple Restrictions

    • The option “Select Multiple” is only available for the entity type Post / Pages / Taxonomy

    Max Item Restriction

    The custom control is using the getEntityRecords method.

    • This method can load a maximum of 100 entities and render them as dropdown options
    • When choosing the entity type Page, depending on the number of pages you have, the first time, the call might take
      a while, as the whole page object get’s loaded
    • To use a custom taxonomy type, make sure to activate the REST option in the register_taxonomy function by adding 'show_in_rest' => true,
    • Parent Entity Restriction does only work for Pages / Categories / Custom Taxonomies, as other Entity Types (e.g. Posts / Tags) cannot be nested
    • For the entityType post-type, an ignore list excludes all wordpress related post types:
      • pages, media, blocks, menu-items, navigation, templates, template-parts, lazyblocks, lazyblocks_templates

      Usage

      You can use the custom control exactly how you use normal controls for lazy blocks

      Read the full description on the official page →

Tagged as