Custom login

Posted: August 29, 2013 in Komputer

function custom_login_css() {
echo ‘<link rel=”stylesheet” type=”text/css” href=”‘.get_stylesheet_directory_uri().’/login/login-styles.css” />’;

add_action(‘login_head’, ‘custom_login_css’);

function custom_fonts() {
echo ‘<link href=”,700&#8243; rel=”stylesheet” type=”text/css”>’;

add_action(‘login_head’, ‘custom_fonts’);

add_filter( ‘login_headerurl’, ‘custom_login_header_url’ );
function custom_login_header_url($url) {
return ‘http://localhost/situs02&#8217;;
function remove_lostpassword_text ( $text ) {
if ($text == ‘Lost your password?’){$text = ”;}
return $text;
add_filter( ‘gettext’, ‘remove_lostpassword_text’ );

add_action( ‘login_head’, ‘YOURSITENAMEHERE_fadein’,30);

function YOURSITENAMEHERE_fadein() {
echo ‘<script type=”text/javascript”>// <![CDATA[
jQuery(document).ready(function() { jQuery(“#loginform,#nav,#backtoblog”).css(“display”, “none”); jQuery(“#loginform,#nav,#backtoblog”).fadeIn(3500);
// ]]></script>’;


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s