Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can’t just “fix” it. wp_register contains the
    <li> bit you are referring to. I couldn’t actually find the function to modify it so I wrote my own. This should do it for you. I had to create a custom one to insert a <span> section right around the text.

    function custom_regadmin() {
    	global $user_ID;
    	get_currentuserinfo();
    
    	if ('' == $user_ID) :
    	   $link = '<a href="' . get_option('siteurl') . '/wp-register.php">' . __('Register') . '</a>';
    	else :
    	   $link = '<a href="' . get_option('siteurl') . '/wp-admin">' . __('Site Admin') . '</a>';
          endif;
    	echo apply_filters('regadmin', $link);
    }

    Call custom_regadmin() instead of wp_register() to use this one. If you need a place to put the code then put it in your theme’s function.php file. It will work fine from there. ??

    Thread Starter shinji

    (@shinji)

    ?? Nevermind. I found where my problem was at and it has nothing to do with WordPress. If anyone has Firefox running with WebmailCompose and you are getting the above problem then disable that extension. It was the only other one I had running and it was causing the problem. I will be emailing the author of this plugin concerning this one.

    Forum: Plugins
    In reply to: WordPress Blogs Stats

    I added this to my blog. It is really nice. The really neat thing is that it works great with WP Style Selector out of the box! This is unlike other stats plugins that had their own page. The stats page is sufficiently detailed for my purposes.

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