NEW PLUGIN! Be the first to try out the new ultraslim lightbox plugin - Ideal for images of all ages.

WordPress Logo Manager

One of the annoying things about wordpress is the inability to change the logo on many themes without using FTP or messing about with the media-library.

This simple plugin allows you to upload a logo from your computer into your theme image folder.

Warning: If you are using a theme which has a logo upload feature, don’t use this plugin. It either won’t work or it will mess up your layout unless you do some major hacking of the code

You can also edit the alt text and image title, link to your homepage and make the image size responsive (adapts to the screen width)

The plugin also displays all uploaded logos so you can choose which one you want to use.

If you want the plugin it’s here: wordpress.org/extend/plugins/logo-manager (opens in a new tab)

Once downloaded and installed go to:

Dashboard > Appearance > Change Logo

This is what the admin page looks like:

screenshot-1

Once your logo has been uploaded you will then need to tweak your header.php file – this isn’t a limitation of the plugin, it’s because every theme is different.

In the appearance editor open up header.php and hopefully there will be some code beginning:

<div id="logo">

Then hopefully something like:

<a href="<?php bloginfo('url'); ?>">
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.gif"></a>

Then:

</div>

Delete everything between the <div id=”logo”> and </div> and replace it with:

<?php lm_display_logo(); ?>

Update (save) the file and take a look at your theme. Your new logo will be showing.

The plugin isn’t idiot proof. It’s quite possible to really mess things up but if you are sensible then you shouldn’t have any problems.

If it does goes all pear shaped then comment below or send me an email

Deactivating and uninstalling the plugin

Because you had to add the code to your header.php you will have to remove this line when you decativate/unistall the plugin. go to your header php anmd remove the line:

<?php lm_display_logo(); ?>

  1. sandeep said:

    thanks for your plugin, very helpful. I am facing one problem, if you look at my blog, its showing multiple logos, kindly help me how to remove the previous one,

    the code in the header.php was like this before I installed the plugin

    <html >

    <meta name="description" content="” />


    <link rel="icon" href="/img/favicon.png” type=”image/x-icon”>


    <link href="/css/bootstrap.css” rel=”stylesheet”>
    <link rel="stylesheet" href="/font-awesome/css/font-awesome.min.css”>


    <link href="/style.css” rel=”stylesheet”>




    <?php if (get_option('fullby_analytics') “”) { echo get_option(‘fullby_analytics’); } ?>

    <body >

    <a class="navbar-brand" href="”>

    ‘main’,
    ‘depth’ => 2,
    ‘container’ => false,
    ‘menu_class’ => ‘nav navbar-nav navbar-right’,
    //Process nav menu using our custom nav walker
    ‘walker’ => new wp_bootstrap_navwalker())
    );
    ?>

    query(‘tag=featured&showposts=3′);
    ?>

    have_posts()) : while($specialPosts->have_posts()) : $specialPosts->the_post(); ?>

    <a href="”>

    cat_name; ?>
     

    ID, ‘fullby_video’, true );

    if($video != ”) { ?>

    Video

    post_content,'[gallery’) !== false) { ?>

    Gallery

    ID, ‘fullby_video’, true );

    if($video != ”) {?>

    <img class="yt-featured" src="http://img.youtube.com/vi//hqdefault.jpg” class=”grid-cop”/>

    ‘quad’)); ?>

    Sorry, no posts matched your criteria.

    ‘sub’,
    ‘depth’ => 2,
    ‘container’ => false,
    ‘menu_class’ => ‘nav navbar-nav’,
    //Process nav menu using our custom nav walker
    ‘walker’ => new wp_bootstrap_navwalker())
    );
    ?>

    <form class="navbar-form" role="search" method="get" action="”>

    kindly let me know what changes I need to perform

  2. Andisiwe said:

    Thank you for this plugin

    • Graham said:

      Thank you Andisiwe

  3. Denise said:

    I really love this plug in. I have a question about the use of coupon box. It has a $100 set amount. I can’t find where to erase that and just have my parameters. Also, if I put 10% I’m gathering the discount is 10% off the full price? When I put “set price” in the coupon set up it looks like it still deducted the $100. Thanx for your help. Have a great day.

    • Graham said:

      Hi Denise,
      The coupon thing is still very new so isn’t quite as feature filled as it can be. It works like this. You set up a from with a fixed amount using the shortcode: [qpp amount='$100']. You then so to the form settings and click the ‘add coupon codes’ link. Add your coupon codes (% or fixed amount) and update. When the visitor gets to your form and adds the coupon code the discount is applied when they get to paypal checkout.

      I’m working on a version where you can apply the coupon and the amount to pay updates before they click the payment button.

  4. bbb said:

    this plugin just stopped working i don’t know what happened : \
    i’m trying to change the logo i have currently but every thing i upload shows up as a broken link.
    the size is definitely small enough and the format is png and jpg
    not sure what has changed, i don’t think anything.. no updates.
    any idea what could be the problem?
    thank you!

    • Graham said:

      Hi Anne,
      Is the logo the man with the briefcase and a cigar? If so I can see him just fine in the top right corner.

  5. Jazi said:

    I could just hug you right now…just…thank you! Seriously simple, easy to follow steps. Best logo plug-in for wp. Thanks, again!

    • Graham said:

      Thank you Jazi,
      It’s probably time for an upgrade as well. I’ve discovered all sorts of clever things you can do with WordPress so will make and effort to add them to the plugin.

  6. sivakumar said:

    Thank you very much. No words to thank to you. Because i can change logo of my website with help of you link.

  7. Ingrid said:

    I am having trouble deactivating this plug in. Once I deactivate, it makes my whole site blank. I have deactivated it a few times with no luck. Please Help!

    • Graham said:

      Hi Ingrid,

      Did you delete the line: lm_display_logo(); from your header.php? You have to do this manually as it’s not part of the plugin

  8. Alex said:

    Hi,
    thanks for the plug in. I’m experiencing somewhat of a problem. I cant upload any logo. I’ve tried .gif .jpeg and .png they are all small in resolution and file size.

    Any ideas or ways I can bypass this?

    • Graham said:

      The plugin uploads the file you have on your computer. It doesn’t change anything. I did some testing and managed to upload a 2000px x 2000px image.

      Might be a good idea to check the original file and see how big it is.

What do you think?



Compatible with

Screen Shot 2014-09-04 at 20.39.36

Ask a question





Spambot blocker question

2 + 10 =

Web Analytics