Private Event Categories?

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 4 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35031 Reply

    Hi Stephen, I played around a little bit with the free version, great work!
    I want to use events marked as private to show them only to logged in users in the full calendar, works great. All of this private events are in the same category, so just marking the category as private would be helpfull. Especially, because the filtering drop-down lists the category, even if the events are not visible for not logged in visitors. Is a kind of private category or another workaround possible with the Pro Version? Or just remove categories from drop-down for unlogged visitors?
    Many Thanks
    Chris

    Chris512
    #35096 Reply

    Hi Chris,

    No unfortunately Pro doesn’t offer private categories.

    However it should be possible via code. Events are just post types and event categories are just taxonomy term. You could either hook into updating an event and set its visibility based on category or could you intercept requests for events and a clause to exclude those in the “private” category if the user is logged out.

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Private Event Categories?
Your information:




To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax


<a href="" title="" rel=""> <blockquote cite=""> <code> <pre> <em> <strong> <del datetime=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width=""> <p style=""> <span style="">