PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Hide Page on MultiSite Installation

  1. I have a multi-site installation for a school web site. We use gravity forms so parents can contact each individual teacher from the teacher's site/blog.

    Each time a new teacher is added, we just clone a pre-built account that has the gravity form already setup to go to the admin of that account (the new teacher). This works great.

    The issue I have is that the teachers start creating their site, see that contact page with shortcode that makes no sense to them and promptly trash it, not realizing that is their contact page (link is prebuilt into the template we clone).

    So does anyone know if there is a way to hide a specific page from the admin panel in a multi-site install? I've done some Googling but nothing comes up for hiding a specific page. I'm trying to make this site as foolproof as possible.

    Posted 9 years ago on Friday September 7, 2012 | Permalink
  2. How about changing the author of the page and making it so your teachers have a role which does not allow editing of other author's posts? Other than that, you could hide the page item with CSS assuming the page number is the same in all your multi-site installations.

    Posted 9 years ago on Friday September 7, 2012 | Permalink
  3. Ah - that's a great idea with the CSS. Since we cloned the sites, the page IDs are all the same. I just set it up in the functions.php file and it worked great. Now is there a way to wrap that in a conditional so super admins can still see everything?

    Posted 9 years ago on Friday September 7, 2012 | Permalink
  4. What did you add to functions.php? Of course there is a way to make that CSS conditional, but we need to see how you're doing it now to add your conditional to it. Thanks.

    Please post the function at or so we can see it. Thanks.

    Here the WordPress reference for is_super_admin():

    Posted 9 years ago on Saturday September 8, 2012 | Permalink