Restricting content outside of the_content(); + trouble with DearPDF
-
To whom it may concern:
I’m presently working on a site with Ultimate Member installed, in addition to the DearPDF plugin as well (though DearPDF is not 100% related to every issue I’m experiencing at the moment).
This said, I’m discovering that virtually all content outside of the_content(); is not being locked for users who are not logged in.
Additionally, and perhaps more concerning, when Ultimate Member’s content restrictions are applied specifically to a standalone DearPDF post, absolutely nothing gets locked down. I can load the direct URL and the PDF embed and site footer will show up as if it were not locked down.
I realize I can easily modify the .PHP of my theme with an if/else statement to check if a user is logged in or not, but that rather defeats the purpose – especially if I’m setting restrictions based on user role.
I would like to know what suggestions the UM team has that would allow me to wrap the site’s more conventional content in the theme’s .PHP files (just FYI, I do know what I’m doing with them; the theme is partially bespoke).
Thanks!
- The topic ‘Restricting content outside of the_content(); + trouble with DearPDF’ is closed to new replies.