{"id":6300,"date":"2024-12-25T14:05:50","date_gmt":"2024-12-25T14:05:50","guid":{"rendered":"https:\/\/tableberg.com\/?p=6300"},"modified":"2024-12-25T14:05:50","modified_gmt":"2024-12-25T14:05:50","slug":"como-utilizar-el-bloque-de-codigo-en-wordpress","status":"publish","type":"post","link":"https:\/\/tableberg.com\/es\/how-to-use-the-code-block-in-wordpress\/","title":{"rendered":"C\u00f3mo utilizar el bloque de c\u00f3digo en WordPress en 3 sencillos pasos"},"content":{"rendered":"<p>Hay un bloque de c\u00f3digo que viene con el n\u00facleo de WordPress y te permite mostrar los fragmentos de c\u00f3digo en tu sitio web de WordPress. WordPress ha facilitado la creaci\u00f3n y visualizaci\u00f3n de contenidos. <\/p>\n\n\n\n<p>Desde desarrolladores a entusiastas de la tecnolog\u00eda, cualquiera que busque una forma de mostrar fragmentos de c\u00f3digo, el Bloque de C\u00f3digo es una herramienta robusta y sencilla. Hoy, vamos a compartir la gu\u00eda completa sobre c\u00f3mo utilizar el bloque de c\u00f3digo en WordPress a continuaci\u00f3n. Aseg\u00farese de seguirnos. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00bfQu\u00e9 es el bloque de c\u00f3digo en WordPress?<\/h2>\n\n\n\n<p>En <strong><a href=\"https:\/\/wordpress.org\/documentation\/article\/code-block\/\" target=\"_blank\" rel=\"noreferrer noopener\">Bloque de c\u00f3digos<\/a><\/strong> es un bloque de Gutenberg dise\u00f1ado para a\u00f1adir y mostrar fragmentos de c\u00f3digo dentro de una entrada o p\u00e1gina. <\/p>\n\n\n\n<p>El bloque C\u00f3digo resalta la sintaxis como texto sin formato sin ejecutarla, por lo que resulta ideal para mostrar ejemplos de programaci\u00f3n o scripts.<\/p>\n\n\n\n<div class=\"wp-block-group has-border-color has-global-padding is-layout-constrained wp-container-core-group-is-layout-8db5ca72 wp-block-group-is-layout-constrained\" style=\"border-color:#671feb;border-style:solid;border-width:1px;border-radius:4px;padding-top:var(--wp--preset--spacing--medium);padding-right:var(--wp--preset--spacing--small);padding-bottom:var(--wp--preset--spacing--medium);padding-left:var(--wp--preset--spacing--small)\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-505d3e6d wp-block-group-is-layout-flex\" style=\"padding-top:var(--wp--preset--spacing--small);padding-bottom:var(--wp--preset--spacing--small)\">\n<p style=\"font-size:clamp(18.959px, 1.185rem + ((1vw - 3.2px) * 1.175), 30px);\"><strong>Cree bonitas mesas <\/strong><br><strong>Con el editor de bloques<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-f2baa792 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-background wp-element-button\" href=\"https:\/\/wordpress.org\/plugins\/tableberg\/\" style=\"background-color:#671feb\" target=\"_blank\" rel=\"noreferrer noopener\">Pruebe gratis<\/a><\/div>\n\n\n\n<div class=\"wp-block-button is-style-outline is-style-outline--1\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/tableberg.com\/es\/precios\/\" target=\"_blank\" rel=\"noreferrer noopener\">Conseguir Pro<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"540\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Tableberg.png\" alt=\"\" class=\"wp-image-1545\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Tableberg.png 540w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Tableberg-300x300.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/05\/Tableberg-150x150.png 150w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/figure>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-main-accent-color has-alpha-channel-opacity has-main-accent-background-color has-background\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">C\u00f3mo utilizar el bloque de c\u00f3digo en WordPress<\/h2>\n\n\n\n<p>Usar el bloque de c\u00f3digo es s\u00faper f\u00e1cil, ya que no necesitas ninguna habilidad especial para usar el bloque. Todo lo que necesitas hacer es seguir el tutorial a continuaci\u00f3n. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Paso 1: Insertar el bloque de c\u00f3digo<\/h3>\n\n\n\n<p>Para insertar el bloque de c\u00f3digo, pulse el bot\u00f3n A\u00f1adir bloque (\"<strong>+<\/strong>\") icono <strong>(1)<\/strong>, tipo \"<strong>C\u00f3digo<\/strong>\" en la casilla de b\u00fasqueda <strong>(2)<\/strong>y haga clic en \"<strong>C\u00f3digo<\/strong>&#8221; <strong>(3)<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"896\" height=\"582\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_16-56-29.png\" alt=\"\" class=\"has-border-color has-main-accent-border-color wp-image-6305\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_16-56-29.png 896w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_16-56-29-300x195.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_16-56-29-768x499.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_16-56-29-18x12.png 18w\" sizes=\"auto, (max-width: 896px) 100vw, 896px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Paso 2: Introduzca su c\u00f3digo<\/h3>\n\n\n\n<p>Cuando el bloque de c\u00f3digo est\u00e9 en el editor, inserte su c\u00f3digo. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"486\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_17-13-23-1024x486.png\" alt=\"C\u00f3mo utilizar el bloque de c\u00f3digo en WordPress\" class=\"has-border-color has-main-accent-border-color wp-image-6306\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_17-13-23-1024x486.png 1024w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_17-13-23-300x142.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_17-13-23-768x364.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_17-13-23-18x9.png 18w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_17-13-23.png 1206w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>El bloque de c\u00f3digo no tiene ninguna opci\u00f3n espec\u00edfica en el editor. Tiene todas las opciones b\u00e1sicas como cualquier otro bloque principal en Gutenberg. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Paso 3: Personalizaci\u00f3n<\/h3>\n\n\n\n<p>WordPress ofrece opciones de color, tipograf\u00eda, dimensiones y bordes para la personalizaci\u00f3n del bloque de c\u00f3digo. Para acceder a la personalizaci\u00f3n del bloque de c\u00f3digo, vaya a <strong>Configuraci\u00f3n (1)&gt; Bloque (2) &gt; Estilos (3)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"888\" height=\"572\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_19-00-32.png\" alt=\"\" class=\"has-border-color has-main-accent-border-color wp-image-6309\" style=\"border-width:1px;border-radius:3px\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_19-00-32.png 888w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_19-00-32-300x193.png 300w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_19-00-32-768x495.png 768w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_19-00-32-18x12.png 18w\" sizes=\"auto, (max-width: 888px) 100vw, 888px\" \/><\/figure>\n\n\n\n<p>Puede cambiar el color, la tipograf\u00eda, las dimensiones y el borde. <\/p>\n\n\n\n<div style=\"height:19px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<figure class=\"wp-block-image aligncenter size-full is-resized has-custom-border\"><img loading=\"lazy\" decoding=\"async\" width=\"302\" height=\"542\" src=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_19-05-22-2.png\" alt=\"\" class=\"has-border-color has-main-accent-border-color wp-image-6320\" style=\"border-width:1px;border-radius:3px;width:224px;height:auto\" srcset=\"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_19-05-22-2.png 302w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_19-05-22-2-167x300.png 167w, https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/2024-12-25_19-05-22-2-7x12.png 7w\" sizes=\"auto, (max-width: 302px) 100vw, 302px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<ol class=\"wp-block-list\">\n<li><strong>Color: <\/strong>Esta funci\u00f3n te permite cambiar el color del texto y del fondo. <\/li>\n\n\n\n<li><strong>Tipograf\u00eda:\u00a0<\/strong>La tipograf\u00eda le permite seleccionar fuentes y tama\u00f1o de fuente, apariencia, altura de l\u00ednea, espaciado entre letras, casquillo de letras y decoraci\u00f3n de letras.<\/li>\n\n\n\n<li><strong>Dimensiones:<\/strong>\u00a0Las dimensiones permiten ajustar el relleno y el margen del bloque de texto.<\/li>\n\n\n\n<li><strong>Frontera:\u00a0<\/strong>La opci\u00f3n Borde le permite a\u00f1adir borde y radio de borde para su bloque de texto.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n\n\n\n<p>As\u00ed es como se utiliza el bloque de c\u00f3digo en WordPress. <\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-main-accent-color has-alpha-channel-opacity has-main-accent-background-color has-background\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Reflexiones finales<\/h2>\n\n\n\n<p>Por \u00faltimo, el bloque de c\u00f3digo es esencial para cualquiera que desee mostrar los fragmentos de c\u00f3digo en su sitio web de WordPress. <\/p>\n\n\n\n<p>Es f\u00e1cil de usar, ofrece \u00fatiles opciones de personalizaci\u00f3n y mantiene su contenido seguro al impedir la ejecuci\u00f3n de c\u00f3digo. <\/p>\n\n\n\n<p>Empiece a utilizar el bloque C\u00f3digo hoy mismo para mejorar sus contenidos y convertir su sitio web en un recurso de referencia para obtener informaci\u00f3n t\u00e9cnica.<\/p>\n\n\n\n<p>D\u00e9jame o\u00edr tus comentarios sobre el post y el bloque en la secci\u00f3n de comentarios. Adem\u00e1s, informa a tus amigos desarrolladores de esta incre\u00edble publicaci\u00f3n a trav\u00e9s de las redes sociales. <\/p>\n\n\n\n<p><strong>M\u00e1s informaci\u00f3n<\/strong><\/p>\n\n\n<ul style=\"padding-left: 1.1em; text-align: left; --ub-list-item-icon-top: 3px;; --ub-list-item-icon-size: 0.9em; --ub-list-item-background-image: url('data:image\/svg+xml;utf8,&lt;svg xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; viewBox=&quot;0 0 512 512&quot;&gt;&lt;path fill=&quot;%23000000&quot; d=&quot;M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z&quot;&gt;&lt;\/path&gt;&lt;\/svg&gt;'); --ub-list-item-fa-li-top: 3px; --ub-list-item-spacing: 15px; \" class=\"wp-block-ub-styled-list ub_styled_list\" id=\"ub_styled_list-0adc57aa-9312-4537-87f9-2a5a57414331\"><div class=\"ub-block-list__layout\" style=\"text-align: left; column-count: 1; --ub-list-mobile-column-count: 1; \">\n<li class=\"ub_styled_list_item\" style=\"--ub-list-item-icon-top: 3px; --ub-list-item-icon-size: 0.9em; --ub-list-item-background-image: url('data:image\/svg+xml;utf8,&lt;svg xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; viewBox=&quot;0 0 512 512&quot;&gt;&lt;path fill=&quot;%23000000&quot; d=&quot;M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z&quot;&gt;&lt;\/path&gt;&lt;\/svg&gt;'); \" id=\"ub-styled-list-item-228024be-f22e-4884-bef0-b196509d1832\">\n\t\t\t<div class=\"ub_list_item_content\">\n\t\t\t\t<span class=\"ub_list_item_icon\">\n\t\t\t\t\t<svg width=\"0.9em\" height=\"0.9em\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#000000\" d=\"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z\"><\/path><\/svg>\n\t\t\t\t<\/span>\n\t\t\t\t<span class=\"ub_list_item_text\"><a href=\"https:\/\/tableberg.com\/es\/como-utilizar-el-bloque-de-citas-en-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">C\u00f3mo utilizar el bloque de presupuesto en WordPress en 3 sencillos pasos<\/a><\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/li>\n\n<li class=\"ub_styled_list_item\" style=\"--ub-list-item-icon-top: 3px; --ub-list-item-icon-size: 0.9em; --ub-list-item-background-image: url('data:image\/svg+xml;utf8,&lt;svg xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; viewBox=&quot;0 0 512 512&quot;&gt;&lt;path fill=&quot;%23000000&quot; d=&quot;M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z&quot;&gt;&lt;\/path&gt;&lt;\/svg&gt;'); \" id=\"ub-styled-list-item-228024be-f22e-4884-bef0-b196509d1832\">\n\t\t\t<div class=\"ub_list_item_content\">\n\t\t\t\t<span class=\"ub_list_item_icon\">\n\t\t\t\t\t<svg width=\"0.9em\" height=\"0.9em\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#000000\" d=\"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z\"><\/path><\/svg>\n\t\t\t\t<\/span>\n\t\t\t\t<span class=\"ub_list_item_text\"><a href=\"https:\/\/tableberg.com\/es\/como-utilizar-el-bloque-de-lista-en-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">C\u00f3mo utilizar el bloque de lista en WordPress<\/a><\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/li>\n\n<li class=\"ub_styled_list_item\" style=\"--ub-list-item-icon-top: 3px; --ub-list-item-icon-size: 0.9em; --ub-list-item-background-image: url('data:image\/svg+xml;utf8,&lt;svg xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; viewBox=&quot;0 0 512 512&quot;&gt;&lt;path fill=&quot;%23000000&quot; d=&quot;M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z&quot;&gt;&lt;\/path&gt;&lt;\/svg&gt;'); \" id=\"ub-styled-list-item-228024be-f22e-4884-bef0-b196509d1832\">\n\t\t\t<div class=\"ub_list_item_content\">\n\t\t\t\t<span class=\"ub_list_item_icon\">\n\t\t\t\t\t<svg width=\"0.9em\" height=\"0.9em\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#000000\" d=\"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z\"><\/path><\/svg>\n\t\t\t\t<\/span>\n\t\t\t\t<span class=\"ub_list_item_text\"><a href=\"https:\/\/tableberg.com\/es\/como-utilizar-el-bloque-versiculo-en-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">C\u00f3mo utilizar el bloque de vers\u00edculos en WordPress (4 sencillos pasos)<\/a><\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/li>\n\n<li class=\"ub_styled_list_item\" style=\"--ub-list-item-icon-top: 3px; --ub-list-item-icon-size: 0.9em; --ub-list-item-background-image: url('data:image\/svg+xml;utf8,&lt;svg xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; viewBox=&quot;0 0 512 512&quot;&gt;&lt;path fill=&quot;%23000000&quot; d=&quot;M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z&quot;&gt;&lt;\/path&gt;&lt;\/svg&gt;'); \" id=\"ub-styled-list-item-228024be-f22e-4884-bef0-b196509d1832\">\n\t\t\t<div class=\"ub_list_item_content\">\n\t\t\t\t<span class=\"ub_list_item_icon\">\n\t\t\t\t\t<svg width=\"0.9em\" height=\"0.9em\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#000000\" d=\"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z\"><\/path><\/svg>\n\t\t\t\t<\/span>\n\t\t\t\t<span class=\"ub_list_item_text\"><a href=\"https:\/\/tableberg.com\/es\/como-utilizar-el-bloque-de-parrafo-en-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">C\u00f3mo utilizar el bloque de p\u00e1rrafo en WordPress (2 sencillos pasos)<\/a><\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/li>\n\n<li class=\"ub_styled_list_item\" style=\"--ub-list-item-icon-top: 3px; --ub-list-item-icon-size: 0.9em; --ub-list-item-background-image: url('data:image\/svg+xml;utf8,&lt;svg xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; viewBox=&quot;0 0 512 512&quot;&gt;&lt;path fill=&quot;%23000000&quot; d=&quot;M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z&quot;&gt;&lt;\/path&gt;&lt;\/svg&gt;'); \" id=\"ub-styled-list-item-228024be-f22e-4884-bef0-b196509d1832\">\n\t\t\t<div class=\"ub_list_item_content\">\n\t\t\t\t<span class=\"ub_list_item_icon\">\n\t\t\t\t\t<svg width=\"0.9em\" height=\"0.9em\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#000000\" d=\"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z\"><\/path><\/svg>\n\t\t\t\t<\/span>\n\t\t\t\t<span class=\"ub_list_item_text\"><a href=\"https:\/\/tableberg.com\/es\/como-utilizar-el-bloque-de-encabezado-en-wordpress-2-sencillos-pasos\/\" target=\"_blank\" rel=\"noreferrer noopener\">C\u00f3mo utilizar el bloque de encabezado en WordPress (2 sencillos pasos) Tableberg<\/a><\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/li>\n<\/div><\/ul>\n\n<div class=\"wp-block-ub-social-share\" id=\"ub-social-share-54235c9e-02fd-475d-9c92-2733319281d6\">\n\t\t\t<div class=\"social-share-icons align-icons-center orientation-icons-row\"><a aria-label=\"facebook-logo\" target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Ftableberg.com%2Fes%2Fhow-to-use-the-code-block-in-wordpress%2F&amp;title=How%20to%20Use%20the%20Code%20Block%20in%20WordPress%20in%203%20Simple%20Steps\" class=\"ub-social-share-facebook-container\" style=\"border-color: #1877f2; background-color: transparent; box-shadow: none; \">\n\t\t\t\t<span class=\"social-share-icon ub-social-share-facebook\" style=\"width: 30px; height: 30px; \"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"fill:#1877f2\" fill=\"#1877f2\" width=\"20\" height=\"20\" viewbox=\"0 0 264 512\"><path d=\"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229\"><\/path><\/svg><\/span><span style=\"\">compartir<\/span>\n\t\t\t<\/a><a aria-label=\"logo twitter\" target=\"_blank\" rel=\"nofollow\" href=\"http:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Ftableberg.com%2Fes%2Fhow-to-use-the-code-block-in-wordpress%2F&amp;text=How%20to%20Use%20the%20Code%20Block%20in%20WordPress%20in%203%20Simple%20Steps\" class=\"ub-social-share-twitter-container\" style=\"border-color: #1d9bf0; background-color: transparent; box-shadow: none; \">\n\t\t\t\t<span class=\"social-share-icon ub-social-share-twitter\" style=\"width: 30px; height: 30px; \"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"color:#1d9BF0\" fill=\"#1d9BF0\" width=\"20\" height=\"20\" viewbox=\"0 0 24 24\"><path d=\"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584l-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z\"><\/path><\/svg><\/span><span style=\"\">tuitee<\/span>\n\t\t\t<\/a><a aria-label=\"linkedin-logo\" target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Ftableberg.com%2Fes%2Fhow-to-use-the-code-block-in-wordpress%2F\" class=\"ub-social-share-linkedin-container\" style=\"border-color: #2867b2; background-color: transparent; box-shadow: none; \">\n\t\t\t\t<span class=\"social-share-icon ub-social-share-linkedin\" style=\"width: 30px; height: 30px; \"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"fill:#2867b2\" fill=\"#2867b2\" width=\"20\" height=\"20\" viewbox=\"0 0 448 512\"><path d=\"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z\"><\/path><\/svg><\/span><span style=\"\">compartir<\/span>\n\t\t\t<\/a><\/div>\n\t\t<\/div>\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>There&#8217;s a code block that comes with the WordPress core and lets you showcase the code snippets on your WordPress website. WordPress has made it easier to create and display content. From developers to tech enthusiasts, anyone looking for a way to showcase code snippets, the Code Block is a robust and simple tool. Today, [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":6301,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-6300","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to"],"featured_image_src":"https:\/\/tableberg.com\/wp-content\/uploads\/2024\/12\/How-to-Use-the-Code-Block-in-WordPress-1140-x-450.png","author_info":{"display_name":"Ankur Raj Bongshi","author_link":"https:\/\/tableberg.com\/es\/author\/rajankur003\/"},"_links":{"self":[{"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/posts\/6300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/comments?post=6300"}],"version-history":[{"count":19,"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/posts\/6300\/revisions"}],"predecessor-version":[{"id":6361,"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/posts\/6300\/revisions\/6361"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/media\/6301"}],"wp:attachment":[{"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/media?parent=6300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/categories?post=6300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tableberg.com\/es\/wp-json\/wp\/v2\/tags?post=6300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}