WordPress.org

Forums

ALO EasyMail Newsletter
[resolved] Hide newsletter subscription from registration form (10 posts)

  1. Solanum_CH
    Member
    Posted 12 months ago #

    How can I hide the newsletter subscription from the WP registration form?

    https://wordpress.org/plugins/alo-easymail/

  2. eventualo
    Member
    Plugin Author

    Posted 11 months ago #

    A quick way could be via css:

    p.alo_easymail_reg_optin { display: none }
  3. Solanum_CH
    Member
    Posted 9 months ago #

    Thanks for your reply.

    I just tried the CSS code. Unfortunately this did not work. The subscription is still visible at the registration form.

    Do you have any other ideas?

  4. eventualo
    Member
    Plugin Author

    Posted 9 months ago #

    A css rule should make the job. Can you provide the site url?

  5. Solanum_CH
    Member
    Posted 9 months ago #

    The site url is
    http://www.corneliusfischer.ch

    I also thought that the CSS code should work. Tried to add the code to the themes custom CSS without any change. Also I added it directly to the theme CSS file. The registration form stays where it is. :-(

  6. eventualo
    Member
    Plugin Author

    Posted 9 months ago #

    The following rules shoul hide all html by plugin:

    p.alo_easymail_reg_optin { display: none !important }
    p.alo_easymail_reg_list_msg { display: none !important }
    p.alo_easymail_reg_list { display: none !important }

    I hope it helps.

  7. Solanum_CH
    Member
    Posted 9 months ago #

    I just added your CSS to the theme options custom CSS. Subscription form still visible.
    Then I tried to add the CSS right into the theme CSS file. Subscription also still visible.

    Am I doing something wrong? Should the code be added somewhere else?

  8. eventualo
    Member
    Plugin Author

    Posted 9 months ago #

    Sorry, I understand...
    The theme css is not loaded on login screen.
    You have to add the following code inside your theme functions.php:

    function my_custom_login_style() {
    	echo '<style type="text/css">
    		p.alo_easymail_reg_optin { display: none !important }
    		p.alo_easymail_reg_list_msg { display: none !important }
    		p.alo_easymail_reg_list { display: none !important }
    	</style>';
    }
    add_action('login_head', 'my_custom_login_style');

    Let us now if it works.

  9. Solanum_CH
    Member
    Posted 9 months ago #

    hurray! That worked!

    Thanks for your help !!

  10. Solanum_CH
    Member
    Posted 8 months ago #

    Hi there

    I just found out that newly registered users are now automatically added to my mailing list.

    How can I hide the newsletter subscription from the registration form and without newly registered users automatically added to my mailing list?

Reply

You must log in to post.

About this Plugin

  • ALO EasyMail Newsletter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.