Sidebar Highlight

WordPress plugin to add new section for the customizer to allow the user to
change the logo for website and login page.

Author:Hyyan Abo Fakher (profile at wordpress.org)
WordPress version required:3.0.1
WordPress version tested:4.0.1
Plugin version:1.0
Added to WordPress repository:16-03-2015
Last updated:16-03-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:20
Rated by:1
Plugin URI:https://github.com/hyyan/logo-controller/
Total downloads:2 677
Active installs:90+
plugin download
Click to start download

How to use

Just go to customize page and choose your logo , then use one of the following functions in your theme to display the logo.

<?php 

// print : http://example.com/path/to/logo.png 
 echo hyyan_get_the_logo(); 

// print : <img src="http://example.com/path/to/logo.png">    
 hyyan_the_logo();

You can also control the plugin behaviour by using the following filter:

<?php
// in the your theme's functions.php file

add_filter('Hyyan\LogoController.options', function(array $default) {
    
    $default['default'] = '/my-logo.png';
    $default['enable-on-login-page'] = true;

    return $default;
});

Contributing

Everyone is welcome to help contribute and improve this plugin. There are several ways you can contribute:

  • Reporting issues (please read issue guidelines)
  • Suggesting new features
  • Writing or refactoring code
  • Fixing issues