Linux 软件免费装
Banner图

Custom Site Logo

开发者 iticiti
更新时间 2026年10月26日 05:26
PHP版本: 5.6 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

widget custom logo logo center logo logo management

下载

1.0.4 2.1.0 1.0 1.0.1 1.0.2 1.0.3 2.0.0 1.2.0

详情介绍:

Custom Site Logo helps you manage your WordPress website's logo without editing a single line of code. Upload a new logo, or reuse one from your Media Library, then let the plugin place it wherever your site shows its branding — your theme's header, the login and registration screens, the admin bar, even WooCommerce emails. If your theme already has a logo slot, switch on one option and the plugin fills it for you. If it doesn't, drop in a shortcode, a block, a widget, or a one-line template tag. Put Your Logo Everywhere One Logo Per Situation For Developers Getting Started How to Use It The quickest route needs no code at all: go to Appearance » Custom Site Logo, upload your logo on the General tab, then switch on "Replace the theme's logo" on the Display Locations tab. If your theme has a logo area, your logo appears in it. If your theme has no logo area, you have four options:
  1. Add the [csl_display_logo] shortcode to any post or page.
  2. Add the "Custom Site Logo" block in the block editor.
  3. Drag the "Custom Site Logo" widget into a widget area.
  4. Open your theme's header.php and paste <?php echo csl_CustomSiteLogo_show_logo(); ?> where you want the logo.
The settings screen is split into Logo Maker, General, Size & Layout, Hover Effect, Advanced Logos, Sticky Logo, Display Locations, Login & Registration, and Import / Export. If you run into any issues setting up the plugin, please reach out via the support forum. Custom Site Logo Pro Scheduled logos, conditional rules, SEO controls, and click reports are part of Custom Site Logo Pro. Pro is a separate add-on. Install it next to this plugin and leave both active. This free plugin keeps working on its own, and any Pro settings you have already saved stay stored until Pro is active. Custom Site Logo Pro adds: Pro requires this plugin, version 2.0.0 or newer, WordPress 5.0, and PHP 5.6. Get it at https://kommercely.com/product/custom-site-logo-pro/.

安装:

From your WordPress dashboard
  1. Go to Plugins » Add New.
  2. Search for "Custom Site Logo".
  3. Click Install Now, then Activate.
  4. Go to Appearance » Custom Site Logo to upload your logo and configure it, or Appearance » Customize for a live preview.
Manual installation
  1. Upload the custom-site-logo folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Go to Appearance » Custom Site Logo to upload your logo and configure it.

屏幕截图:

  • The General tab — upload or choose a logo, and optionally link it to a custom URL.
  • The Size & Layout tab — set a custom width/height, center the logo, and make it responsive.
  • The Hover Effect tab — pick a hover effect and preview it live.
  • The Advanced Logos tab — configure retina/@2x, dark-mode, and mobile logos.
  • The Import / Export tab — back up your settings as a JSON file, or restore them from one.

升级注意事项:

2.1.0 Adds a Login & Registration screen. Scheduled logos, conditional rules, language logos, rotation, SEO options, and click tracking now require Custom Site Logo Pro. Settings you already saved for those features are kept. 2.0.0 Major release. Place your logo without editing theme files, and add it to the login screen, admin bar and emails. New sticky, scheduled, conditional and per-language logos, plus preloading, structured data and a REST endpoint. Fixes garbled admin text and Customizer saves. 1.2.0 Major feature release: block, widget, retina/dark-mode/mobile logos, SVG uploads, per-page overrides, Customizer live preview, export/import, a tabbed and redesigned settings page, and a built-in Logo Maker.

常见问题:

Do I have to edit my theme files?

No. Upload your logo, then turn on "Replace the theme's logo" on the Display Locations tab. The plugin fills the logo area your theme already has. Editing header.php is only needed if your theme has no logo area at all.

How do I insert the logo manually?

Use the [csl_display_logo] shortcode in any post or page, add the "Custom Site Logo" block in the block editor, drag the "Custom Site Logo" widget into a widget area, or paste <?php echo csl_CustomSiteLogo_show_logo(); ?> into your theme's header.php.

Can I use a different logo on a specific page?

Yes. Edit the page or post and use the "Custom Site Logo" box in the sidebar to pick an override logo for that page only. You can set retina, dark-mode and mobile versions of the override too.

Does it support retina screens and dark mode?

