{"id":101896,"date":"2021-08-10T18:24:57","date_gmt":"2021-08-10T12:54:57","guid":{"rendered":"https:\/\/git-staging.wpastra.com\/?post_type=docs&#038;p=101896"},"modified":"2021-12-23T14:34:51","modified_gmt":"2021-12-23T09:04:51","slug":"disable-widget-block-editor-support","status":"publish","type":"docs","link":"https:\/\/git-staging.wpastra.com\/es\/docs\/disable-widget-block-editor-support\/","title":{"rendered":"C\u00f3mo desactivar el editor de bloques para widgets"},"content":{"rendered":"<p>WordPress 5.8 trajo muchos cambios, y uno de ellos es <a href=\"https:\/\/wordpress.org\/support\/wordpress-version\/version-5-8\/#manage-widgets-with-blocks\" target=\"_blank\" rel=\"noreferrer noopener\">Uso de bloques en \u00e1reas de widgets<\/a>. El Tema Astra soporta el uso de un editor de bloques y es totalmente compatible con los cambios mencionados. Este documento te ayudar\u00e1 si necesitas desactivar el Editor de Bloques para Widgets.<\/p>\n\n\n\n<p>Aunque es una gran caracter\u00edstica, algunos usuarios pueden necesitar que esto se revierta al anterior editor de widgets. Puedes desactivar el soporte del Editor de Bloques de Astra para los widgets usando un c\u00f3digo personalizado proporcionado en este documento. Vamos a mostrarte c\u00f3mo hacerlo.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00bfPor qu\u00e9 ha ocurrido esto?<\/h2>\n\n\n\n<p>La versi\u00f3n 5.8 de WordPress lleg\u00f3 con un gran n\u00famero de mejoras y cambios, suponiendo un gran salto adelante tanto para WordPress como para su Editor de Bloques.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1366\" height=\"786\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-widgets-block-editor.png\" alt=\"Block Editor Support for Widgets\" class=\"wp-image-101970\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-widgets-block-editor.png 1366w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-widgets-block-editor-300x173.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-widgets-block-editor-1024x589.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-widgets-block-editor-768x442.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/figure>\n\n\n\n<p>Utilizar el Editor de bloques para gestionar las \u00e1reas de widgets facilita la adici\u00f3n de diferentes bloques a cualquier \u00e1rea de widgets sin codificar ni utilizar shortcodes.<\/p>\n\n\n\n<p>Dado que Astra es totalmente compatible con este cambio, tambi\u00e9n podr\u00e1s utilizar bloques directamente con las opciones del Personalizador de Astra, incluyendo el Constructor de Encabezado y Pie de P\u00e1gina.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1366\" height=\"786\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-block-based-widgets-editor.png\" alt=\"Block Editor Support for Widgets in Astra Header and Footer Builder\" class=\"wp-image-101791\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-block-based-widgets-editor.png 1366w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-block-based-widgets-editor-300x173.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-block-based-widgets-editor-1024x589.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-block-based-widgets-editor-768x442.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u00bfC\u00f3mo cambiar esto?<\/h2>\n\n\n\n<p>Si por alguna raz\u00f3n necesitas volver al anterior editor de widgets, puedes desactivar el soporte del editor de bloques de Astra para los widgets a\u00f1adiendo un c\u00f3digo personalizado.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1366\" height=\"786\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-old-widgets-area.png\" alt=\"Disable Block Editor for Widgets\" class=\"wp-image-102002\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-old-widgets-area.png 1366w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-old-widgets-area-300x173.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-old-widgets-area-1024x589.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/08\/ast-3-6-old-widgets-area-768x442.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/figure>\n\n\n\n<p>Puede a\u00f1adir el siguiente c\u00f3digo personalizado al archivo functions.php de su tema hijo:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_action( 'after_setup_theme', 'astra_remove_theme_support' );\nfunction astra_remove_theme_support() {\nremove_theme_support( 'widgets-block-editor' );\n}<\/pre>\n\n\n\n<p>Si no tiene instalado el tema infantil, compruebe lo siguiente <a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/install-astra-child-theme\/\" target=\"_blank\" rel=\"noreferrer noopener\">este art\u00edculo<\/a> sobre c\u00f3mo hacerlo.&nbsp;<br>Si no est\u00e1 seguro de c\u00f3mo a\u00f1adir este c\u00f3digo, consulte lo siguiente <a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/add-custom-php-code\/#3.-in-child-theme\" target=\"_blank\" rel=\"noreferrer noopener\">art\u00edculo<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>WordPress 5.8 trajo muchos cambios, y uno de ellos es el uso de Bloques en \u00c1reas de Widgets. El Tema Astra soporta el uso de un editor de bloques y es totalmente compatible con los cambios mencionados. Este documento te ayudar\u00e1 si necesitas desactivar el Editor de Bloques para Widgets. Aunque es una gran caracter\u00edstica, algunos usuarios podr\u00edan [...]<\/p>","protected":false},"author":70,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"docs_category":[2109],"docs_tag":[],"class_list":{"0":"post-101896","1":"docs","2":"type-docs","3":"status-publish","5":"docs_category-astra-theme-pro-filters"},"spectra_custom_meta":{"wp_last_modified_info":["December 23, 2021 @ 2:34 PM"],"wplmi_shortcode":["[lmt-post-modified-info]"],"_edit_lock":["1640250293:25"],"views":["14798"],"helpful":["8"],"unhelpful":["5"],"redirects":["2"],"_edit_last":["25"],"tap_disable_autolinker":["no"],"tap_autolink_inside_heading":["global"],"tap_autolink_random_placement":["global"],"tap_post_autolinker_limit":["0"],"site-sidebar-layout":["default"],"site-content-layout":["default"],"theme-transparent-header-meta":["default"],"_yoast_wpseo_content_score":["90"],"_yoast_wpseo_estimated-reading-time-minutes":["2"],"_yoast_wpseo_focuskw":["Disable Block Editor for Widgets"],"_yoast_wpseo_metadesc":["The Astra Theme supports the use of a Block Editor for Widgets. Check this article if you need to disable Block Editor in your Widget Areas."],"_yoast_wpseo_linkdex":["70"],"_lmt_disableupdate":["no"],"_wplmi_last_modified":["2021-09-08 21:01:46"],"pfd_related_docs":[""],"rank_math_description":["The Astra Theme supports the use of a Block Editor for Widgets. Check this article if you need to disable Block Editor in your Widget Areas."],"rank_math_focus_keyword":["Disable Block Editor for Widgets"],"rank_math_news_sitemap_robots":["index"],"rank_math_robots":["a:1:{i:0;s:5:\"index\";}"],"rank_math_analytic_object_id":["152"],"rank_math_internal_links_processed":["1"],"rank_math_og_content_image":["a:2:{s:5:\"check\";s:32:\"8867fc231572fd8dfe0db7a9d15c8794\";s:6:\"images\";a:1:{i:0;i:101970;}}"],"_trp_automatically_translated_slug_es_ES":["desactivar-la-compatibilidad-con-el-editor-de-bloques-de-widgets"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false},"uagb_author_info":{"display_name":"Nikola Mihajlovic","author_link":"https:\/\/git-staging.wpastra.com\/es\/author\/nikolam\/"},"uagb_comment_info":0,"uagb_excerpt":"WordPress 5.8 brought many changes, and one of these is using Blocks in Widget Areas. The Astra Theme supports the use of a block editor and is fully compatible with the mentioned changes. This document will help you if you need to disable Block Editor for Widgets. Though it\u2019s a great feature, some users might&hellip;","_links":{"self":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/101896"}],"collection":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/users\/70"}],"replies":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/comments?post=101896"}],"version-history":[{"count":0,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/101896\/revisions"}],"wp:attachment":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/media?parent=101896"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_category?post=101896"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_tag?post=101896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}