{"id":55017,"date":"2020-03-31T16:36:10","date_gmt":"2020-03-31T14:36:10","guid":{"rendered":"https:\/\/samuelchopard.ch\/wiki\/?p=55017"},"modified":"2020-03-31T16:37:32","modified_gmt":"2020-03-31T14:37:32","slug":"change-logo-link-in-wp-admin","status":"publish","type":"post","link":"https:\/\/samuelchopard.ch\/wiki\/library\/change-logo-link-in-wp-admin\/","title":{"rendered":"Change logo link in \/wp-admin"},"content":{"rendered":"<p><!--more--><br \/>\nPas the following code in the active theme&#8217;s <em>functions.php<\/em>:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"php\">\/* Change logo link in \/wp-admin *\/\r\nadd_filter( 'login_headerurl', 'custom_loginlogo_url' );\r\nfunction custom_loginlogo_url($url) {\r\n     return '[LINK]';\r\n}<\/pre>\n<p>Change link as needed.<\/p>\n<p>Source: <a target=\"_blank\" href=\"https:\/\/www.interserver.net\/tips\/kb\/how-to-change-the-logo-and-url-on-the-wordpress-login-page\/\">https:\/\/www.interserver.net\/tips\/kb\/how-to-change-the-logo-and-url-on-the-wordpress-login-page\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Pas the following code in the active theme's functions.php: \/* Change logo link in \/wp-admin *\/ add_filter( 'login_headerurl', 'custom_loginlogo_url' ); [...]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[24,160,169,329],"class_list":["post-55017","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-admin","tag-link","tag-logo","tag-wp-admin"],"_links":{"self":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/55017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/comments?post=55017"}],"version-history":[{"count":2,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/55017\/revisions"}],"predecessor-version":[{"id":55019,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/posts\/55017\/revisions\/55019"}],"wp:attachment":[{"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/media?parent=55017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/categories?post=55017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/samuelchopard.ch\/wiki\/wp-json\/wp\/v2\/tags?post=55017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}