WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Register Plus] Think I found a bug - fix for Custom Register/Login CSS in 2.7 (4 posts)

  1. tinwatchman
    Member
    Posted 5 years ago #

    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.

  2. mozey
    Member
    Posted 5 years ago #

    Thank you, i was having the same issue, and your fix worked.

    NOTE: your & amp; were suppose to be a &

  3. abannasch
    Member
    Posted 5 years ago #

    This was extremely helpful. Thanks.

  4. op351net
    Member
    Posted 4 years ago #

    5 months later this plugin is still with same bugs! I used workaround from tinwatchman on WP2.8.5 and it worked. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic