{"id":4566809,"date":"2014-02-01T21:54:49","date_gmt":"2014-02-01T21:54:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/admin-role-function\/"},"modified":"2016-08-21T15:23:39","modified_gmt":"2016-08-21T15:23:39","slug":"admin-role-function","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/admin-role-function\/","title":{"rendered":"Admin Role Function"},"content":{"rendered":"<p>Hey man, i really like the simplicity of this maintenance mode plugin. I have use many others that make it so hard to just assign a page from the site. <\/p>\n<p>There is only one problem. Even when I am logged in as an Admin on the site, i can not view the pages I am working on. i get redirected to the maintenance page. <\/p>\n<p>I&#8217;m sure you are interested in providing Admins the ability to view the complete site. <\/p>\n<p>So until you have a chance to update the plugin, do you have a snippet you can give me that I can add to the core file to disable the maintenance page for admins?<\/p>\n<p>I did not see this as an option for the pro version. If it is, kindly let me know. <\/p>\n<p>Johnny<\/p>\n<p>https:\/\/wordpress.org\/plugins\/custom-maintenance-mode\/<\/p>\n","protected":false},"template":"","class_list":["post-4566809","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4566809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4566809\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4566809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}