strangerstudios / pmpro-events

Offer members-only events using popular events plugins and Paid Memberships Pro.
https://www.paidmembershipspro.com/add-ons/events-for-members-only/
8 stars 10 forks source link

The Events Calendar: Restrict Content in List View/Calendar View #4

Closed kimcoleman closed 5 years ago

kimcoleman commented 5 years ago

Need to filter the display of the post content for a restricted event on the "archive" page (/events) in list or calendar view.

The Single Event is properly respecting your Advanced Setting (whether to show excerpts or hide).

andrewlimaza commented 5 years ago

This is working, I just find it's caching heavily but it is working on my end.

ideadude commented 5 years ago

If they use a transient or some kind of caching, we need to make sure it respects our filtering. Hmmm. Have to look into it more. It might require an update in TEC.

ideadude commented 5 years ago

Maybe the cache is working (shows the correct events to members and non-members), we just need to break it when the filter archives setting is updated.

kimcoleman commented 5 years ago

I am still seeing the excerpt on the list and calendar view (hover). I turned off the month view cache. I have advanced settings set to hide excerpt. Excerpt is not showing on single event view.

kimcoleman commented 5 years ago

Fixed in https://github.com/strangerstudios/pmpro-events/pull/23