Black Friday Sale! Get up to $30 off GP Premium! Learn more ➝

Headers plugin Question about protected content

Home Forums Support Headers plugin Question about protected content

Home Forums Support Headers plugin Question about protected content

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #192338
    Adam

    I have a plugin that facilitates having a course on my site. You know a course with lessons, etc. With the plugin if someone tries to access a course that they don’t have access to, it lets them know that they dont have access.

    Now my issue is, I am using the page header plugin for a video embed, it’s pretty cool because the video can be much larger then if it was in the post content. The problem is, when doing this, the page header plugin still shows this protected content.

    Can you think of any way that I can use the header plugin with another plugin that secures content like this? I think it’s pretty standard how they protect content.

    Thanks in advance.

    #192408
    Tom
    Lead Developer
    Lead Developer

    Hi Adam,

    Does the plugin possibly add a class to the <body> element when the content is protected?

    If so, we could use CSS to hide certain elements when protected content is enabled.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.