• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to replace default wordpress login logo in genesis

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How to replace default wordpress login logo in genesis

This topic is: not resolved
  • This topic has 5 replies, 2 voices, and was last updated 9 years, 7 months ago by Brad Dalton.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 14, 2013 at 5:44 am #56263
    kriskl
    Participant

    hello, I would like to replace default wordpress login logo (I am using genesis child theme)
    without using plugins,

    I have found this function.. but it does not work 🙁

    add_action('login_head', 'custom_login_logo');
    // custom admin login logo
    function custom_login_logo() {
    echo '<style type="text/css">
    h1 a { background-image: url('.get_bloginfo('template_directory').'/images/new-logo.png) !important; }
    </style>';
    }

    any ideas what is wrong?

    Kris

    August 14, 2013 at 7:28 am #56278
    Brad Dalton
    Participant

    Link to your site please


    Tutorials for StudioPress Themes.

    August 14, 2013 at 7:59 am #56284
    kriskl
    Participant

    sorry,

    here is the link and the wordpress logo I want to replace

    http://opentuition.com/wp-login.php

    thank you
    kris

    August 14, 2013 at 8:12 am #56287
    Brad Dalton
    Participant

    Looks like that code works however here's another you can try

    https://gist.github.com/braddalton/6230742


    Tutorials for StudioPress Themes.

    August 14, 2013 at 9:04 am #56310
    kriskl
    Participant

    Thank you! that worked very well

    thanks again
    Kris

    August 14, 2013 at 9:06 am #56312
    Brad Dalton
    Participant

    No worries, I just updated my post on the topic and shared it on Facebook.

    It includes 3 code snippets and 3 plugins which all do the same job.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble