{"id":30747,"date":"2019-03-07T00:00:00","date_gmt":"2019-03-06T18:30:00","guid":{"rendered":"https:\/\/git-staging.wpastra.com\/?post_type=docs&#038;p=30747"},"modified":"2023-05-17T18:08:58","modified_gmt":"2023-05-17T12:38:58","slug":"disable-astra-amp-support","status":"publish","type":"docs","link":"https:\/\/git-staging.wpastra.com\/es\/docs\/disable-astra-amp-support\/","title":{"rendered":"Desactivar la funcionalidad AMP nativa de Astra"},"content":{"rendered":"<p>Si desea desactivar la integraci\u00f3n de Astra para AMP, utilice el fragmento de c\u00f3digo personalizado que se menciona a continuaci\u00f3n.<\/p>\n\n\n\n<p>A\u00f1ada el filtro mencionado en<a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/add-custom-php-code\/#3.-in-child-theme\"> archivo functions.php del tema hijo<\/a>. <\/p>\n\n\n\n<pre class=\"wp-block-code\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>\/\/ Disable Astra Theme's Native AMP support.\nadd_filter( 'astra_amp_support', '__return_false' );<\/code><\/pre>\n\n\n\n<div class=\"wp-block-uagb-inline-notice uagb-inline_notice__align-left uagb-block-d0942032\"><h4 class=\"uagb-notice-title\">Nota:<\/h4><div class=\"uagb-notice-text\">Tras considerar y evaluar detenidamente la evoluci\u00f3n de los est\u00e1ndares web, hemos decidido dejar de apoyar AMP. Esta decisi\u00f3n est\u00e1 en consonancia con el cambio de enfoque de Google hacia las Core Web Vitals, que se han convertido en un factor m\u00e1s destacado a la hora de determinar el rendimiento de los sitios web y la experiencia del usuario.<br><br>Como ya sabr\u00e1s, AMP se introdujo inicialmente como una iniciativa para aumentar la velocidad de carga de las p\u00e1ginas para m\u00f3viles y mejorar la experiencia general del usuario en dispositivos m\u00f3viles. Sin embargo, las recientes actualizaciones de Google y los avances en tecnolog\u00edas web, incluida la introducci\u00f3n de Core Web Vitals, nos han llevado a reevaluar nuestro enfoque. <br><br>Las Core Web Vitals, que incluyen m\u00e9tricas como la velocidad de carga, la interactividad y la estabilidad visual, se han convertido en el nuevo est\u00e1ndar para medir el rendimiento de los sitios web. Al dar prioridad a las Core Web Vitals, nuestro objetivo es garantizar que los sitios web creados con el tema Astra sigan ofreciendo una experiencia de usuario excepcional y cumplan los \u00faltimos est\u00e1ndares del sector. <br><br>Tenga la seguridad de que este cambio no afectar\u00e1 a sus sitios web actuales creados con el tema Astra. Seguir\u00e1n funcionando sin interrupci\u00f3n. Simplemente no vamos a proporcionar m\u00e1s soporte o desarrollo para AMP. <br><br>Entendemos que algunos de ustedes pueden haber confiado en AMP para requisitos espec\u00edficos, y nos disculpamos por cualquier inconveniente que esto pueda causar. Sin embargo, creemos firmemente que este cambio de enfoque beneficiar\u00e1 a la mayor\u00eda de nuestros usuarios al alinear nuestros productos con los \u00faltimos est\u00e1ndares del sector y ofrecer un rendimiento \u00f3ptimo de los sitios web. <br><br>Gracias por su continuo apoyo y comprensi\u00f3n. Si tiene alguna pregunta o duda, no dude en ponerse en contacto con nuestro equipo de asistencia, que estar\u00e1 encantado de ayudarle.<\/div><\/div>\n\n\n\n<p>M\u00e1s informaci\u00f3n sobre la integraci\u00f3n AMP de Astra y otros documentos relacionados -<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/astra-native-amp-support\/\">Soporte nativo de AMP en Astra<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/configure-amp-plugin\/\">Configurar el plugin AMP<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Si desea desactivar la integraci\u00f3n de Astra para AMP, utilice el fragmento de c\u00f3digo personalizado que se menciona a continuaci\u00f3n. A\u00f1ade el filtro mencionado en el archivo functions.php del tema hijo. M\u00e1s informaci\u00f3n sobre la integraci\u00f3n AMP de Astra y otros documentos relacionados -<\/p>","protected":false},"author":20,"featured_media":0,"comment_status":"closed","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,218],"docs_tag":[],"class_list":{"0":"post-30747","1":"docs","2":"type-docs","3":"status-publish","5":"docs_category-astra-theme-pro-filters","6":"docs_category-native-amp-support"},"spectra_custom_meta":{"_wp_old_slug":["disable-astras-native-amp-functionality|disable-astras-native-amp-functionality","disable-astras-native-amp-functionality|disable-astras-native-amp-functionality"],"_yoast_wpseo_primary_docs_category":["218"],"_wp_page_template":["default"],"_edit_lock":["1684327139:89"],"_edit_last":["89"],"onesignal_meta_box_present":["1"],"onesignal_send_notification":[""],"wpil_sync_report3":["1"],"site-sidebar-layout":["default"],"site-content-layout":["default"],"theme-transparent-header-meta":["default"],"_yoast_wpseo_content_score":["60"],"wpil_links_inbound_internal_count":["0"],"wpil_links_inbound_internal_count_data":["a:0:{}"],"wpil_links_outbound_internal_count":["0"],"wpil_links_outbound_internal_count_data":["a:0:{}"],"wpil_links_outbound_external_count":["3"],"wpil_links_outbound_external_count_data":["a:3:{i:0;O:15:\"Wpil_Model_Link\":6:{s:3:\"url\";s:63:\"https:\/\/wpastra.com\/docs\/add-custom-php-code\/#3.-in-child-theme\";s:4:\"host\";s:11:\"wpastra.com\";s:8:\"internal\";b:0;s:4:\"post\";N;s:6:\"anchor\";s:33:\" child theme's functions.php file\";s:15:\"added_by_plugin\";b:0;}i:1;O:15:\"Wpil_Model_Link\":6:{s:3:\"url\";s:50:\"https:\/\/wpastra.com\/docs\/astra-native-amp-support\/\";s:4:\"host\";s:11:\"wpastra.com\";s:8:\"internal\";b:0;s:4:\"post\";N;s:6:\"anchor\";s:27:\"Native AMP Support in Astra\";s:15:\"added_by_plugin\";b:0;}i:2;O:15:\"Wpil_Model_Link\":6:{s:3:\"url\";s:46:\"https:\/\/wpastra.com\/docs\/configure-amp-plugin\/\";s:4:\"host\";s:11:\"wpastra.com\";s:8:\"internal\";b:0;s:4:\"post\";N;s:6:\"anchor\";s:20:\"Configure AMP Plugin\";s:15:\"added_by_plugin\";b:0;}}"],"wpil_sync_report2_time":["2019-10-03T14:10:47+00:00"],"_ppc_meta_key":["a:8:{s:20:\"ppc_key5d92f85d42273\";s:60:\"Images &amp; Names Correctly. Title &amp; Alt Tags are Given\";s:8:\"ppc_key4\";s:15:\"Formatting Done\";s:8:\"ppc_key2\";s:23:\"Featured Image Assigned\";s:8:\"ppc_key3\";s:17:\"Category Selected\";s:8:\"ppc_key6\";s:22:\"Social Images Assigned\";s:8:\"ppc_key5\";s:15:\"Title is Catchy\";s:8:\"ppc_key7\";s:8:\"Done SEO\";s:8:\"ppc_key8\";s:28:\"Spelling and Grammar Checked\";}"],"tap_disable_autolinker":["no"],"tap_autolink_inside_heading":["global"],"tap_autolink_random_placement":["global"],"tap_post_autolinker_limit":["0"],"_yoast_wpseo_title":["How to Disable Astra\u2019s Native AMP Functionality?"],"_ht_kb_post_views_count":["7"],"_ht_kb_usefulness":["0"],"_ht_article_order_103":["30747"],"_ht_article_order_218":["30747"],"wp_last_modified_info":["May 17, 2023 @ 6:08 PM"],"wplmi_shortcode":["[lmt-post-modified-info]"],"views":["8274"],"helpful":["0"],"unhelpful":["0"],"redirects":["0"],"_lmt_disableupdate":["no"],"_wplmi_last_modified":["2023-05-17 18:08:58"],"rank_math_primary_docs_category":["218"],"rank_math_title":["How to Disable Astra\u2019s Native AMP Functionality?"],"rank_math_news_sitemap_robots":["index"],"rank_math_robots":["a:1:{i:0;s:5:\"index\";}"],"rank_math_analytic_object_id":["904"],"rank_math_internal_links_processed":["1"],"rank_math_seo_score":["15"],"pfd_related_docs":[""],"_trp_automatically_translated_slug_es_ES":["desactivar-el-soporte-astra-amp"],"_uag_page_assets":["a:9:{s:3:\"css\";s:5281:\" .uagb-block-d0942032.wp-block-uagb-inline-notice .uagb-notice-title{padding-left: 10px;padding-right: 10px;padding-top: 10px;padding-bottom: 10px;color: var(--ast-global-color-5);} .uagb-block-d0942032 .uagb-notice-text{padding-left: 10px;padding-right: 10px;padding-top: 10px;padding-bottom: 10px;border: 2px solid #5c2ede;border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;} .uagb-block-d0942032.uagb-dismissable button[type=\"button\"] svg{width: 16px;height: 16px;top: 10px;} .uagb-block-d0942032.uagb-dismissable > svg{width: 16px;height: 16px;top: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-left button[type=\"button\"] svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-left svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-center button[type=\"button\"] svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-center svg{right: 10px;} .uagb-block-d0942032 .uagb-notice-title{background-color: #5c2ede;border-top-right-radius: 3px;border-top-left-radius: 3px;} .uagb-block-d0942032.uagb-inline_notice__align-right button[type=\"button\"] svg{left: 10px;}@media only screen and (max-width: 976px) { .uagb-block-d0942032 .uagb-notice-text{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-d0942032 .uagb-notice-title{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-d0942032.uagb-dismissable button[type=\"button\"] svg{top: 10px;} .uagb-block-d0942032.uagb-dismissable > svg{top: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-left button[type=\"button\"] svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-left svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-center button[type=\"button\"] svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-center svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-right button[type=\"button\"] svg{left: 10px;}}@media only screen and (max-width: 767px) { .uagb-block-d0942032 .uagb-notice-text{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-d0942032 .uagb-notice-title{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-d0942032.uagb-dismissable button[type=\"button\"] svg{top: 10px;} .uagb-block-d0942032.uagb-dismissable > svg{top: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-left button[type=\"button\"] svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-left svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-center button[type=\"button\"] svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-center svg{right: 10px;} .uagb-block-d0942032.uagb-inline_notice__align-right button[type=\"button\"] svg{left: 10px;}}.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-d0942032' );\n});\n });\";s:18:\"current_block_list\";a:7:{i:0;s:14:\"core\/paragraph\";i:1;s:9:\"core\/code\";i:2;s:18:\"uagb\/inline-notice\";i:3;s:9:\"core\/list\";i:4;s:14:\"core\/list-item\";i:5;s:14:\"uagb\/container\";i:6;s:14:\"core\/shortcode\";}s:8:\"uag_flag\";b:1;s:11:\"uag_version\";s:10:\"1778857073\";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":"Anjali","author_link":"https:\/\/git-staging.wpastra.com\/es\/author\/anjalic\/"},"uagb_comment_info":0,"uagb_excerpt":"If you want to disable Astra&#8217;s integration for AMP, use custom code snippet mentioned below. Add mentioned filter into child theme&#8217;s functions.php file. Read more about Astra&#8217;s AMP integration and other related docs &#8211;","_links":{"self":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/30747"}],"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\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/comments?post=30747"}],"version-history":[{"count":0,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/30747\/revisions"}],"wp:attachment":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/media?parent=30747"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_category?post=30747"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_tag?post=30747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}