Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Soptep

    (@soptep)

    Great Alex, it works as expected! I was a little bit confused about the hook names, but now you clarified it.

    Thanks a lot!

    The quick fix is to add the needed code. Locate the file functions.php and search for the register_sidebar, which is registering the widget for the footer area. Now underneath of this function just add:

    register_sidebar( array(
    		'name' => __( 'Right Widget Area' ),
    		'id' => 'sidebar-widget-area',
    		'description' => __( 'The right widget area' ),
    		'before_widget' => '',
    		'after_widget' => '',
    		'before_title' => '',
    		'after_title' => '',
    	) );

    For more info: https://www.rufunka.com/blog/2011/04/18/add-right-side-widget-to-beauty-dots-theme-for-wordpress/

    Soptep

    (@soptep)

    Hello, i was also looking to remove this message and couldn’t find any solution around. Your post also appeared when i was looking for a solution.

    You will find this message on line 307 of the file wp-user-registration.php which is located at the plugins/wordpress-password-register folder.

    So you can just delete it or with an if condition only show it in a webpage you want. For example to only show it when register you can do something like this:

    function wp_login_message($message){
    		if (isset ($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] == "action=register")
    			$message .= '<div id="login_error">'. __('<strong>Tips</strong>: username must be in a-z0-9_.-','wp-user-registration') .'</div>';
    
    		return $message;
    	}

Viewing 3 replies - 1 through 3 (of 3 total)