• Resolved johnbowman

    (@johnbowman)


    Hi All –

    We recently built a course with Sensei. We are having trouble hiding the content in the lessons until they are logged in.
    Is there any css that would force the content to be hidden?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Deric (a11n)

    (@dericleeyy)

    Hi @johnbowman ,

    Can we check if you have the User must be logged in to view lesson content enabled? This can be found in the General tab of Sensei settings:
    Screen Shot

    You should see this when viewing the lessons and not logged in:
    Screen Shot

    If you don’t, it may help by clearing the server cache to prevent any pre-rendered pages from before the setting was enabled.

    Thread Starter johnbowman

    (@johnbowman)

    Hi Deric
    Thanks for replying.

    I did check the settings and the access permissions are checked.

    Currently at the bottom of each lesson page there is a block that says
    “Please sign up for the course before starting each lesson”
    but all lesson content is still visible.

    Cleared the server cache but still not resolved.

    the course and woocommerce are linked.

    What do you suggest?

    Plugin Support Deric (a11n)

    (@dericleeyy)

    Are you using the classic editor or block editor for your lessons?

    From what you have described, it looks like learning mode is not enabled for your courses. However, that should not be an issue.

    In my test:

    Lesson Content: https://cloudup.com/cOcOzIBo0BC
    Public View: https://cloudup.com/cWmAxNDnMK0

    The lesson content is not displayed on my test site.

    Could you also try to disable all other plugins except Sensei LMS and check if the behavior is the same? You might need to use a staging site to do this without affecting your main site. You can use https://wordpress.org/plugins/wp-staging/ to create a staging site.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Lessons are visible when not logged in’ is closed to new replies.