Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
  • Swag ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Custom Site Logo

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Custom Site Logo

By Awais Altaf
Download
  • Details
  • Reviews
  • Development
Support

Description

Custom Site Logo helps you manage your WordPress website’s logo without editing any code.
Upload a new logo, or choose an existing image from your media library, then display it anywhere using a simple shortcode or template function.

Benefits, Features and Options:

  • Set a custom width and height for your logo.
  • Apply a hover effect to your logo.
  • Make your logo fully responsive.
  • Center your logo, and optionally link it to a custom URL.
  • Display the logo via a shortcode in any post or page, or via a function call in your theme template.

How to use it

  1. Open the header.php file of your current theme.
  2. Paste <?php echo csl_CustomSiteLogo_show_logo(); ?> where you want the logo to appear.

Shortcode

The shortcode [csl_display_logo] can be used anywhere posts, pages, or widgets support shortcodes.

If you run into any issues setting up the plugin, please reach out via the support forum.

Screenshots

The plugin's settings page. Customize your logo and its behaviour from here.
The plugin’s settings page. Customize your logo and its behaviour from here.

FAQ

How do I insert the logo?

Open the header.php file of your current theme and paste <?php echo csl_CustomSiteLogo_show_logo(); ?> where you want the logo to appear.

Can I insert the logo from the post/page editor?

Yes, just use the shortcode [csl_display_logo] in any post, page, or custom post type editor to display the logo.

Why does my logo look too big?

Uncheck the “Make Logo Responsive” option on the settings page, or set a custom width and/or height for your logo.

Where is the settings page?

Go to Dashboard => Appearance => Custom Site Logo.

Reviews

Does not have alt text

primorudy10 October 13, 2023
Fine plugin for logo management

Does not display the image ALT text

Mimi January 16, 2021
This works as described and is very easy, but I was not able to use it because it doesn’t display the image ALT text, either the ALT text as specified in the media library, nor does it allow you to insert other ALT text. Not ADA or WCAG compliant nor compliant with other accessibility guidelines throughout the world. Sorry! I ended up just hand-coding the logo into the header.

Get your logo from a CDN

photoworkout January 11, 2020
This plugin does work well to server your logo from a CDN (external source). Useful if your theme does not have the option to insert the logo by just pasting the image URL (but requires the WP media uploader, e.g. via the customizer).

And…….a logo!

Curtis December 22, 2019
It works. Thank you.

GREAT Plugin and AWESOME Support

ewdaadmin August 3, 2018
This is a great plug-in and any questions I had were answered quickly. Awais was a HUGE help.

Simple plugin

galvinxpertex April 11, 2018
Simple plugin to use.
Read all 9 reviews

Contributors & Developers

“Custom Site Logo” is open source software. The following people have contributed to this plugin.

Contributors
  • Awais Altaf

Translate “Custom Site Logo” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.3

Release Date: August 14th, 2026

Updates:

  • Resolved all PHPCS (WordPress Coding Standards) reported issues across the codebase.
  • Escaped all admin and front-end output, and added a nonce-safe check around the settings-saved notice.
  • Fixed the [csl_display_logo] shortcode to correctly return its markup instead of echoing it directly.
  • Added an alt attribute to the rendered logo image for better accessibility.
  • Clarified and improved the wording of settings page labels, descriptions, and messages.
  • Corrected a translation domain mismatch on the plugin’s “Settings” action link.
  • Updated “Tested up to” to the latest WordPress version.

1.0.2

Release Date: May 09th, 2023

Bugfixes:

  • Fixes PHP Function.

1.0.1

Release Date: May 25th, 2023

Bugfixes:

  • Fixes PHP warnings.

Updates:

Update the code standards.

Meta

  • Version 1.0.3
  • Last updated 20 hours ago
  • Active installations 1,000+
  • WordPress version 3.0 or higher
  • Tested up to 7.0.4
  • Tags
    center logocustom logoeffectslogologo management
  • Advanced View

Ratings

4.7 out of 5 stars.
  • 8 5-star reviews 5 stars 8
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 1 2-star review 2 stars 1
  • 0 1-star reviews 1 star 0

Your review

See all reviews

Contributors

  • Awais Altaf

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.