Login Logo
[resolved] Alt / Title tag (5 posts)

  1. RogerWheatley
    Posted 4 years ago #

    How do we change the alt/title tag to the image?

    Currently it shows the "Powered by..." alt/title tag instead of either a blank one or one that reflects the site.

    I looked at the plugin code, but not to sure. Do we need to create a couple var's like alt and title? Any code examples kicking around?



  2. Mark Jaquith
    WordPress Lead Dev
    Plugin Author

    Posted 4 years ago #

    Don't think I have access to change that. I might have to use a translation filter hack. I'll look into it.

  3. RevelationTravis
    Posted 3 years ago #

    Place the following code in your functions.php file and you should be set:

    //Replaces the WordPress URL and Title on the login page
    function custom_login_url () {
        echo bloginfo ('url');
    add_filter ('login_headerurl', 'custom_login_url');
    function custom_login_title () {
        echo bloginfo ('name');
    add_filter ('login_headertitle', 'custom_login_title');
  4. OC2PS
    Posted 3 years ago #


  5. Mark Jaquith
    WordPress Lead Dev
    Plugin Author

    Posted 3 years ago #

    Looks like the filter existed after all!


    That'll be in the next release, but you can use Trunk if you want it early.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Login Logo
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic