{"id":130287,"date":"2020-10-23T12:25:34","date_gmt":"2020-10-23T12:25:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/lzb-select-dynamic\/"},"modified":"2025-03-14T06:54:49","modified_gmt":"2025-03-14T06:54:49","slug":"lzb-select-dynamic","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/lzb-select-dynamic\/","author":18332152,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.9.1","stable_tag":"2.9.1","tested":"6.7.5","requires":"5.8","requires_php":"7.2","requires_plugins":null,"header_name":"Lzb Select Dynamic","header_author":"Jan Widmer","header_description":"lazy-blocks custom control to offer a dynamic select containing wordpress posts, pages or categories","assets_banners_color":"147314","last_updated":"2025-03-14 06:54:49","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/janwidmer\/lzb-select-dynamic","header_author_uri":"https:\/\/github.com\/janwidmer","rating":5,"author_block_rating":0,"active_installs":500,"downloads":6889,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"janwidmer","date":"2020-10-23 12:25:31"},"1.0.2":{"tag":"1.0.2","author":"janwidmer","date":"2020-10-23 12:32:17"},"1.1.4":{"tag":"1.1.4","author":"janwidmer","date":"2020-11-18 20:57:43"},"1.1.5":{"tag":"1.1.5","author":"janwidmer","date":"2021-05-21 08:21:38"},"2.1.0":{"tag":"2.1.0","author":"janwidmer","date":"2021-05-31 09:44:21"},"2.1.1":{"tag":"2.1.1","author":"janwidmer","date":"2021-06-11 04:48:15"},"2.1.3":{"tag":"2.1.3","author":"janwidmer","date":"2021-10-18 12:28:31"},"2.1.4":{"tag":"2.1.4","author":"janwidmer","date":"2021-10-18 12:34:39"},"2.1.6":{"tag":"2.1.6","author":"janwidmer","date":"2022-01-03 09:08:03"},"2.2.0":{"tag":"2.2.0","author":"janwidmer","date":"2022-02-07 08:30:37"},"2.2.1":{"tag":"2.2.1","author":"janwidmer","date":"2022-02-07 10:44:37"},"2.4.0":{"tag":"2.4.0","author":"janwidmer","date":"2022-07-04 09:09:53"},"2.4.1":{"tag":"2.4.1","author":"janwidmer","date":"2022-08-04 06:50:58"},"2.6.0":{"tag":"2.6.0","author":"janwidmer","date":"2022-08-26 20:11:09"},"2.7.0":{"tag":"2.7.0","author":"janwidmer","date":"2023-09-16 14:28:17"},"2.8.0":{"tag":"2.8.0","author":"janwidmer","date":"2023-09-16 14:32:27"},"2.9.0":{"tag":"2.9.0","author":"janwidmer","date":"2024-11-23 07:34:44"},"2.9.1":{"tag":"2.9.1","author":"janwidmer","date":"2025-03-14 06:54:49"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":4},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2405296,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2405296,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2405296,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2405296,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.1.4","1.1.5","2.1.0","2.1.1","2.1.3","2.1.4","2.1.6","2.2.0","2.2.1","2.4.0","2.4.1","2.6.0","2.7.0","2.8.0","2.9.0","2.9.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[192276,192275,192277],"plugin_category":[],"plugin_contributors":[192278],"plugin_business_model":[],"class_list":["post-130287","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-control","plugin_tags-lazy-blocks","plugin_tags-select-dynamic","plugin_contributors-janwidmer","plugin_committers-janwidmer"],"banners":{"banner":"https:\/\/ps.w.org\/lzb-select-dynamic\/assets\/banner-772x250.png?rev=2405296","banner_2x":"https:\/\/ps.w.org\/lzb-select-dynamic\/assets\/banner-1544x500.png?rev=2405296","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/lzb-select-dynamic\/assets\/icon-128x128.png?rev=2405296","icon_2x":"https:\/\/ps.w.org\/lzb-select-dynamic\/assets\/icon-256x256.png?rev=2405296","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This custom control enhances the great <a href=\"https:\/\/lazyblocks.com\/\">Lazy Blocks Plugin<\/a> and can be used in blocks to offer\nthe Wordpress Author to choose either wordpress posts, pages or categories.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>The custom control dynamically renders a select with options based on the chosen <code>entityType<\/code><\/li>\n<li>Available entity types are\n\n<ul>\n<li>Post Type<\/li>\n<li>Taxonomy Type<\/li>\n<li>Post (Default or Custom post types)<\/li>\n<li>Page<\/li>\n<li>Taxonomy (Tags, Categories, Custom Taxonomy)<\/li>\n<\/ul><\/li>\n<li>The select options can be restricted to use a certain entry as parent<\/li>\n<\/ul>\n\n<h3>Restrictions<\/h3>\n\n<h4>Select Multiple Restrictions<\/h4>\n\n<ul>\n<li>The option \"Select Multiple\" is only available for the entity type <code>Post<\/code> \/ <code>Pages<\/code> \/ <code>Taxonomy<\/code><\/li>\n<\/ul>\n\n<h4>Max Item Restriction<\/h4>\n\n<p>The custom control is using the <code>getEntityRecords<\/code> method.<\/p>\n\n<ul>\n<li>This method can load a maximum of 100 entities and render them as dropdown options<\/li>\n<li>When choosing the entity type <code>Page<\/code>, depending on the number of pages you have, the first time, the call might take\na while, as the whole page object get's loaded<\/li>\n<li>To use a custom taxonomy type, make sure to activate the REST option in the <code>register_taxonomy<\/code> function by adding <code>'show_in_rest' =&gt; true,<\/code><\/li>\n<li>Parent Entity Restriction does only work for Pages \/ Categories \/ Custom Taxonomies, as other Entity Types (e.g. Posts \/ Tags) cannot be nested<\/li>\n<li>For the <code>entityType<\/code> <code>post-type<\/code>, an ignore list excludes all wordpress related post types:\n\n<ul>\n<li><code>pages<\/code>, <code>media<\/code>, <code>blocks<\/code>, <code>menu-items<\/code>, <code>navigation<\/code>, <code>templates<\/code>, <code>template-parts<\/code>, <code>lazyblocks<\/code>, <code>lazyblocks_templates<\/code><\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p>You can use the custom control exactly how you use normal controls for lazy blocks<\/p>\n\n<!--section=installation-->\n<ul>\n<li>Make sure you use WordPress 5.0.x. As alternative you need to install the\n<a href=\"https:\/\/wordpress.org\/plugins\/gutenberg\/\">Gutenberg plugin<\/a> to use Lazy Blocks.<\/li>\n<li>Make sure, you have installed the <a href=\"https:\/\/lazyblocks.com\/\">Lazy Blocks Plugin<\/a><\/li>\n<\/ul>\n\n<h3>Automatic installation<\/h3>\n\n<p>Automatic installation is the easiest option as WordPress handles the file transfers itself and you don\u2019t need to\nleave your web browser. To do an automatic install of lzb-select-dynamic, log in to your WordPress dashboard,\nnavigate to the Plugins menu and click Add New.<\/p>\n\n<p>In the search field type lzb-select-dynamic and click Search Plugins. Once you\u2019ve found our plugin you can view details\nabout it such as the point release, rating and description. Most importantly of course, you can install it by simply\nclicking \u201cInstall Now\u201d.<\/p>\n\n<h3>Manual installation<\/h3>\n\n<p>The manual installation method involves downloading our lzb-select-dynamic plugin and uploading it to your webserver\nvia your favourite FTP application. The WordPress codex contains\n<a href=\"https:\/\/codex.wordpress.org\/Managing_Plugins#Manual_Plugin_Installation\">instructions on how to do this here<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>2.8.0<\/h4>\n\n<ul>\n<li>WP Compatibility up to 6.3.1<\/li>\n<\/ul>\n\n<h4>2.6.0<\/h4>\n\n<ul>\n<li>Add option to conditionally select posts based on a second dynamic select where the author can choose post types first<\/li>\n<\/ul>\n\n<h4>2.4.0<\/h4>\n\n<ul>\n<li>Add option to select multiple items for Entity Types <code>post<\/code> | <code>page<\/code> | <code>taxonomy<\/code><\/li>\n<li>changed compatibility to WP version to 6.1.0<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Fix problem with missing custom post types for entity type <code>post-type<\/code><\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Add more post types to ignore list, add docs about ignore list<\/li>\n<li>changed compatibility to WP version to 5.9.0<\/li>\n<\/ul>\n\n<h4>2.1.5<\/h4>\n\n<ul>\n<li>changed compatibility to WP version to 5.8.2<\/li>\n<\/ul>\n\n<h4>2.1.4<\/h4>\n\n<ul>\n<li>changed minimal WP version to 5.8<\/li>\n<li>changed minimal PHP version to 7.2<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Enhancement to have Taxonomy Type as an option<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>BREAKING: rename options, enhance with \"Post Type\" option to select a certain Post type in your block. Manual Migration needed!<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>Enhancement to offer custom post types and tags \/ categories as entity<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"lazy-blocks custom control to offer a dynamic select containing wordpress posts, pages or categories","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/130287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=130287"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/janwidmer"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=130287"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=130287"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=130287"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=130287"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=130287"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=130287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}