Disable register on all pages - by konair

This topic has 10 replies, 3 voices, and was last updated 8 years, 8 months ago ago by Stan Russell

  • Avatar: konair
    konair
    Participant
    August 28, 2015 at 16:16

    Hello,
    unfortunately I lost the function to disable the registration on all pages in the header.
    How can I disable this again?
    I could not find the thread.

    Thanks,
    Konstantin

    9 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    August 28, 2015 at 16:22

    Hello,

    To disable “Register” link in the header, just remove “Register” page from Pages section.

    Regards,
    Eva Kemp.

    Avatar: konair
    konair
    Participant
    August 28, 2015 at 16:26

    Sorry, the link should be remaining there, but not the option to fill the registration at hover.

    Avatar: Eva
    Eva Kemp
    Support staff
    August 28, 2015 at 19:37

    Hello,

    Please add this code in custom.css:

    .register-link .register-popup {
       display: none;
    }

    Regards,
    Eva Kemp.

    Avatar: konair
    konair
    Participant
    August 31, 2015 at 10:50

    Hello Eva,
    thanks for this, but I need to delete the code of this – not only to disable the display.

    How can I handle this?
    Thanks!

    Avatar: Eva
    Eva Kemp
    Support staff
    August 31, 2015 at 13:59

    Hello,

    You need edit the file wp-content/themes/woopress/framework/theme-functions.php (line 960) and delete the code:

    <?php if($popups) : ?>
    <div class="register-popup">
    <div class="popup-title">
    <span><?php _e( 'Register Form', ETHEME_DOMAIN ); ?></span>
    </div>
    <?php et_register_form(); ?>
    </div>
    <?php endif; ?>

    Regards,
    Eva Kemp.

    Avatar: konair
    konair
    Participant
    August 31, 2015 at 14:03

    Thanks!

    How can I make this update-save?

    In the child theme?

    Avatar: Eva
    Eva Kemp
    Support staff
    August 31, 2015 at 14:23

    Hello,

    Yes, you need create a child theme and add the whole function code from line 896 to 975 into functions.php file in the child theme and edit the code to your needs.

    Regards,
    Eva Kemp.

    Avatar: konair
    konair
    Participant
    August 31, 2015 at 14:54

    thanks

    Avatar: stan
    Stan Russell
    Participant
    August 31, 2015 at 15:31

    Hello konair,

    you are welcome!

    Regards,
    Stan Russell.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Disable register on all pages’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.