Forums

Wp-login (1 post)

  1. falon810
    Member
    Posted 1 year ago #

    I am trying to edit the wp-login.php without editing the core file. I have succeed through my functions.php file. but what i am trying to do is add text to the wp-login.php file through my functions.php. But i want the text to appear in the <div id="login"> but if i do this

    function logo_text() {
    echo '<div id="login">';
    echo '<h1> My Text Here </h1>';
    echo '</div>';
    }
    add_action('login_head', 'logo_text');

    it obviously creates a new <div id="login">....how can i add to the existing <div id="login"> Hopefully I have explained this well enough, and can this be done through a function? what am trying to do is i have removed the WordPress logo through css and now i am trying to add text to replace the logo.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags