WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Register Plus] Think I found a bug – fix for Custom Register/Login CSS in 2.7

[Plugin: Register Plus] Think I found a bug – fix for Custom Register/Login CSS in 2.7

  • Think I found a bug in this plugin. Basically, it looks like for some reason any CSS added in the Custom Register & Login text fields on the plugin’s options page won’t show up unless a custom logo has been uploaded. So if you’re just using the regular WordPress logo without any modifications, the custom CSS won’t show up.

    I was able to get around this by adding a bit more code to the inline stylesheet in the PassHead function. Search for this bit of code:

    #reCAPTCHA{
    	position:relative;
    	margin-left:-32px;
    }

    Right underneath that, and before the </style> tag, add:

    <?php if( $regplus['register_css'] &amp;&amp;  $_GET['action'] == 'register') {
    		echo $regplus['register_css'];
    	} else if( $regplus['login_css'] ) {
    		echo $regplus['login_css'];
    	}?>

    That seems to do the trick.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Register Plus] Think I found a bug – fix for Custom Register/Login CSS in 2.7’ is closed to new replies.