{"id":48,"date":"2013-02-07T14:39:04","date_gmt":"2013-02-07T14:39:04","guid":{"rendered":"http:\/\/www.einaweb.es\/dev\/?p=48"},"modified":"2013-02-07T14:39:04","modified_gmt":"2013-02-07T14:39:04","slug":"quitar-de-la-administracion-los-textos-howdy-y-dashboard","status":"publish","type":"post","link":"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/","title":{"rendered":"Quitar de la administraci\u00f3n los textos Howdy y Dashboard"},"content":{"rendered":"<pre>El c\u00f3digo siguiente se coloca en el apartado del tema en el fichero de functions.php\r\n\r\n\/\/**************** Quita Howdy y Dashboard \r\nadd_filter( 'body_class', 'twentyeleven_body_classes' ); \r\nadd_filter('gettext', 'change_howdy', <span style=\"color: maroon;\">10<\/span>, <span style=\"color: maroon;\">3<\/span>);\r\nfunction change_howdy($translated, $text, $domain) { \r\n  <span style=\"color: blue;\">if<\/span> (!is_admin() || '<span style=\"color: blue;\">default<\/span>' != $domain)\r\n    <span style=\"color: blue;\">return<\/span> $translated; \r\n  <span style=\"color: blue;\">if<\/span> (<span style=\"color: maroon;\">false<\/span> !== strpos($translated, 'Howdy'))\r\n    <span style=\"color: blue;\">return<\/span> str_replace('Howdy', 'Hola', $translated); \r\n   <span style=\"color: blue;\">if<\/span> (<span style=\"color: maroon;\">false<\/span> !== strpos($translated, 'Dashboard'))\r\n    <span style=\"color: blue;\">return<\/span> str_replace('Dashboard', 'Escritorio', $translated);\r\n  <span style=\"color: blue;\">return<\/span> $translated; \r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>El c\u00f3digo siguiente se coloca en el apartado del tema en el fichero de functions.php \/\/**************** Quita Howdy y Dashboard add_filter( &#8216;body_class&#8217;, &#8216;twentyeleven_body_classes&#8217; ); add_filter(&#8216;gettext&#8217;, &#8216;change_howdy&#8217;, 10, 3); function change_howdy($translated, $text, $domain) { if (!is_admin() || &#8216;default&#8217; != $domain) return $translated; if (false !== strpos($translated, &#8216;Howdy&#8217;)) return str_replace(&#8216;Howdy&#8217;, &#8216;Hola&#8217;, $translated); if (false !== strpos($translated, &#8216;Dashboard&#8217;)) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Quitar de la administraci\u00f3n los textos Howdy y Dashboard  - Blog Desarrollador<\/title>\n<meta name=\"description\" content=\"Quitar de la administraci\u00f3n los textos Howdy y Dashboard  - Blog Desarrollador\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Quitar de la administraci\u00f3n los textos Howdy y Dashboard  - Blog Desarrollador\" \/>\n<meta property=\"og:description\" content=\"Quitar de la administraci\u00f3n los textos Howdy y Dashboard  - Blog Desarrollador\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Desarrollador\" \/>\n<meta property=\"article:published_time\" content=\"2013-02-07T14:39:04+00:00\" \/>\n<meta name=\"author\" content=\"Angel Fernandez Gutierrez\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@afernandezg76\" \/>\n<meta name=\"twitter:site\" content=\"@afernandezg76\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Angel Fernandez Gutierrez\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/\",\"url\":\"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/\",\"name\":\"Quitar de la administraci\u00f3n los textos Howdy y Dashboard - Blog Desarrollador\",\"isPartOf\":{\"@id\":\"http:\/\/www.einaweb.es\/develop\/#website\"},\"datePublished\":\"2013-02-07T14:39:04+00:00\",\"dateModified\":\"2013-02-07T14:39:04+00:00\",\"author\":{\"@id\":\"http:\/\/www.einaweb.es\/develop\/#\/schema\/person\/2d3361868423160a6db46ce6f9fc9a3c\"},\"description\":\"Quitar de la administraci\u00f3n los textos Howdy y Dashboard - Blog Desarrollador\",\"breadcrumb\":{\"@id\":\"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"http:\/\/www.einaweb.es\/develop\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quitar de la administraci\u00f3n los textos Howdy y Dashboard\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.einaweb.es\/develop\/#website\",\"url\":\"http:\/\/www.einaweb.es\/develop\/\",\"name\":\"Blog Desarrollador\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.einaweb.es\/develop\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.einaweb.es\/develop\/#\/schema\/person\/2d3361868423160a6db46ce6f9fc9a3c\",\"name\":\"Angel Fernandez Gutierrez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"http:\/\/www.einaweb.es\/develop\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/366f7c75ad085d0dcc2c290559c1aa5947679d86e3a8c55db42ac1c26e16c816?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/366f7c75ad085d0dcc2c290559c1aa5947679d86e3a8c55db42ac1c26e16c816?s=96&d=mm&r=g\",\"caption\":\"Angel Fernandez Gutierrez\"},\"url\":\"http:\/\/www.einaweb.es\/develop\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Quitar de la administraci\u00f3n los textos Howdy y Dashboard  - Blog Desarrollador","description":"Quitar de la administraci\u00f3n los textos Howdy y Dashboard  - Blog Desarrollador","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":"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/","og_locale":"es_ES","og_type":"article","og_title":"Quitar de la administraci\u00f3n los textos Howdy y Dashboard  - Blog Desarrollador","og_description":"Quitar de la administraci\u00f3n los textos Howdy y Dashboard  - Blog Desarrollador","og_url":"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/","og_site_name":"Blog Desarrollador","article_published_time":"2013-02-07T14:39:04+00:00","author":"Angel Fernandez Gutierrez","twitter_card":"summary_large_image","twitter_creator":"@afernandezg76","twitter_site":"@afernandezg76","twitter_misc":{"Escrito por":"Angel Fernandez Gutierrez"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/","url":"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/","name":"Quitar de la administraci\u00f3n los textos Howdy y Dashboard - Blog Desarrollador","isPartOf":{"@id":"http:\/\/www.einaweb.es\/develop\/#website"},"datePublished":"2013-02-07T14:39:04+00:00","dateModified":"2013-02-07T14:39:04+00:00","author":{"@id":"http:\/\/www.einaweb.es\/develop\/#\/schema\/person\/2d3361868423160a6db46ce6f9fc9a3c"},"description":"Quitar de la administraci\u00f3n los textos Howdy y Dashboard - Blog Desarrollador","breadcrumb":{"@id":"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.einaweb.es\/develop\/quitar-de-la-administracion-los-textos-howdy-y-dashboard\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"http:\/\/www.einaweb.es\/develop\/"},{"@type":"ListItem","position":2,"name":"Quitar de la administraci\u00f3n los textos Howdy y Dashboard"}]},{"@type":"WebSite","@id":"http:\/\/www.einaweb.es\/develop\/#website","url":"http:\/\/www.einaweb.es\/develop\/","name":"Blog Desarrollador","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.einaweb.es\/develop\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"Person","@id":"http:\/\/www.einaweb.es\/develop\/#\/schema\/person\/2d3361868423160a6db46ce6f9fc9a3c","name":"Angel Fernandez Gutierrez","image":{"@type":"ImageObject","inLanguage":"es","@id":"http:\/\/www.einaweb.es\/develop\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/366f7c75ad085d0dcc2c290559c1aa5947679d86e3a8c55db42ac1c26e16c816?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/366f7c75ad085d0dcc2c290559c1aa5947679d86e3a8c55db42ac1c26e16c816?s=96&d=mm&r=g","caption":"Angel Fernandez Gutierrez"},"url":"http:\/\/www.einaweb.es\/develop\/author\/admin\/"}]}},"_links":{"self":[{"href":"http:\/\/www.einaweb.es\/develop\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.einaweb.es\/develop\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.einaweb.es\/develop\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.einaweb.es\/develop\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.einaweb.es\/develop\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":2,"href":"http:\/\/www.einaweb.es\/develop\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":50,"href":"http:\/\/www.einaweb.es\/develop\/wp-json\/wp\/v2\/posts\/48\/revisions\/50"}],"wp:attachment":[{"href":"http:\/\/www.einaweb.es\/develop\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.einaweb.es\/develop\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.einaweb.es\/develop\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}