Tuesday, June 6, 2023

One Community Theme: How to remove the register button from the top menu

Deleting the following line from the theme’s header.php file worked for me: <a href=”<?php echo home_url(); ?>/register” class=”header-top-signin tada”><?php esc_attr_e(‘Register’, ‘onecommunity’); ?></a> The code was at line 86 in the file, right after: <?php if ( !is_user_logged_in() ) { ?> I obtained this solution from the theme’s comment page on themeforest.net.  The link below includes […]