Hide Private Events

Support for the WordPress Calendar plugin
Posts: 1
Joined: Fri Jun 13, 2014 8:01 am

Hide Private Events

Unread post by plaspada » Fri Jun 13, 2014 8:06 am

Goo job kieran!
I've a question:
which part of the php code i've to modificate to show to the public only the events of a category and hide to the public private events (2 categories only for registered users)?
I've try unsuccessfully. Anyone could help me? :)

User avatar
Posts: 2059
Joined: Sat May 26, 2007 1:55 pm
Location: London

Re: Hide Private Events

Unread post by Kieran » Wed Jun 25, 2014 3:54 pm

You could use a plugin that allows the ability to restrict certain pages to certain groups of users, then add to the public page

Code: Select all

and the private page

Code: Select all

where 1 is the public calendar category number and 2 is the private category number

Post Reply