{"id":165488,"date":"2023-11-03T13:36:42","date_gmt":"2023-11-03T08:06:42","guid":{"rendered":"https:\/\/git-staging.wpastra.com\/?post_type=docs&#038;p=165488"},"modified":"2023-11-03T16:35:29","modified_gmt":"2023-11-03T11:05:29","slug":"change-comment-string","status":"publish","type":"docs","link":"https:\/\/git-staging.wpastra.com\/es\/docs\/change-comment-string\/","title":{"rendered":"C\u00f3mo cambiar la cadena \"Dejar un comentario\" en WordPress"},"content":{"rendered":"<p><a id=\"post-165488-_wc3ue6q5uvtu\"><\/a> Personalizar el texto predeterminado \"Dejar un comentario\" en WordPress es importante para mejorar la forma en que los visitantes interact\u00faan con su sitio web. Es posible que el texto original no resulte acogedor o no encaje con el estilo de tu sitio.<\/p>\n\n\n\n<p><a id=\"post-165488-_xdqpzc2xg47\"><\/a> Al cambiarlo, la secci\u00f3n de comentarios resulta m\u00e1s atractiva y anima a los visitantes a participar en los debates. Este peque\u00f1o cambio tambi\u00e9n demuestra que te preocupas por los detalles, haciendo que tu sitio parezca m\u00e1s profesional.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/leave-a-comment.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"638\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/leave-a-comment-1024x638.png\" alt=\"How to change \u201cLeave a Comment\u201d string in WordPress\" class=\"wp-image-165535\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/leave-a-comment-1024x638.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/leave-a-comment-300x187.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/leave-a-comment-768x479.png 768w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/leave-a-comment-18x12.png 18w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/leave-a-comment.png 1158w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><a id=\"post-165488-_w629o6mr5jtl\"><\/a> En esta gu\u00eda paso a paso, te guiaremos a trav\u00e9s del proceso de cambiar el texto predeterminado \"Deja un comentario\" por algo m\u00e1s personalizado, como \"Deja aqu\u00ed tus pensamientos...\".<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-165488-_7vtdmrxg2364\"><\/a><strong>C\u00f3mo cambiar la cadena \"Dejar un comentario<\/strong><\/h3>\n\n\n\n<p>Antes de empezar, aseg\u00farate de que dispones de lo siguiente:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Aseg\u00farese de que dispone de un sitio web WordPress activo.<\/li>\n\n\n\n<li>Debe tener acceso a los archivos de su tema de WordPress.<\/li>\n<\/ul>\n\n\n\n<p>Puede seguir los siguientes pasos para cambiar la cadena del t\u00edtulo del comentario:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-165488-_gje9vkpmjzh8\"><\/a><strong>Paso 1: Crear un tema hijo<\/strong><\/h3>\n\n\n\n<p>Antes de realizar cualquier personalizaci\u00f3n, es recomendable crear un archivo <a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/install-astra-child-theme\/\">tema hijo para evitar que afecte al tema principal<\/a>. <\/p>\n\n\n\n<p>Puede utilizar la funci\u00f3n<a href=\"https:\/\/git-staging.wpastra.com\/es\/guides-and-tutorials\/wordpress-create-child-theme\/\"> generador de temas infantiles<\/a> para generar e instalar el tema hijo.<\/p>\n\n\n\n<p>Una vez descargado el tema hijo, vaya a su panel de control de WordPress, vaya a Apariencia &gt; Temas y haga clic en el bot\u00f3n <strong>A\u00f1adir nuevo<\/strong> bot\u00f3n . Suba y active el archivo ZIP del tema hijo.<\/p>\n\n\n\n<p>Puede consultar este documento que le ayudar\u00e1 a crear un tema hijo - <a href=\"https:\/\/git-staging.wpastra.com\/es\/guides-and-tutorials\/wordpress-create-child-theme\/\">https:\/\/git-staging.wpastra.com\/wordpress-create-child-theme\/<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-165488-_d57mc3t7jtb5\"><\/a><strong>Paso 2: Editar el archivo functions.php<\/strong><\/h3>\n\n\n\n<p>En el panel de control de WordPress, vaya a Apariencia &gt; Editor de archivos de temas. En el Editor de temas, deber\u00eda ver una lista de archivos de tema a la derecha. Localice y seleccione el archivo <code>funciones.php<\/code> de la lista.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/child-theme.png\"><img decoding=\"async\" width=\"1024\" height=\"434\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/child-theme-1024x434.png\" alt=\"How to change \u201cLeave a Reply\u201d string in WordPress\" class=\"wp-image-165531\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/child-theme-1024x434.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/child-theme-300x127.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/child-theme-768x326.png 768w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/child-theme-1536x651.png 1536w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/child-theme-18x8.png 18w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/child-theme.png 1887w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-165488-_l8qifpvtwkjm\"><\/a><strong>Paso 3: Cambiar la cadena \"Dejar un comentario <\/strong><\/h3>\n\n\n\n<p>Inserte el siguiente fragmento de c\u00f3digo al final del `.<strong>funciones.php<\/strong>`. Este c\u00f3digo cambiar\u00e1 la cadena del t\u00edtulo del comentario.<\/p>\n\n\n\n<pre class=\"wp-block-code has-ast-global-color-5-color has-ast-global-color-8-background-color has-text-color has-background\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>add_filter('comment_form_defaults', 'wpastra_custom_comment_title', 20);\nfunction wpastra_custom_comment_title( $defaults ){\n$defaults&#91;'title_reply'] = __('Leave Your Thoughts Here\u2026', 'astra');\nreturn $defaults;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Paso 4: Actualizar el archivo functions.php<\/strong><a id=\"post-165488-_ox2wkvms54pk\"><\/a><\/h3>\n\n\n\n<p>Despu\u00e9s de a\u00f1adir el fragmento de c\u00f3digo, haga clic en el bot\u00f3n \"Actualizar archivo\" para guardar los cambios.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"457\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/How-to-change-Leave-a-Reply-string-in-WordPress-1024x457.png\" alt=\"\" class=\"wp-image-165524\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/How-to-change-Leave-a-Reply-string-in-WordPress-1024x457.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/How-to-change-Leave-a-Reply-string-in-WordPress-300x134.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/How-to-change-Leave-a-Reply-string-in-WordPress-768x343.png 768w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/How-to-change-Leave-a-Reply-string-in-WordPress-1536x685.png 1536w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/How-to-change-Leave-a-Reply-string-in-WordPress-18x8.png 18w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/How-to-change-Leave-a-Reply-string-in-WordPress.png 1894w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Una vez que actualices el archivo, el t\u00edtulo del comentario deber\u00eda cambiar de \"Deja un comentario\" a \"Deja tus pensamientos aqu\u00ed....\" f\u00e1cilmente.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/post-your-comments-here.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"633\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/post-your-comments-here-1024x633.png\" alt=\"How to change \u201cLeave a Comment\u201d string in WordPress\" class=\"wp-image-165537\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/post-your-comments-here-1024x633.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/post-your-comments-here-300x185.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/post-your-comments-here-768x475.png 768w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/post-your-comments-here-18x12.png 18w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2023\/11\/post-your-comments-here.png 1168w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Espero que este documento te haya ayudado a entender c\u00f3mo cambiar la cadena \"Deja un comentario\". Si necesitas ayuda, estamos a un mensaje de distancia.<\/p>","protected":false},"excerpt":{"rendered":"<p>Personalizar el texto predeterminado \"Dejar un comentario\" en WordPress es importante para mejorar la forma en que los visitantes interact\u00faan con su sitio web. Es posible que el texto original no resulte acogedor o no encaje con el estilo de su sitio. Cambi\u00e1ndolo, har\u00e1 que la secci\u00f3n de comentarios sea m\u00e1s acogedora, animando a los visitantes a participar en los debates. Este peque\u00f1o cambio tambi\u00e9n muestra que usted [...]<\/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":"default","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":"set","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":[131],"docs_tag":[],"class_list":{"0":"post-165488","1":"docs","2":"type-docs","3":"status-publish","5":"docs_category-meta-settings"},"spectra_custom_meta":{"wp_last_modified_info":["November 3, 2023 @ 4:35 PM"],"wplmi_shortcode":["[lmt-post-modified-info]"],"_edit_lock":["1699010699:89"],"_wplmi_last_modified":["2023-11-03 16:35:29"],"rank_math_internal_links_processed":["1"],"_uag_custom_page_level_css":[""],"_lmt_disableupdate":[""],"_lmt_disable":[""],"ast-site-content-layout":["default"],"theme-transparent-header-meta":[""],"adv-header-id-meta":[""],"stick-header-meta":[""],"astra-migrate-meta-layouts":["set"],"_edit_last":["89"],"tap_disable_autolinker":["no"],"tap_autolink_inside_heading":["global"],"tap_autolink_random_placement":["global"],"tap_post_autolinker_limit":["0"],"rank_math_seo_score":["20"],"rank_math_primary_docs_category":["131"],"views":["13420"],"_wp_old_slug":["how-to-change-leave-a-reply-string-in-wordpress","change-reply-string"],"rank_math_og_content_image":["a:2:{s:5:\"check\";s:32:\"fcd8b2e196604dd1b20fd8cd7d019af2\";s:6:\"images\";a:1:{i:0;i:165535;}}"],"pfd_related_docs":[""],"helpful":["5"],"unhelpful":["6"],"redirects":["0"],"_trp_automatically_translated_slug_es_ES":["cambiar-la-cadena-de-comentarios"]},"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":"Customizing the default &#8220;Leave a Comment&#8221; text in WordPress is important for improving how website visitors interact with your site. The original text might not feel welcoming or match your site&#8217;s style. By changing it, you make the comment section more inviting, encouraging visitors to participate in discussions. This small change also shows that you&hellip;","_links":{"self":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/165488"}],"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=165488"}],"version-history":[{"count":0,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/165488\/revisions"}],"wp:attachment":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/media?parent=165488"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_category?post=165488"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_tag?post=165488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}