{"id":339,"date":"2021-04-07T01:37:22","date_gmt":"2021-04-06T17:37:22","guid":{"rendered":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/?p=339"},"modified":"2021-04-07T01:37:22","modified_gmt":"2021-04-06T17:37:22","slug":"how-to-change-wordpress-username-and-also-fix-super-admin-problem","status":"publish","type":"post","link":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/","title":{"rendered":"How to change WordPress username and also fix Super Admin problem?"},"content":{"rendered":"<p>Last updated: 20210407<\/p>\n<p>&nbsp;<\/p>\n<p>Reference:<\/p>\n<p>https:\/\/wordpress.org\/support\/topic\/change-the-admin-user-name\/<\/p>\n<p>&nbsp;<\/p>\n<p>Step 1:<\/p>\n<p>Use the <strong>Username Changer plugin.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Step 2:<\/p>\n<p>If you notice the Admin user now loses Super Admin privileges on your WordPress Network (cannot add plugin or add themes)..<\/p>\n<p>Then open your current theme&#8217;s functions.php.<\/p>\n<p>Add this to line 1 so it executes when you visit your site.<\/p>\n<p>grant_super_admin(1);<\/p>\n<p>&nbsp;<\/p>\n<p>Visit your site once, then remove the above line from the code.<\/p>\n<p>&nbsp;<\/p>\n<p>Your user should now have Super Admin privileges.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last updated: 20210407 &nbsp; Reference: https:\/\/wordpress.org\/support\/topic\/change-the-admin-user-name\/ &nbsp; Step 1: Use the Username Changer plugin. &nbsp; Step 2: If you notice the Admin user now loses Super Admin privileges on your WordPress Network (cannot add plugin or add themes).. Then open your current theme&#8217;s functions.php. Add this to line 1 so it executes when you visit &hellip; <a href=\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to change WordPress username and also fix Super Admin problem?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[13],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to change Wordpress username and also fix Super Admin problem? - Developer Hack<\/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:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to change Wordpress username and also fix Super Admin problem? - Developer Hack\" \/>\n<meta property=\"og:description\" content=\"Last updated: 20210407 &nbsp; Reference: https:\/\/wordpress.org\/support\/topic\/change-the-admin-user-name\/ &nbsp; Step 1: Use the Username Changer plugin. &nbsp; Step 2: If you notice the Admin user now loses Super Admin privileges on your WordPress Network (cannot add plugin or add themes).. Then open your current theme&#8217;s functions.php. Add this to line 1 so it executes when you visit &hellip; Continue reading &quot;How to change WordPress username and also fix Super Admin problem?&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/\" \/>\n<meta property=\"og:site_name\" content=\"Developer Hack\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-06T17:37:22+00:00\" \/>\n<meta name=\"author\" content=\"Bad Joe\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bad Joe\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#website\",\"url\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/\",\"name\":\"Developer Hack\",\"description\":\"Hacks, tips, tricks and best practices for developers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/\",\"url\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/\",\"name\":\"How to change Wordpress username and also fix Super Admin problem? - Developer Hack\",\"isPartOf\":{\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#website\"},\"datePublished\":\"2021-04-06T17:37:22+00:00\",\"dateModified\":\"2021-04-06T17:37:22+00:00\",\"author\":{\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6\"},\"breadcrumb\":{\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to change WordPress username and also fix Super Admin problem?\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6\",\"name\":\"Bad Joe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5d413dbb6a01d82a56f2ceb6a82e8704?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5d413dbb6a01d82a56f2ceb6a82e8704?s=96&d=mm&r=g\",\"caption\":\"Bad Joe\"},\"url\":\"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to change Wordpress username and also fix Super Admin problem? - Developer Hack","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:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/","og_locale":"en_US","og_type":"article","og_title":"How to change Wordpress username and also fix Super Admin problem? - Developer Hack","og_description":"Last updated: 20210407 &nbsp; Reference: https:\/\/wordpress.org\/support\/topic\/change-the-admin-user-name\/ &nbsp; Step 1: Use the Username Changer plugin. &nbsp; Step 2: If you notice the Admin user now loses Super Admin privileges on your WordPress Network (cannot add plugin or add themes).. Then open your current theme&#8217;s functions.php. Add this to line 1 so it executes when you visit &hellip; Continue reading \"How to change WordPress username and also fix Super Admin problem?\"","og_url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/","og_site_name":"Developer Hack","article_published_time":"2021-04-06T17:37:22+00:00","author":"Bad Joe","twitter_card":"summary","twitter_misc":{"Written by":"Bad Joe"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#website","url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/","name":"Developer Hack","description":"Hacks, tips, tricks and best practices for developers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/","url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/","name":"How to change Wordpress username and also fix Super Admin problem? - Developer Hack","isPartOf":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#website"},"datePublished":"2021-04-06T17:37:22+00:00","dateModified":"2021-04-06T17:37:22+00:00","author":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6"},"breadcrumb":{"@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/how-to-change-wordpress-username-and-also-fix-super-admin-problem\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/"},{"@type":"ListItem","position":2,"name":"How to change WordPress username and also fix Super Admin problem?"}]},{"@type":"Person","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/01df012e94dd976ac49e50cdbf0e38d6","name":"Bad Joe","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5d413dbb6a01d82a56f2ceb6a82e8704?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5d413dbb6a01d82a56f2ceb6a82e8704?s=96&d=mm&r=g","caption":"Bad Joe"},"url":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts\/339"}],"collection":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/comments?post=339"}],"version-history":[{"count":1,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts\/339\/revisions"}],"predecessor-version":[{"id":341,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/posts\/339\/revisions\/341"}],"wp:attachment":[{"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/media?parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/categories?post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apps.badjoerichards.com\/apps\/developerhack\/wp-json\/wp\/v2\/tags?post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}