• Hi,
    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 https://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.

    Thanks

    JB

    https://www.ads-software.com/plugins/wp-members/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    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.

    Thread Starter jbrowne

    (@jbrowne)

    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.

    Hello,
    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!
    Gábor

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Login from Restricted pages’ is closed to new replies.