[Plugin: WP-Members] custom page template issue
-
Firstly – thank you for a wonderful plugin.
I have reviewed many membership plugins and this one stands out head and shoulders above the rest.I am trying to protect all content unless a user is logged in.
My default settings are pages & posts protected + not showing excerpts.
This works well for all pages that do not use custom templates…However I have two pages using custom page templates and the privacy is simply overridden. I delved into the template page code and was able to make the login appear by including <?php the_content(); ?> but then the custom page template content is displayed below this.
If I use the custom field switch for just that page, I can get the login to appear and disappear depending on the switch used but the page content is ignored.
I guess this is related to the loop and how my page template is structured.
Any advice on how to set this up correctly with a custom page template?
- The topic ‘[Plugin: WP-Members] custom page template issue’ is closed to new replies.