• Resolved zaesar

    (@zaesar)


    Hi,

    I’m building a course platform where instructors can create their courses. I came across this plugin suggested by the team of Learndash plugin.

    My question is how can I set the option when instructors are creating their course (on Add New Course, Edit Post from dashboard) to activate age-gate on their course if content is over 18?

    Thanks a lot a congrats for the plugin

    • This topic was modified 4 years, 3 months ago by zaesar.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @zaesar,

    This should be all doable from the settings;

    Set age gate to be “Selected Content”, then each course owner should have an option to age restrict on the add/edit page.

    You can also set it to use variable ages allowing courses to have a more tailored age.

    Hope that helps

    Thanks
    Phil

    Thread Starter zaesar

    (@zaesar)

    Thanks for the response!

    It works great. But when I click on yes it loads again the age restriction.
    Weird, isn’t it?

    Plugin Author Phil

    (@philsbury)

    Hi @zaesar,

    Do you have some caching? If you do you need to set age gate to JS mode in the advanced settings, then clear your cache.

    Thanks
    Phil

    • This reply was modified 4 years, 3 months ago by Phil.
    Thread Starter zaesar

    (@zaesar)

    Great!

    Works like charm.

    Congrats for the plugin <3

    Plugin Author Phil

    (@philsbury)

    @zaesar,

    Great stuff, I’ll mark this one as closed :))

    Thanks
    Phil

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add option to display age-gate on CPT course editor’ is closed to new replies.