Yes. On the Advanced Logos tab you can upload a retina/@2x logo, a dark-mode logo and a mobile logo. Each is shown automatically under the right conditions — the dark-mode logo follows the visitor's own OS or browser colour scheme preference.

Can I replace the WordPress logo on the login screen?

Yes. Open the Login & Registration tab, turn the login logo on, choose an image, and set the width you want. The same logo is used on the registration and lost-password screens, and it links to your site. Display Locations covers the theme logo, the admin bar, the dashboard footer, WooCommerce emails, and printed pages.

Can the logo shrink when visitors scroll?

Yes. Turn on the sticky logo on the Sticky Logo tab. You can set how far down the page the effect starts, how much the logo scales down, and optionally a separate compact logo to swap in.

Can I schedule a seasonal or campaign logo?

That is part of Custom Site Logo Pro. On the Conditional Rules tab, add a schedule with a start date, an end date, and an image. Pro swaps that logo in and out for you. A campaign can also repeat on the same dates every year.

Can I show a different logo on different pages?

A logo for one page or post is included here, in the editor sidebar. Rules for a post type, category, user role, device, the front page, archives, search, or logged-in visitors are part of Custom Site Logo Pro. The first matching rule wins.

Can I use a different logo per language?

Yes, with Custom Site Logo Pro. Add one row per locale on the Conditional Rules tab. Pro matches the locale WordPress has determined for the current request, so it works alongside the usual multilingual plugins.

Why does my logo look too big?

Uncheck "Make Logo Responsive" on the Size & Layout tab, or set a custom width and/or height for your logo.

Will this slow my site down?

The plugin is built to add as little as possible. The hover-effect stylesheet is only loaded when you actually choose a hover effect, and the front-end script is only loaded when sticky mode is on. If you use neither, no extra CSS or JavaScript is added to your pages.

Does it help or hurt Core Web Vitals?

The Size & Layout tab can set the logo's width and height in CSS. Automatic width and height attributes, preloading, and lazy loading are part of Custom Site Logo Pro, on the SEO & Performance tab. Those attributes let the browser reserve space so the page does not jump while the logo loads.

Does the click tracking collect personal data?

Click tracking is part of Custom Site Logo Pro and is off until you turn it on. It stores daily click counts, device type, the page path, and the link destination. To stop the endpoint being spammed, a visitor's IP address and user agent are combined into a hash that lives in a temporary 60-second cache — the address itself is never written to your database. If you also enable the Google Analytics event, that data goes to Google under your own Analytics configuration.

Is uploading SVG logos safe?

SVG upload is limited to users who can already change your plugin settings, and uploaded files are passed through a sanitizer that strips <script> tags and inline event-handler attributes. As with any SVG upload, only use files you trust.

Does it work on multisite?

Yes. Each site keeps its own logo settings. A network default logo and a network lock are part of Custom Site Logo Pro, and those are edited from Network Admin.

Can I use this with a headless or React front end?

Yes. GET /wp-json/custom-site-logo/v1/logo returns the resolved logo URL, its retina, dark and mobile variants, its dimensions, and the rendered markup. When Custom Site Logo Pro is active, the response includes the logo selected by your rules.

Where is the settings page?

Go to Appearance » Custom Site Logo. You can also configure and preview your logo live from Appearance » Customize.

Can I back up or transfer my settings?

Yes. Use the Import / Export tab to download your configuration as a JSON file and import it on this site or another one. The same tab has a Reset button that returns every setting to its default.

What happens to my settings if I delete the plugin?

Deleting the plugin removes its settings, click statistics, and per-page logo overrides. Your logo images stay in your Media Library, because they belong to your site rather than to the plugin.

Do I need Custom Site Logo Pro?

No. Theme logos, the login screen, retina, dark mode, mobile, sticky, per-page logos, the Logo Maker, and import/export all work in this plugin. Pro adds campaigns, extra logo locations, store logos, analytics, and agency controls: https://kommercely.com/product/custom-site-logo-pro/.

更新日志:

2.1.0 Release Date: October 26th, 2026 New features: Updates: Bugfixes: 2.0.0 Release Date: August 22nd, 2026 New features: Updates: Bugfixes: 1.2.0 Release Date: August 15th, 2026 New features: Updates: Bugfixes: 1.0.3 Release Date: August 14th, 2026 Updates: 1.0.2 Release Date: May 09th, 2023 Bugfixes: 1.0.1 Release Date: May 25th, 2023 Bugfixes: Updates: Update the code standards.