{"id":4791,"date":"2023-04-13T00:23:59","date_gmt":"2023-04-12T22:23:59","guid":{"rendered":"https:\/\/www.open-user-map.com\/?post_type=ht_kb&#038;p=4791"},"modified":"2023-09-27T10:34:59","modified_gmt":"2023-09-27T08:34:59","slug":"how-to-create-a-single-location-template","status":"publish","type":"ht_kb","link":"https:\/\/www.open-user-map.com\/es\/knowledge-base\/how-to-create-a-single-location-template\/","title":{"rendered":"C\u00f3mo crear una plantilla de ubicaci\u00f3n \u00fanica"},"content":{"rendered":"<p>Aseg\u00farese de que est\u00e1 utilizando la versi\u00f3n m\u00e1s reciente de Open User Map PRO. Debe habilitar el <strong>P\u00e1ginas p\u00fablicas de localidades (P\u00e1ginas individuales)<\/strong> en los ajustes:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"520\" src=\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1024x520.png\" alt=\"\" class=\"wp-image-4792\" srcset=\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1024x520.png 1024w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-300x152.png 300w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-768x390.png 768w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-50x25.png 50w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1536x779.png 1536w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-18x9.png 18w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image.png 1774w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Crear una plantilla con el Editor de Sitios de WordPress<\/h2>\n\n\n\n<p>Si su tema soporta FSE (Full Site Editing) un Editor est\u00e1 disponible en el Dashboard de WordPress bajo <em>Apariencia &gt; Editor<\/em>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"244\" src=\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1.png\" alt=\"\" class=\"wp-image-4793\" srcset=\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1.png 742w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1-300x99.png 300w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1-50x16.png 50w, https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1-18x6.png 18w\" sizes=\"auto, (max-width: 742px) 100vw, 742px\" \/><\/figure>\n\n\n\n<p><a href=\"https:\/\/fullsiteediting.com\/lessons\/creating-block-templates-for-custom-post-types\/\" target=\"_blank\" rel=\"noreferrer noopener\">Aqu\u00ed<\/a> es un buen art\u00edculo sobre c\u00f3mo utilizar el Editor para crear una plantilla \u00fanica personalizada.<\/p>\n\n\n\n<p>Para mostrar los valores individuales de la ubicaci\u00f3n dentro de la plantilla \u00fanica utilice este shortcode:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\" data-no-translation=\"\" data-no-auto-translation=\"\"><span role=\"button\" tabindex=\"0\" data-code=\"&lt;div class=&quot;oum-location-value&quot; data-value=&quot;&quot;Favorite&quot;&gt;&lt;\/div&gt;\" style=\"color:#f6f6f4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code data-no-translation=\"\" data-no-auto-translation=\"\"><span class=\"line\"><span style=\"color: #F6F6F4\">&#091;<\/span><span style=\"color: #BF9EEE\">open<\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #BF9EEE\">user<\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #BF9EEE\">map<\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #BF9EEE\">location<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">value<\/span><span style=\"color: #F286C4\">=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">Favorite color<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\">&#093;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>V\u00e9ase&nbsp;<em>Abra Mapa del usuario &gt; Configuraci\u00f3n &gt; Ayuda e introducci\u00f3n &gt; C\u00f3digos cortos adicionales<\/em>&nbsp;para saber qu\u00e9 valores puedes obtener.<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Crear una plantilla con Elementor<\/h2>\n\n\n\n<p><a href=\"https:\/\/elementor.com\/blog\/design-your-single-post-template\/\" target=\"_blank\" rel=\"noreferrer noopener\">Aqu\u00ed<\/a> es un art\u00edculo detallado sobre c\u00f3mo utilizar Elementor para crear una plantilla \u00fanica personalizada.<\/p>\n\n\n\n<p>Para mostrar los valores individuales de la ubicaci\u00f3n dentro de la plantilla \u00fanica utilice este shortcode:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\" data-no-translation=\"\" data-no-auto-translation=\"\"><span role=\"button\" tabindex=\"0\" data-code=\"&lt;div class=&quot;oum-location-value&quot; data-value=&quot;&quot;Favorite&quot;&gt;&lt;\/div&gt;\" style=\"color:#f6f6f4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code data-no-translation=\"\" data-no-auto-translation=\"\"><span class=\"line\"><span style=\"color: #F6F6F4\">&#091;<\/span><span style=\"color: #BF9EEE\">open<\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #BF9EEE\">user<\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #BF9EEE\">map<\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #BF9EEE\">location<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">value<\/span><span style=\"color: #F286C4\">=<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">Favorite color<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\">&#093;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>V\u00e9ase&nbsp;<em>Abra Mapa del usuario &gt; Configuraci\u00f3n &gt; Ayuda e introducci\u00f3n &gt; C\u00f3digos cortos adicionales<\/em>&nbsp;para saber qu\u00e9 valores puedes obtener.<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Creaci\u00f3n de una plantilla con c\u00f3digo<\/h2>\n\n\n\n<p>Este deber\u00eda ser su m\u00e9todo alternativo si ninguno de los anteriores le funciona. Consulte la p\u00e1gina <a href=\"https:\/\/developer.wordpress.org\/themes\/template-files-section\/custom-post-type-template-files\/\" target=\"_blank\" rel=\"noreferrer noopener\">Manual para desarrolladores de WordPress<\/a> para obtener la informaci\u00f3n b\u00e1sica sobre c\u00f3mo empezar (conocimientos de PHP son \u00fatiles).<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Duplique el archivo single.php dentro de la carpeta de su tema<\/li>\n\n\n\n<li>C\u00e1mbiale el nombre a single-oum-location.php<\/li>\n\n\n\n<li>Edite el archivo y utilice la funci\u00f3n PHP do_shortcode() o oum_get_location_value( $value, $post_id ) para mostrar los valores de la ubicaci\u00f3n (v\u00e9ase <em>Abra Mapa del usuario &gt; Configuraci\u00f3n &gt; Ayuda e introducci\u00f3n &gt; C\u00f3digos cortos adicionales<\/em> para saber qu\u00e9 valores puede obtener)<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Ejemplo de c\u00f3digo para un single-oum-location.php<\/strong><\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers cbp-blur-enabled cbp-unblur-on-hover\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:16.859375px;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\" data-no-translation=\"\" data-no-auto-translation=\"\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#333545;color:#ebebe6\">PHP<\/span><span role=\"button\" tabindex=\"0\" data-code=\"&lt;?php get_header(); ?&gt;&lt;?php while ( have_posts() ) : the_post(); ?&gt;  &lt;h1&gt;&lt;?php echo do_shortcode( &#039;&lt;div class=&quot;oum-location-value&quot; data-value=&quot;&quot;title&quot;&quot;&gt;&lt;\/div&gt;&#039; ); ?&gt;&lt;\/h1&gt;  &lt;label&gt;Marker Category:&lt;\/label&gt;  &lt;?php echo do_shortcode( &#039;&lt;div class=&quot;oum-location-value&quot; data-value=&quot;&quot;type&quot;&quot;&gt;&lt;\/div&gt;&#039; ); ?&gt;  &lt;label&gt;Image:&lt;\/label&gt;  &lt;?php echo do_shortcode( &#039;&lt;div class=&quot;oum-location-value&quot; data-value=&quot;&quot;image&quot;&quot;&gt;&lt;\/div&gt;&#039; ); ?&gt;  &lt;label&gt;Map:&lt;\/label&gt;  &lt;?php echo do_shortcode( &#039;&lt;div class=&quot;oum-location-value&quot; data-value=&quot;&quot;map&quot;&quot;&gt;&lt;\/div&gt;&#039; ); ?&gt;  &lt;label&gt;Description:&lt;\/label&gt;  &lt;?php echo do_shortcode( &#039;&lt;div class=&quot;oum-location-value&quot; data-value=&quot;&quot;text&quot;&quot;&gt;&lt;\/div&gt;&#039; ); ?&gt;&lt;?php endwhile; ?&gt;\" style=\"color:#f6f6f4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code data-no-translation=\"\" data-no-auto-translation=\"\"><span class=\"line\"><span style=\"color: #F286C4\">&lt;?<\/span><span style=\"color: #BF9EEE\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">get_header<\/span><span style=\"color: #F6F6F4\">(); <\/span><span style=\"color: #F286C4\">?&gt;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F286C4\">&lt;?<\/span><span style=\"color: #BF9EEE\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">while<\/span><span style=\"color: #F6F6F4\"> ( <\/span><span style=\"color: #62E884\">have_posts<\/span><span style=\"color: #F6F6F4\">() ) <\/span><span style=\"color: #F286C4\">:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">the_post<\/span><span style=\"color: #F6F6F4\">(); <\/span><span style=\"color: #F286C4\">?&gt;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #F286C4\">&lt;<\/span><span style=\"color: #BF9EEE\">h1<\/span><span style=\"color: #F286C4\">&gt;&lt;?<\/span><span style=\"color: #BF9EEE\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #97E1F1\">echo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">do_shortcode<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">&#091;open-user-map-location value=&quot;title&quot;&#093;<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #F6F6F4\">); <\/span><span style=\"color: #F286C4\">?&gt;&lt;\/<\/span><span style=\"color: #BF9EEE\">h1<\/span><span style=\"color: #F286C4\">&gt;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #F286C4\">&lt;<\/span><span style=\"color: #BF9EEE\">label<\/span><span style=\"color: #F286C4\">&gt;<\/span><span style=\"color: #BF9EEE\">Marker<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">Category<\/span><span style=\"color: #F286C4\">:&lt;\/<\/span><span style=\"color: #BF9EEE\">label<\/span><span style=\"color: #F286C4\">&gt;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #F286C4\">&lt;?<\/span><span style=\"color: #BF9EEE\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #97E1F1\">echo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">do_shortcode<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">&#091;open-user-map-location value=&quot;type&quot;&#093;<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #F6F6F4\">); <\/span><span style=\"color: #F286C4\">?&gt;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #F286C4\">&lt;<\/span><span style=\"color: #BF9EEE\">label<\/span><span style=\"color: #F286C4\">&gt;<\/span><span style=\"color: #BF9EEE\">Image<\/span><span style=\"color: #F286C4\">:&lt;\/<\/span><span style=\"color: #BF9EEE\">label<\/span><span style=\"color: #F286C4\">&gt;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #F286C4\">&lt;?<\/span><span style=\"color: #BF9EEE\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #97E1F1\">echo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">do_shortcode<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">&#091;open-user-map-location value=&quot;image&quot;&#093;<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #F6F6F4\">); <\/span><span style=\"color: #F286C4\">?&gt;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #F286C4\">&lt;<\/span><span style=\"color: #BF9EEE\">label<\/span><span style=\"color: #F286C4\">&gt;<\/span><span style=\"color: #BF9EEE\">Map<\/span><span style=\"color: #F286C4\">:&lt;\/<\/span><span style=\"color: #BF9EEE\">label<\/span><span style=\"color: #F286C4\">&gt;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #F286C4\">&lt;?<\/span><span style=\"color: #BF9EEE\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #97E1F1\">echo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">do_shortcode<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">&#091;open-user-map-location value=&quot;map&quot;&#093;<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #F6F6F4\">); <\/span><span style=\"color: #F286C4\">?&gt;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #F286C4\">&lt;<\/span><span style=\"color: #BF9EEE\">label<\/span><span style=\"color: #F286C4\">&gt;<\/span><span style=\"color: #BF9EEE\">Description<\/span><span style=\"color: #F286C4\">:&lt;\/<\/span><span style=\"color: #BF9EEE\">label<\/span><span style=\"color: #F286C4\">&gt;<\/span><\/span>\n<span class=\"line cbp-no-blur\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #F286C4\">&lt;?<\/span><span style=\"color: #BF9EEE\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #97E1F1\">echo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">do_shortcode<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">&#091;open-user-map-location value=&quot;text&quot;&#093;<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #62E884\"> <\/span><span style=\"color: #F6F6F4\">); <\/span><span style=\"color: #F286C4\">?&gt;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F286C4\">&lt;?<\/span><span style=\"color: #BF9EEE\">php<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">endwhile<\/span><span style=\"color: #F6F6F4\">; <\/span><span style=\"color: #F286C4\">?&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Importante:<\/strong> Debe asegurarse de llamar al <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">do_shortcode()<\/mark> dentro del bucle post.<\/p>","protected":false},"excerpt":{"rendered":"<p>Aseg\u00farese de que est\u00e1 utilizando la versi\u00f3n m\u00e1s reciente de Open User Map PRO. Debe activar la funci\u00f3n P\u00e1ginas p\u00fablicas para ubicaciones (P\u00e1ginas individuales) en la configuraci\u00f3n: Crear una plantilla con WordPress Site Editor Si su tema soporta FSE (Full Site Editing) un Editor est\u00e1 disponible en el Dashboard de WordPress bajo Apariencia ... <a href=\"https:\/\/www.open-user-map.com\/es\/knowledge-base\/how-to-create-a-single-location-template\/\">Contin\u00faa en<\/a><\/p>","protected":false},"author":50,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[53],"ht-kb-tag":[95,92,94,91,90,93],"class_list":["post-4791","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-faq","ht_kb_tag-detail","ht_kb_tag-elementor","ht_kb_tag-php","ht_kb_tag-public-pages","ht_kb_tag-single","ht_kb_tag-site-editor"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to create a Single Location Template - Open User Map<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.open-user-map.com\/es\/knowledge-base\/how-to-create-a-single-location-template\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create a Single Location Template - Open User Map\" \/>\n<meta property=\"og:description\" content=\"Please make sure you are using the most recent version of Open User Map PRO. You need to enable the Public pages for locations (Single pages) feature in the settings: Creating a template with WordPress Site Editor If your theme supports FSE (Full Site Editing) an Editor is available in the WordPress Dashboard under Appearance &hellip; Continued\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.open-user-map.com\/es\/knowledge-base\/how-to-create-a-single-location-template\/\" \/>\n<meta property=\"og:site_name\" content=\"Open User Map\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-27T08:34:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1024x520.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/\"},\"author\":{\"name\":\"Daniel Sch\u00f6nherr\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#\\\/schema\\\/person\\\/d9c8cbe470ae2702b6de61e0f73a7402\"},\"headline\":\"How to create a Single Location Template\",\"datePublished\":\"2023-04-12T22:23:59+00:00\",\"dateModified\":\"2023-09-27T08:34:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/\"},\"wordCount\":295,\"publisher\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.open-user-map.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-1024x520.png\",\"inLanguage\":\"es\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/\",\"url\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/\",\"name\":\"How to create a Single Location Template - Open User Map\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.open-user-map.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-1024x520.png\",\"datePublished\":\"2023-04-12T22:23:59+00:00\",\"dateModified\":\"2023-09-27T08:34:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.open-user-map.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-1024x520.png\",\"contentUrl\":\"https:\\\/\\\/www.open-user-map.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/image-1024x520.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/knowledge-base\\\/how-to-create-a-single-location-template\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.open-user-map.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create a Single Location Template\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#website\",\"url\":\"https:\\\/\\\/www.open-user-map.com\\\/\",\"name\":\"Open User Map\",\"description\":\"WordPress Map Plugin\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.open-user-map.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#organization\",\"name\":\"Open User Map\",\"url\":\"https:\\\/\\\/www.open-user-map.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.open-user-map.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/icon-256x256-1.png\",\"contentUrl\":\"https:\\\/\\\/www.open-user-map.com\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/icon-256x256-1.png\",\"width\":256,\"height\":256,\"caption\":\"Open User Map\"},\"image\":{\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.open-user-map.com\\\/#\\\/schema\\\/person\\\/d9c8cbe470ae2702b6de61e0f73a7402\",\"name\":\"Daniel Sch\u00f6nherr\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"C\u00f3mo crear una plantilla de ubicaci\u00f3n \u00fanica - Open User Map","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.open-user-map.com\/es\/knowledge-base\/how-to-create-a-single-location-template\/","og_locale":"es_ES","og_type":"article","og_title":"How to create a Single Location Template - Open User Map","og_description":"Please make sure you are using the most recent version of Open User Map PRO. You need to enable the Public pages for locations (Single pages) feature in the settings: Creating a template with WordPress Site Editor If your theme supports FSE (Full Site Editing) an Editor is available in the WordPress Dashboard under Appearance &hellip; Continued","og_url":"https:\/\/www.open-user-map.com\/es\/knowledge-base\/how-to-create-a-single-location-template\/","og_site_name":"Open User Map","article_modified_time":"2023-09-27T08:34:59+00:00","og_image":[{"url":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1024x520.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/#article","isPartOf":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/"},"author":{"name":"Daniel Sch\u00f6nherr","@id":"https:\/\/www.open-user-map.com\/#\/schema\/person\/d9c8cbe470ae2702b6de61e0f73a7402"},"headline":"How to create a Single Location Template","datePublished":"2023-04-12T22:23:59+00:00","dateModified":"2023-09-27T08:34:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/"},"wordCount":295,"publisher":{"@id":"https:\/\/www.open-user-map.com\/#organization"},"image":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/#primaryimage"},"thumbnailUrl":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1024x520.png","inLanguage":"es"},{"@type":"WebPage","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/","url":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/","name":"C\u00f3mo crear una plantilla de ubicaci\u00f3n \u00fanica - Open User Map","isPartOf":{"@id":"https:\/\/www.open-user-map.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/#primaryimage"},"image":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/#primaryimage"},"thumbnailUrl":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1024x520.png","datePublished":"2023-04-12T22:23:59+00:00","dateModified":"2023-09-27T08:34:59+00:00","breadcrumb":{"@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/#primaryimage","url":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1024x520.png","contentUrl":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/04\/image-1024x520.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.open-user-map.com\/knowledge-base\/how-to-create-a-single-location-template\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.open-user-map.com\/"},{"@type":"ListItem","position":2,"name":"How to create a Single Location Template"}]},{"@type":"WebSite","@id":"https:\/\/www.open-user-map.com\/#website","url":"https:\/\/www.open-user-map.com\/","name":"Open User Map","description":"Plugin de mapas de WordPress","publisher":{"@id":"https:\/\/www.open-user-map.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.open-user-map.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.open-user-map.com\/#organization","name":"Open User Map","url":"https:\/\/www.open-user-map.com\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.open-user-map.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/09\/icon-256x256-1.png","contentUrl":"https:\/\/www.open-user-map.com\/wp-content\/uploads\/2023\/09\/icon-256x256-1.png","width":256,"height":256,"caption":"Open User Map"},"image":{"@id":"https:\/\/www.open-user-map.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.open-user-map.com\/#\/schema\/person\/d9c8cbe470ae2702b6de61e0f73a7402","name":"Daniel Sch\u00f6nherr"}]}},"_links":{"self":[{"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/ht-kb\/4791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/users\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/comments?post=4791"}],"version-history":[{"count":0,"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/ht-kb\/4791\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/media?parent=4791"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/ht-kb-category?post=4791"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.open-user-map.com\/es\/wp-json\/wp\/v2\/ht-kb-tag?post=4791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}