Is there a way to make these two pages visible to only author level users?
I have community events, so users can view their own individual events on the events/community/list and /event/## pages. However, I am using this on a multisite setup, so I want the actual calendars and full event lists to be accessible by only the site owners (author-level)
Hi Kyle, you would either need to custom code this or install a plugin like wp members which can blog pages to only logged in users. I’m not sure if it works in conjunction with plugins that can control user roles, but you could give it a shot.
So I put in a plugin that does so, but since I those two pages aren’t pages that you can do to the edit screen I can’t set permissions-know what I mean? I’ll keep trying, but any other tips would be appreciated
Okay, wrapping the entire code for the /view files for both those pages in if(current_user_can()){ code } else { wrong permission message } did the trick for what I was looking for.