{"id":372,"date":"2011-01-05T15:52:15","date_gmt":"2011-01-05T15:52:15","guid":{"rendered":"http:\/\/jonathanbjorkskog.com\/?p=372"},"modified":"2011-09-15T12:56:24","modified_gmt":"2011-09-15T12:56:24","slug":"hide-block-for-certain-content-type-in-drupal","status":"publish","type":"post","link":"https:\/\/jonathanbjorkskog.com\/es\/hide-block-for-certain-content-type-in-drupal","title":{"rendered":"Ocultar bloque para cierto tipo de contenido en Drupal 6"},"content":{"rendered":"<div>Quite often you want to hide or show a block only for a specific content type in Drupal. There is a quite simple hack you can do for\u00a0achieving that!\u00a0This is for Drupal 6, in Drupal 7 there is a core function that lets you do the same.\u00a0Use this code to hide a block for a certain content type in drupal 6:<\/div>\n<div><!--more--><\/div>\n<blockquote>\n<div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">&lt;?php<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">$match = TRUE;<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">$types = array(&#8216;library&#8217; =&gt; 1);<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">if (arg(0) == &#8216;node&#8217; &amp;&amp; is_numeric(arg(1))) {<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">$nid = arg(1);<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">$node = node_load(array(&#8216;nid&#8217; =&gt; $nid));<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">$type = $node-&gt;type;<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">if (isset($types[$type])) {<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">$match = FALSE;<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">}<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">}<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">if (drupal_is_front_page()) {<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">$match = FALSE;<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">}<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">return $match;<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">?&gt;<\/span><\/div>\n<\/div>\n<\/blockquote>\n<p>When editing a block, paste this in the box on the bottom of the page and chose &#8220;show only if the following php-code returns &#8216;true&#8217;.&#8221; Then the block will show on every content type except the &#8220;library&#8221;-one, and neither on the frontpage. Of course you can change the &#8220;library&#8221; to whatever content type you want. As you see, a little lower in the code you find this:\u00a0<span style=\"color: #ff0000;\">if (drupal_is_front_page())<\/span>, that means that we hide it also on the frontpage. Remove that line and the two under it if you don&#8217;t want to use that function.<\/p>\n<p>You like posts about Drupal? Then, read also my post about <a title=\"create quick tab blocks with cck fields in it\" href=\"http:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields\" target=\"_self\">how to create quicktab blocks with cck fields inside<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Muy a menudo se desea ocultar o mostrar un bloque s\u00f3lo para un tipo de contenido espec\u00edfico en Drupal. Hay un truco muy sencillo para conseguirlo. Esto es para Drupal 6, en Drupal 7 hay una funci\u00f3n core que te permite hacer lo mismo. Utilice este c\u00f3digo para ocultar un bloque para un...<\/p>","protected":false},"author":1,"featured_media":374,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[50],"tags":[],"class_list":["post-372","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-drupal"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hide block for certain content type in Drupal 6 - Jonathan Bj\u00f6rkskog<\/title>\n<meta name=\"description\" content=\"You can hide blocks only for a specific node-type in Drupal if you want. Use this code to hide a block for a certain content type in drupal..\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jonathanbjorkskog.com\/es\/hide-block-for-certain-content-type-in-drupal\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hide block for certain content type in Drupal 6 - Jonathan Bj\u00f6rkskog\" \/>\n<meta property=\"og:description\" content=\"You can hide blocks only for a specific node-type in Drupal if you want. Use this code to hide a block for a certain content type in drupal..\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jonathanbjorkskog.com\/es\/hide-block-for-certain-content-type-in-drupal\/\" \/>\n<meta property=\"og:site_name\" content=\"Jonathan Bj\u00f6rkskog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/Jonathan.Bjorkskog\" \/>\n<meta property=\"article:published_time\" content=\"2011-01-05T15:52:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-09-15T12:56:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"333\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jonathan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/JonathanBJ\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal\"},\"author\":{\"name\":\"Jonathan\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/person\\\/dc27f073951abad63af3a5988d59cad0\"},\"headline\":\"Hide block for certain content type in Drupal 6\",\"datePublished\":\"2011-01-05T15:52:15+00:00\",\"dateModified\":\"2011-09-15T12:56:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal\"},\"wordCount\":234,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2011\\\/01\\\/Drupal_Man.jpg\",\"articleSection\":[\"Drupal\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal\",\"name\":\"Hide block for certain content type in Drupal 6 - Jonathan Bj\u00f6rkskog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2011\\\/01\\\/Drupal_Man.jpg\",\"datePublished\":\"2011-01-05T15:52:15+00:00\",\"dateModified\":\"2011-09-15T12:56:24+00:00\",\"description\":\"You can hide blocks only for a specific node-type in Drupal if you want. Use this code to hide a block for a certain content type in drupal..\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal#primaryimage\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2011\\\/01\\\/Drupal_Man.jpg\",\"contentUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2011\\\/01\\\/Drupal_Man.jpg\",\"width\":\"333\",\"height\":\"500\",\"caption\":\"The Drupal Man shows how to hide block only for certain content type!\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/hide-block-for-certain-content-type-in-drupal#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Drupal\",\"item\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/category\\\/drupal\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Hide block for certain content type in Drupal 6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#website\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/\",\"name\":\"Jonathan Bj\u00f6rkskog\",\"description\":\"Growth Marketing since 2009\",\"publisher\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#organization\",\"name\":\"Jonathan Bj\u00f6rkskog\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/8330_154078676372_561696372_3193947_7420903_n.jpg\",\"contentUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/8330_154078676372_561696372_3193947_7420903_n.jpg\",\"width\":\"391\",\"height\":\"401\",\"caption\":\"Jonathan Bj\u00f6rkskog\"},\"image\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/person\\\/dc27f073951abad63af3a5988d59cad0\",\"name\":\"Jonathan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g\",\"caption\":\"Jonathan\"},\"description\":\"Jonathan Bj\u00f6rkskog is a marketer \\\/ Growth Hacker from Finland, that has been working full time with marketing for big corporations and some of the largest e-commerce sites in Northern Europe. With a passion for organic search, content, and growth, and a background in tech and coding, he has a broad overview of the strategies and tactics of online marketing. Having started up an agency with over 100 employees also helps to get a broad overview of what any kind of business could do to be successful online.\",\"sameAs\":[\"https:\\\/\\\/jonathanbjorkskog.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/Jonathan.Bjorkskog\",\"https:\\\/\\\/www.instagram.com\\\/jonathanbjorkskog\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/jonathanbjorkskog\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/JonathanBJ\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ocultar bloque para cierto tipo de contenido en Drupal 6 - Jonathan Bj\u00f6rkskog","description":"Puede ocultar bloques s\u00f3lo para un tipo de nodo espec\u00edfico en Drupal si lo desea. Utilice este c\u00f3digo para ocultar un bloque para un determinado tipo de contenido en drupal..","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:\/\/jonathanbjorkskog.com\/es\/hide-block-for-certain-content-type-in-drupal\/","og_locale":"es_ES","og_type":"article","og_title":"Hide block for certain content type in Drupal 6 - Jonathan Bj\u00f6rkskog","og_description":"You can hide blocks only for a specific node-type in Drupal if you want. Use this code to hide a block for a certain content type in drupal..","og_url":"https:\/\/jonathanbjorkskog.com\/es\/hide-block-for-certain-content-type-in-drupal\/","og_site_name":"Jonathan Bj\u00f6rkskog","article_author":"https:\/\/www.facebook.com\/Jonathan.Bjorkskog","article_published_time":"2011-01-05T15:52:15+00:00","article_modified_time":"2011-09-15T12:56:24+00:00","og_image":[{"width":333,"height":500,"url":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg","type":"image\/jpeg"}],"author":"Jonathan","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/JonathanBJ","twitter_misc":{"Escrito por":"Jonathan","Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal#article","isPartOf":{"@id":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal"},"author":{"name":"Jonathan","@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/person\/dc27f073951abad63af3a5988d59cad0"},"headline":"Hide block for certain content type in Drupal 6","datePublished":"2011-01-05T15:52:15+00:00","dateModified":"2011-09-15T12:56:24+00:00","mainEntityOfPage":{"@id":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal"},"wordCount":234,"commentCount":2,"publisher":{"@id":"https:\/\/jonathanbjorkskog.com\/#organization"},"image":{"@id":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal#primaryimage"},"thumbnailUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg","articleSection":["Drupal"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal","url":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal","name":"Ocultar bloque para cierto tipo de contenido en Drupal 6 - Jonathan Bj\u00f6rkskog","isPartOf":{"@id":"https:\/\/jonathanbjorkskog.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal#primaryimage"},"image":{"@id":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal#primaryimage"},"thumbnailUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg","datePublished":"2011-01-05T15:52:15+00:00","dateModified":"2011-09-15T12:56:24+00:00","description":"Puede ocultar bloques s\u00f3lo para un tipo de nodo espec\u00edfico en Drupal si lo desea. Utilice este c\u00f3digo para ocultar un bloque para un determinado tipo de contenido en drupal..","breadcrumb":{"@id":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal#primaryimage","url":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg","contentUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg","width":"333","height":"500","caption":"The Drupal Man shows how to hide block only for certain content type!"},{"@type":"BreadcrumbList","@id":"https:\/\/jonathanbjorkskog.com\/hide-block-for-certain-content-type-in-drupal#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jonathanbjorkskog.com\/"},{"@type":"ListItem","position":2,"name":"Drupal","item":"https:\/\/jonathanbjorkskog.com\/category\/drupal"},{"@type":"ListItem","position":3,"name":"Hide block for certain content type in Drupal 6"}]},{"@type":"WebSite","@id":"https:\/\/jonathanbjorkskog.com\/#website","url":"https:\/\/jonathanbjorkskog.com\/","name":"Jonathan Bj\u00f6rkskog","description":"Growth Marketing desde 2009","publisher":{"@id":"https:\/\/jonathanbjorkskog.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jonathanbjorkskog.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/jonathanbjorkskog.com\/#organization","name":"Jonathan Bj\u00f6rkskog","url":"https:\/\/jonathanbjorkskog.com\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/logo\/image\/","url":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/06\/8330_154078676372_561696372_3193947_7420903_n.jpg","contentUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/06\/8330_154078676372_561696372_3193947_7420903_n.jpg","width":"391","height":"401","caption":"Jonathan Bj\u00f6rkskog"},"image":{"@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/person\/dc27f073951abad63af3a5988d59cad0","name":"Jonathan","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g","caption":"Jonathan"},"description":"Jonathan Bj\u00f6rkskog es un vendedor \/ Growth Hacker de Finlandia, que ha estado trabajando a tiempo completo con la comercializaci\u00f3n de las grandes empresas y algunos de los mayores sitios de comercio electr\u00f3nico en el norte de Europa. Con una pasi\u00f3n por la b\u00fasqueda org\u00e1nica, el contenido y el crecimiento, y un fondo en la tecnolog\u00eda y la codificaci\u00f3n, que tiene una amplia visi\u00f3n de las estrategias y t\u00e1cticas de marketing online. Haber puesto en marcha una agencia con m\u00e1s de 100 empleados tambi\u00e9n ayuda a tener una amplia visi\u00f3n de lo que cualquier tipo de empresa puede hacer para tener \u00e9xito en Internet.","sameAs":["https:\/\/jonathanbjorkskog.com\/","https:\/\/www.facebook.com\/Jonathan.Bjorkskog","https:\/\/www.instagram.com\/jonathanbjorkskog\/","https:\/\/www.linkedin.com\/in\/jonathanbjorkskog\/","https:\/\/x.com\/https:\/\/twitter.com\/JonathanBJ"]}]}},"uagb_featured_image_src":{"full":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",333,500,false],"thumbnail":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man-150x150.jpg",150,150,true],"medium":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man-199x300.jpg",199,300,true],"medium_large":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",333,500,false],"large":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",333,500,false],"1536x1536":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",333,500,false],"2048x2048":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",333,500,false],"trp-custom-language-flag":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",8,12,false],"ptam-block-post-grid-landscape":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",266,400,false],"ptam-block-post-grid-square":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",333,500,false],"ptam-block-post-grid-featured-landscape":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",333,500,false],"wplb_square":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",333,500,false],"web-stories-poster-portrait":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",333,500,false],"web-stories-publisher-logo":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",64,96,false],"web-stories-thumbnail":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2011\/01\/Drupal_Man.jpg",150,225,false]},"uagb_author_info":{"display_name":"Jonathan","author_link":"https:\/\/jonathanbjorkskog.com\/es\/author\/admin"},"uagb_comment_info":2,"uagb_excerpt":"Quite often you want to hide or show a block only for a specific content type in Drupal. There is a quite simple hack you can do for\u00a0achieving that!\u00a0This is for Drupal 6, in Drupal 7 there is a core function that lets you do the same.\u00a0Use this code to hide a block for a...","_links":{"self":[{"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/posts\/372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/comments?post=372"}],"version-history":[{"count":5,"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/posts\/372\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/posts\/372\/revisions\/763"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/media\/374"}],"wp:attachment":[{"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/media?parent=372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/categories?post=372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/es\/wp-json\/wp\/v2\/tags?post=372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}