{"id":103203,"date":"2021-09-05T17:01:22","date_gmt":"2021-09-05T11:31:22","guid":{"rendered":"https:\/\/git-staging.wpastra.com\/?post_type=docs&#038;p=103203"},"modified":"2021-09-08T20:25:23","modified_gmt":"2021-09-08T14:55:23","slug":"replace-blog-archive-navigation-strings","status":"publish","type":"docs","link":"https:\/\/git-staging.wpastra.com\/es\/docs\/replace-blog-archive-navigation-strings\/","title":{"rendered":"\u00bfC\u00f3mo cambiar el texto de los enlaces de navegaci\u00f3n de un archivo de blog?"},"content":{"rendered":"<p>Dependiendo de su configuraci\u00f3n, la p\u00e1gina Archivo del blog puede tener varias p\u00e1ginas. En este caso, los enlaces de navegaci\u00f3n se utilizan para pasar de una p\u00e1gina a otra. Estos enlaces de navegaci\u00f3n se muestran en la parte inferior de la p\u00e1gina como \"P\u00e1gina anterior\" y \"P\u00e1gina siguiente\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/09\/ast-3-7-filter-blog-archive-navigation-before.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1366\" height=\"786\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/09\/ast-3-7-filter-blog-archive-navigation-before.png\" alt=\"Blog Archive Navigation Links\" class=\"wp-image-103470\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/09\/ast-3-7-filter-blog-archive-navigation-before.png 1366w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/09\/ast-3-7-filter-blog-archive-navigation-before-300x173.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/09\/ast-3-7-filter-blog-archive-navigation-before-1024x589.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/09\/ast-3-7-filter-blog-archive-navigation-before-768x442.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/a><\/figure>\n\n\n\n<p>Puede cambiar estas etiquetas con cualquier texto personalizado a\u00f1adiendo un c\u00f3digo personalizado (filtro). Para ello, tendr\u00eda que a\u00f1adir el siguiente filtro al archivo <strong>funciones.php<\/strong> de su tema hijo:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_filter(&#039;astra_default_strings&#039; , &#039;call_back&#039;);\n function call_back( $default ){\n $default[&#039;cadena-navegaci&oacute;n-blog-anterior&#039;] = &#039;&lt;span class=&quot;ast-left-arrow&quot;&gt;&larr;&lt;\/span&gt; &#039; . __( &#039;<strong>P\u00e1gina anterior personalizada<\/strong>', 'astra' );\n $default['cadena-blog-navegaci\u00f3n-siguiente'] = __( '<strong>P\u00e1gina siguiente personalizada<\/strong>&#039;, &#039;astra&#039; ) . &#039; &lt;span class=&quot;ast-right-arrow&quot;&gt;&rarr;&lt;\/span&gt;&#039;;\n return $default;\n }\n<\/pre>\n\n\n\n<p>Este c\u00f3digo cambiar\u00e1 el nombre de tus enlaces de navegaci\u00f3n a \"<strong>P\u00e1gina anterior personalizada<\/strong>\" y \"<strong>P\u00e1gina siguiente personalizada<\/strong>\". Puede sustituir estas etiquetas de enlace por cualquier otro texto modificando la parte en negrita del c\u00f3digo anterior.<\/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\/09\/ast-3-7-filter-blog-archive-navigation-after.png\" alt=\"Filter To Change Navigation Links Text for a Blog Archive\" class=\"wp-image-103472\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/09\/ast-3-7-filter-blog-archive-navigation-after.png 1366w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/09\/ast-3-7-filter-blog-archive-navigation-after-300x173.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/09\/ast-3-7-filter-blog-archive-navigation-after-1024x589.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/09\/ast-3-7-filter-blog-archive-navigation-after-768x442.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/figure>\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\/\"> este art\u00edculo<\/a> sobre c\u00f3mo hacerlo. Adem\u00e1s, si usted no est\u00e1 seguro de c\u00f3mo agregar este c\u00f3digo, por favor revise esto<a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/add-custom-php-code\/#3.-in-child-theme\"> art\u00edculo<\/a>.<br><br>Si necesitas modificar los enlaces de navegaci\u00f3n de tus entradas individuales, echa un vistazo a <a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/replace-navigation-strings-on-single-post\/\" target=\"_blank\" rel=\"noreferrer noopener\">este documento<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Dependiendo de su configuraci\u00f3n, la p\u00e1gina Archivo del blog puede tener varias p\u00e1ginas. En este caso, los enlaces de navegaci\u00f3n se utilizan para pasar de una p\u00e1gina a otra. Estos enlaces de navegaci\u00f3n se muestran en la parte inferior de la p\u00e1gina como \"P\u00e1gina anterior\" y \"P\u00e1gina siguiente\". Puede cambiar estas etiquetas con cualquier texto personalizado a\u00f1adiendo un [...]<\/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":[2111],"docs_tag":[],"class_list":{"0":"post-103203","1":"docs","2":"type-docs","3":"status-publish","5":"docs_category-blog-filters"},"spectra_custom_meta":{"wp_last_modified_info":["September 8, 2021 @ 8:25 PM"],"wplmi_shortcode":["[lmt-post-modified-info]"],"_edit_lock":["1631112923:70"],"views":["4857"],"_edit_last":["70"],"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":["Blog Navigation Links"],"_yoast_wpseo_metadesc":["Do you need to change your \"Previous Page\" and \"Next Page\" navigation links text on the Blog Archive page? Check out this document."],"_yoast_wpseo_linkdex":["59"],"helpful":["6"],"unhelpful":["7"],"redirects":["2"],"_lmt_disableupdate":["no"],"_wplmi_last_modified":["2021-09-08 20:25:23"],"rank_math_description":["Do you need to change your \"Previous Page\" and \"Next Page\" navigation links text on the Blog Archive page? Check out this document."],"rank_math_focus_keyword":["Blog Navigation Links"],"rank_math_news_sitemap_robots":["index"],"rank_math_robots":["a:1:{i:0;s:5:\"index\";}"],"rank_math_analytic_object_id":["125"],"rank_math_internal_links_processed":["1"],"rank_math_og_content_image":["a:2:{s:5:\"check\";s:32:\"f3d480931c1fd64d89d4aac81249c0c5\";s:6:\"images\";a:1:{i:0;i:103470;}}"],"_trp_automatically_translated_slug_es_ES":["reemplazar-las-cadenas-de-navegacion-del-archivo-del-blog"]},"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":"Depending on your settings, your Blog Archive page might have multiple pages. In this case, the navigation links are being used to switch between different pages. These navigation links are displayed at the bottom of the page as \u201cPrevious Page\u201d and \u201cNext Page\u201d. You can change these labels with any custom text by adding a&hellip;","_links":{"self":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/103203"}],"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=103203"}],"version-history":[{"count":0,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/103203\/revisions"}],"wp:attachment":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/media?parent=103203"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_category?post=103203"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_tag?post=103203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}