Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there a plugin where you can upload image "logo" for use in the site's theme rather than the admin area?

share|improve this question
1  
Please elaborate on your question. It is unclear exactly what you are looking for. Please give examples, and if appropriate, screen shots. –  MikeSchinkel Aug 26 '10 at 7:11
    
I don't understand as well, sorry. –  hakre Aug 26 '10 at 9:26

4 Answers 4

No, not really. This wouldn't be a plugin since every theme is different. Some themes have this functionality built in, though.

share|improve this answer
    
I can only underline what john writes, some themes provide such a feature and then you can edit the header image in your backend -> appearance. –  hakre Aug 27 '10 at 22:12

There's no plugin that I know ofof, but you could add this code to your functions.php file, and it would accomplish what you're looking for:

// Add a custom logo to the admin pages.  Image _MUST_ be 30x31, located in the theme images folder and named 'admin-logo.gif'.
function admin_logo() {
    $logo = dirname(__FILE__).'/images/admin-logo.gif';
    $logourl = get_bloginfo('template_directory').'/images/admin-logo.gif';

    if (file_exists($logo)) {
        echo '
            <style type="text/css">
                #header-logo { background-image: url('.$logourl.') !important; }
            </style>
        ';
    }
}

add_action('admin_head', 'admin_logo');

The function will check the images folder in your theme for a file named admin-logo.gif, and if found will add a CSS call to the page header to replace the stock WP logo. As mentioned in the comment, the image MUST be 30x31 pixels.

share|improve this answer

The logo is controlled by the theme ... so you'll have to use a theme that offers that option.

Alternatively, you could edit the them to change the logo.

share|improve this answer

+1 on using a theme that supports logos. Unless you are an experienced developer you really want to do as little editing of CSS and PHP as possible.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.