{"id":133511,"date":"2022-09-21T11:36:26","date_gmt":"2022-09-21T06:06:26","guid":{"rendered":"https:\/\/git-staging.wpastra.com\/?post_type=docs&#038;p=133511"},"modified":"2022-12-30T18:26:55","modified_gmt":"2022-12-30T12:56:55","slug":"revert-support-for-single-products-legacy-gallery-layouts","status":"publish","type":"docs","link":"https:\/\/git-staging.wpastra.com\/es\/docs\/revert-support-for-single-products-legacy-gallery-layouts\/","title":{"rendered":"Revertir la compatibilidad con los dise\u00f1os de galer\u00eda heredados de Single Product."},"content":{"rendered":"<p>Hemos listado un filtro que le ayudar\u00e1 a estructurar los dise\u00f1os de Galer\u00eda heredados del Producto \u00danico de WooCommerce.<\/p>\n\n\n\n<p>Esta es una funci\u00f3n Premium disponible con el complemento Astra Pro. Para utilizar estas caracter\u00edsticas Pro, es necesario tener el tema Astra junto con el Astra Pro Addon instalado en su sitio web.<\/p>\n\n\n\n<p>Antes de la Astra Pro v3.9.2, puede ver 5 opciones de dise\u00f1o de Galer\u00eda para WooCommerce Single Product. Echa un vistazo a la captura de pantalla adjunta a continuaci\u00f3n una vez para una mejor comprensi\u00f3n.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/old-version.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"481\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/old-version-1024x481.png\" alt=\"\" class=\"wp-image-133528\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/old-version-1024x481.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/old-version-300x141.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/old-version-768x360.png 768w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/old-version-1536x721.png 1536w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/old-version.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>En una instalaci\u00f3n nueva, con Astra Pro v3.9.2, faltan los dos primeros dise\u00f1os de la Galer\u00eda. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"481\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/new-version-1024x481.png\" alt=\"\" class=\"wp-image-133526\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/new-version-1024x481.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/new-version-300x141.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/new-version-768x360.png 768w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/new-version-1536x721.png 1536w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/new-version.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Esto se debe a que hemos dejado obsoletos los dise\u00f1os heredados.  Para recuperar los dise\u00f1os antiguos de la Galer\u00eda de productos individuales, puede utilizar el filtro adjunto a continuaci\u00f3n. Al a\u00f1adir el siguiente filtro en el campo <strong>funciones.php <\/strong>podr\u00e1 ver las 5 opciones de dise\u00f1o de la Galer\u00eda.<\/p>\n\n\n\n<pre class=\"wp-block-code\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>add_filter( 'astra_get_option_astra-product-gallery-layout-flag', '__return_false' );<\/code><\/pre>\n\n\n\n<div class=\"wp-block-uagb-inline-notice uagb-inline_notice__align-left uagb-block-45240d7e\"><h4 class=\"uagb-notice-title\">Nota:<\/h4><div class=\"uagb-notice-text\"><p>Para obtener m\u00e1s informaci\u00f3n sobre c\u00f3mo a\u00f1adir un c\u00f3digo personalizado a la funci\u00f3n\u00a0<strong>funciones.php<\/strong>\u00a0consulte este art\u00edculo:\u00a0<a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/add-custom-php-code\/?pTXyytedV9E9TFhT=1#3.-in-child-theme\"><strong>\u00bfC\u00f3mo a\u00f1adir c\u00f3digo PHP personalizado?<\/strong><\/a><\/p><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Hemos enumerado un filtro que le ayudar\u00e1 a estructurar los dise\u00f1os de galer\u00eda heredados del producto \u00fanico de WooCommerce. Esta es una caracter\u00edstica Premium disponible con el plugin Astra Pro Addon. Para utilizar estas caracter\u00edsticas Pro, es necesario tener el tema Astra junto con el Astra Pro Addon instalado en su sitio web. Antes de [...]<\/p>","protected":false},"author":89,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","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":"","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-133511","1":"docs","2":"type-docs","3":"status-publish","5":"docs_category-astra-theme-pro-filters"},"spectra_custom_meta":{"wp_last_modified_info":["December 30, 2022 @ 6:26 PM"],"wplmi_shortcode":["[lmt-post-modified-info]"],"_edit_lock":["1674638742:89"],"rank_math_primary_docs_category":["2109"],"_wplmi_last_modified":["2022-12-30 18:26:55"],"rank_math_seo_score":["12"],"rank_math_internal_links_processed":["1"],"_edit_last":["89"],"tap_disable_autolinker":["no"],"tap_autolink_inside_heading":["global"],"tap_autolink_random_placement":["global"],"tap_post_autolinker_limit":["0"],"views":["8094"],"helpful":["1"],"unhelpful":["2"],"redirects":["1"],"rank_math_analytic_object_id":["1956"],"_wp_old_slug":["revert-support-for-legacy-layouts"],"pfd_related_docs":[""],"rank_math_og_content_image":["a:2:{s:5:\"check\";s:32:\"481075787eaff1c0322ddf6b7fc99efe\";s:6:\"images\";a:1:{i:0;i:133528;}}"],"_trp_automatically_translated_slug_es_ES":["revertir-la-compatibilidad-con-los-disenos-de-galeria-heredados-de-productos-individuales"],"_uag_page_assets":["a:9:{s:3:\"css\";s:5248:\" .uagb-block-45240d7e.wp-block-uagb-inline-notice .uagb-notice-title{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-45240d7e .uagb-notice-text{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;border: 2px solid #FFD54F;border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;} .uagb-block-45240d7e.uagb-dismissable button[type=\"button\"] svg{width: 16px;height: 16px;top: 15px;} .uagb-block-45240d7e.uagb-dismissable > svg{width: 16px;height: 16px;top: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-left button[type=\"button\"] svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-left svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-center button[type=\"button\"] svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-center svg{right: 15px;} .uagb-block-45240d7e .uagb-notice-title{background-color: #FFD54F;border-top-right-radius: 3px;border-top-left-radius: 3px;} .uagb-block-45240d7e.uagb-inline_notice__align-right button[type=\"button\"] svg{left: 15px;}@media only screen and (max-width: 976px) { .uagb-block-45240d7e .uagb-notice-text{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-45240d7e .uagb-notice-title{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-45240d7e.uagb-dismissable button[type=\"button\"] svg{top: 15px;} .uagb-block-45240d7e.uagb-dismissable > svg{top: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-left button[type=\"button\"] svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-left svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-center button[type=\"button\"] svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-center svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-right button[type=\"button\"] svg{left: 15px;}}@media only screen and (max-width: 767px) { .uagb-block-45240d7e .uagb-notice-text{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-45240d7e .uagb-notice-title{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-45240d7e.uagb-dismissable button[type=\"button\"] svg{top: 15px;} .uagb-block-45240d7e.uagb-dismissable > svg{top: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-left button[type=\"button\"] svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-left svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-center button[type=\"button\"] svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-center svg{right: 15px;} .uagb-block-45240d7e.uagb-inline_notice__align-right button[type=\"button\"] svg{left: 15px;}}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape-top svg{width: calc( 100% + 1.3px );}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape.uagb-container__shape-top .uagb-container__shape-fill{fill: rgba(51,51,51,1);}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape-bottom svg{width: calc( 100% + 1.3px );}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape.uagb-container__shape-bottom .uagb-container__shape-fill{fill: rgba(51,51,51,1);}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__video-wrap video{opacity: 1;}.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{max-width: 100%;width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 1200px);max-width: var(--inner-content-custom-width);width: 100%;flex-direction: column;align-items: center;justify-content: center;flex-wrap: nowrap;row-gap: 0px;column-gap: 0px;}.wp-block-uagb-container.uagb-block-debf2792{box-shadow: 0px 0px   #00000070 ;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;overflow: visible;border-color: inherit;row-gap: 0px;column-gap: 0px;}@media only screen and (max-width: 976px) {.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 1024px);max-width: var(--inner-content-custom-width);width: 100%;}.wp-block-uagb-container.uagb-block-debf2792{padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;}}@media only screen and (max-width: 767px) {.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{max-width: 100%;width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 767px);max-width: var(--inner-content-custom-width);width: 100%;flex-wrap: wrap;}.wp-block-uagb-container.uagb-block-debf2792{padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;}}\";s:2:\"js\";s:271:\"document.addEventListener(\"DOMContentLoaded\", function(){ window.addEventListener( 'DOMContentLoaded', function() {\n\tUAGBInlineNotice.init( {\"c_id\":null,\"cookies\":false,\"close_cookie_days\":1,\"noticeDismiss\":\"\",\"icon\":\"rectangle-xmark\"}, '.uagb-block-45240d7e' );\n});\n });\";s:18:\"current_block_list\";a:6:{i:0;s:14:\"core\/paragraph\";i:1;s:10:\"core\/image\";i:2;s:9:\"core\/code\";i:3;s:18:\"uagb\/inline-notice\";i:4;s:14:\"uagb\/container\";i:5;s:14:\"core\/shortcode\";}s:8:\"uag_flag\";b:1;s:11:\"uag_version\";s:10:\"1777391336\";s:6:\"gfonts\";a:0:{}s:10:\"gfonts_url\";s:0:\"\";s:12:\"gfonts_files\";a:0:{}s:14:\"uag_faq_layout\";b:0;}"]},"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":"mounikak","author_link":"https:\/\/git-staging.wpastra.com\/es\/author\/mounikak\/"},"uagb_comment_info":0,"uagb_excerpt":"We have listed down a filter that will help you Structure the WooCommerce Single Product\u2019s legacy Gallery layouts. This is a premium feature available with the Astra Pro Addon plugin. To use these Pro features, you need to have the Astra theme along with the Astra Pro Addon installed on your website. Prior to the&hellip;","_links":{"self":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/133511"}],"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\/89"}],"replies":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/comments?post=133511"}],"version-history":[{"count":0,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/133511\/revisions"}],"wp:attachment":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/media?parent=133511"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_category?post=133511"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_tag?post=133511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}