WP-Members: Membership Framework
Remove Login from Restricted pages (4 posts)

  1. jbrowne
    Posted 1 year ago #

    I have a simple requirement. I would like to Remove the Login form from Restricted pages. I am using WP-members for my membership management but I also have a plugin which offers social login to my site. Therefor I need to manage what is returned on a restricted pages. I will give the users a choice of login on these restricted pages. I have been able to get my html which offers this choice onto the restricted page using the dialogs in settings. I have been able to remove registration form by disabling it. Now I am left with the Login below my html on the restricted page but I no longer need it as I am asking the user to choose how they login and then sending them to a custom login page which has your short code.

    See example http://freetemplates.brightwork.com/your-feedback/

    Is there a simple way of doing this? I have trying function filters but I imagine there is a line in php I could just simply comment out which would stop returning this on the restricted pages.




  2. Chad Butler
    Plugin Author

    Posted 1 year ago #

    Filtering it out is the way to go. If you comment out code in the plugin, you'll just overwrite your change when you update the plugin.

  3. jbrowne
    Posted 1 year ago #

    Thanks Chad. May I say the plugin is great. A real problem solver for me due to my requirements.

    Yes I felt it was a filter. I wonder if you may have some instruction as to how I may do this? The filters I have tried so far have failed.

    I think this is something which would greatly benefit all of the wp-member users. You have made some really useful shortcode available for creating custom login pages but unfortunately have no simple approach to using these in conjunction with a restricted a page.

    Thanks for any advice given.

  4. avalasz42
    Posted 11 months ago #

    I "won" the maintenence of one of my workplace's wordpress page, and I should do the same as you @jbrowne. Unfortunately I'm pretty new in PHP.
    Could you please give me a hint how did you filtered out this content (log in, registration) from the "restricted" area?
    Thank you very much in advance!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Members: Membership Framework
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic