{"id":524,"date":"2012-05-24T14:59:32","date_gmt":"2012-05-24T05:59:32","guid":{"rendered":"http:\/\/www.santoshkori.com\/blog\/?p=524"},"modified":"2012-05-24T15:06:05","modified_gmt":"2012-05-24T06:06:05","slug":"how-to-remove-the-admin-bar-on-the-frontend-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.santoshkori.com\/blog\/how-to-remove-the-admin-bar-on-the-frontend-in-wordpress\/","title":{"rendered":"How to remove The admin bar on the frontend in WordPress"},"content":{"rendered":"<p>Here is <a href=\"https:\/\/www.santoshkori.com\/blog\/softwares\/web-development\/how-to-remove-the-admin-bar-on-the-frontend-in-wordpress\/\">code to Remove\/ disable the top wordpress admin bar from front end in WordPress<\/a>.<br \/>\nThe admin bar on the frontend can be a bit of a pain if your using absolute \/ fixed positioning, or maybe you just hate it? Let&#8217;s get rid of it.<\/p>\n<p>Copy paste code in Function.php of your theme root folder.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n \/\/ Remove the admin bar from the front end\r\nadd_filter( 'show_admin_bar', '__return_false' );\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here is code to Remove\/ disable the top wordpress admin bar from front end in WordPress. The admin bar on the frontend can be a bit of a pain if your using absolute \/ fixed positioning, or maybe you just hate it? Let&#8217;s get rid of it. Copy paste code in Function.php of your theme [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,184],"tags":[242,243,241,240,239,238,237],"class_list":["post-524","post","type-post","status-publish","format-standard","hentry","category-web-development","category-wordpress-tip-and-tricks","tag-how-to-deactive-admin-bar-from-frontend-in-wordpress","tag-how-to-delete-admin-bar-from-frontend-in-wordpress","tag-how-to-disable-admin-bar-from-frontend-in-wordpress","tag-how-to-remove-admin-bar-from-frontend-in-wordpress","tag-how-to-remove-the-admin-bar-in-wordpress","tag-how-to-remove-the-admin-bar-on-the-frontend","tag-how-to-remove-the-admin-bar-on-the-frontend-in-wordpress"],"_links":{"self":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/comments?post=524"}],"version-history":[{"count":4,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/524\/revisions"}],"predecessor-version":[{"id":528,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/524\/revisions\/528"}],"wp:attachment":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/media?parent=524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/categories?post=524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/tags?post=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}