Plugin Directory

Changeset 1175629


Ignore:
Timestamp:
06/06/2015 12:39:49 AM (11 years ago)
Author:
sergiuscosta
Message:

logo url and title attr

Location:
sc-custom-login/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sc-custom-login/trunk/README.md

    r1175592 r1175629  
    44
    55* Custom error mesages
     6* Custom logo URL
     7* Custom logo title attr
    68* Custom background (Soon)
    79* Custom logo (Soon)
  • sc-custom-login/trunk/index.php

    r1175574 r1175629  
    1414
    1515/**
     16 * Custom logo URL.
     17 */
     18function sclogin_admin_logo_url() {
     19    return home_url();
     20}
     21add_filter( 'login_headerurl', 'sclogin_admin_logo_url' );
     22
     23/**
     24 * Custom logo title.
     25 */
     26function sclogin_admin_logo_title() {
     27    return get_bloginfo( 'name' );
     28}
     29add_filter( 'login_headertitle', 'sclogin_admin_logo_title' );
     30
     31/**
    1632 * Change error msgs
    1733 */
  • sc-custom-login/trunk/readme.txt

    r1175592 r1175629  
    2020
    2121*   Custom login error messages
     22*   Custom logo URL
     23*   Custom logo title attr
    2224*   Custom background (Soon)
    2325*   Custom logo (Soon)
Note: See TracChangeset for help on using the changeset viewer.