Linux 软件免费装
Banner图

Custom Site Logo

开发者 iticiti
更新时间 2026年8月15日 22:44
PHP版本: 5.6 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

widget custom logo logo center logo logo management

下载

1.0.3 1.0.4 1.0 1.0.1 1.0.2 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 display it anywhere: in your theme, in a post or page, in the block editor, or in a widget area — no template editing required. Key Features How to Use It
  1. Open the header.php file of your active theme.
  2. Paste <?php echo csl_CustomSiteLogo_show_logo(); ?> where you want the logo to appear.
Prefer not to edit theme files? Use the [csl_display_logo] shortcode in any post or page, add the "Custom Site Logo" block in the block editor, or drag the "Custom Site Logo" widget into a widget area instead. If you run into any issues setting up the plugin, please reach out via the support forum.

安装:

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.

升级注意事项:

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.

常见问题:

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. Alternatively, use the [csl_display_logo] shortcode, the "Custom Site Logo" block, or the "Custom Site Logo" widget — no template editing required.

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

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

Can I use a different logo on a specific page?

Yes. Edit the page or post and use the "Custom Site Logo" meta box in the sidebar to choose an override logo just for that page.

Does it support retina screens and dark mode?

Yes. On the "Advanced Logos" tab of the settings page you can upload a retina/@2x logo, a dark-mode logo, and a mobile logo, each shown automatically under the right conditions.

Why does my logo look too big?

Uncheck "Make Logo Responsive" 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. 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 on the settings page to download your configuration as a JSON file, and import it again on this site or another one.

更新日志:

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.