Private Events

Home Forums Welcome! Pre-Sales Questions Private Events

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1018619
    Valorie
    Guest

    Is there a way to have specific categories available only to people who login?
    As well as have some that are public?

    Thank you,

    #1018654
    Brook
    Participant

    Howdy Valorie,

    I would love to help clarify this. That is absolutely possible as a small PHP modification. We have some example code here that does this, but you will still need some PHP knowledge to apply it to your site and needs:

    https://gist.github.com/elimn/c47fb3e65d437c2479bd

    Take note of the line:

    if ( current_user_can('administrator') ) return $wp_query;

    This allows administrators to see all categories. If you are knowledgeable in WP PHP, then of course you can modify this line to instead apply to logged in users or something else.

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    #1023671
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Private Events’ is closed to new replies.