跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

SMNTCS Custom Logo Link

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

SMNTCS Custom Logo Link

作者:Niels Lange
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

By default, the logo and the site title of a WordPress site link to its home page. SMNTCS Custom Logo Link lets you point them anywhere else, for example to your main company website, a shop or a landing page.

Enter the URL in the Customizer and choose whether it opens in a new tab. Full URLs such as https://example.com and relative links such as /en/ or a single dot both work.

The plugin updates the link on the server for block themes and for themes that use the core logo, and in the browser for themes that build their own header.

Compatible with

  • Astra
  • Atomic Blocks
  • Blocksy
  • ColorMag
  • Customify
  • Education Hub
  • GeneratePress
  • Hello Elementor
  • Hestia
  • Kadence
  • Neve
  • Nevertheless
  • OceanWP
  • Shapely
  • Storefront
  • Suffice
  • Sydney
  • Twenty Fifteen
  • Twenty Nineteen
  • Twenty Seventeen
  • Twenty Sixteen
  • Twenty Twenty
  • XI Portfolio
  • Yuki

Contribute

Contributions are more than welcome. Simply head over to GitHub and open a pull request.

安装

  1. Upload smntcs-custom-logo-link to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Appearance » Customize » Logo Link and provide the logo link.

评价

Works great!

pebro 2023 年 6 月 23 日
Works great! Simple setup.

Didnt work with my Seafarer theme

oluwenzo 2023 年 5 月 26 日 1 回复
I used it for my seafarer theme but it didnt work.

Doesn´t work

oncina 2022 年 9 月 12 日 3 回复
Great!

Simply great

vipteam 2021 年 7 月 30 日 1 回复
Great plugin! Great functionality for the Membership website. Works flawlessly with SiteOrigin Corp theme. Regards

Thanks for saving me so much additional work!

Nicholas Tee 2021 年 4 月 15 日 1 回复
Just wanted to thank you guys for creating and maintaining what is a GREAT Plugin. I'm currently working on a WP Multisite project at the moment and this plugin has just saved me a bunch of work changing code across 5 installations. So I wanted to stop by and thank you for what should be a part of the WP core. I installed it on an Astra Theme and it was a simple and straight forward install. MUCH APPRECIATED !!

Works in Divi somewhat

randymartinameritech.net 2020 年 12 月 30 日 2 回复
This worked quickly and easily on Divi pages. However, the logo on posts remains unable to link to home page. Not sure why.
阅读所有12条评价

贡献者及开发者

「SMNTCS Custom Logo Link」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Niels Lange
  • Timbre Design

「SMNTCS Custom Logo Link」插件已被翻译至 5 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「SMNTCS Custom Logo Link」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

2.5 (2026.09.26)

  • Test up to WordPress 7.1
  • Update development dependencies and GitHub Actions
  • Add support for the Kadence and Yuki themes
  • Fix Hestia and other themes where only the first logo link was updated
  • Allow relative links such as a single dot or /en/
  • Update the logo link on the server for themes that use the core logo and for block themes, so it also works without JavaScript
  • Add the smntcs_custom_logo_link_selectors filter for theme developers

2.4 (2024.12.31)

  • Test up to WordPress 6.7

2.3 (2024.10.14)

  • Test up to WordPress 6.4

2.2 (2023.10.15)

  • Test up to WordPress 6.4

2.1 (2023.03.11)

  • Test up to WordPress 6.2

2.0 (2022.11.30)

  • Test up to WordPress 6.1
  • Improve support for Customify theme

1.17 (2022.05.30)

  • Test up to WordPress 6.0
  • Add support for Customify theme
  • Fix mobile support for the Astra theme

1.16 (2022.01.07)

  • Test up to WordPress 5.8
  • Add support for Education Hub theme
  • Remove support for premium themes

1.15 (2021.03.28)

  • Test up to WordPress 5.7
  • Add support for Blocksy theme
  • Add support for Divi theme
  • Add pre-comit

1.14 (2021.01.08)

  • Test up to WordPress 5.4

1.13 (2020.06.01)

  • Add @wordpress/env
  • Add support for Osmosis theme
  • Add support for xi Portfolio theme
  • Remove support for Zerif Lite

1.12 (2020.06.01)

  • Add support for Atomic Blocks theme

1.11 (2020.05.29)

  • Add support for Lore theme
  • Add support for Suffice theme

1.10 (2020.04.29)

  • Add support for Nevertheless theme
  • Test up to WordPress 5.4

1.9 (2020.04.14)

  • Fix Neve theme bug

1.8 (2020.04.06)

  • Add support for Cuisine theme
  • Add fallback support

1.7 (2020.04.06)

  • Add support for Astra theme
  • Add support for ColorMag theme
  • Add support for GeneratePress theme
  • Add support for Hello Elementor theme
  • Add support for Hestia theme
  • Add support for Neve theme
  • Add support for OceanWP theme
  • Add support for Shapely theme
  • Add support for Sydney theme
  • Add support for Twenty Twenty theme
  • Add support for Zerif Lite theme

1.6 (2019.12.07)

  • Test up to WordPress 5.3
  • Replace jQuery with Vanilla JS

1.5 (2019.12.07)

  • Add support for Storefront theme
  • Add support for Twenty Nineteen theme
  • Add support for Twenty Seventeen theme
  • Add support for Twenty Sixteen theme
  • Add support for Twenty Fifteen theme
  • Add support for Sydney theme

1.4 (2019.04.05)

  • Refactored based on PHPCS and WPCS

1.3 (2019.02.20)

  • Test up to WordPress 5.1

1.2 (2019.01.12)

  • Fixed link target issue

1.1 (2018.03.19)

  • Added README.md

1.0 (2018.03.19)

  • Initial release

额外信息

  • 版本 2.5
  • 最后更新:2 月前
  • 活跃安装数量 2,000+
  • WordPress 版本 5.7 或更高版本
  • 已测试的最高版本为 7.1.4
  • PHP 版本 7.4 或更高版本
  • 语言

    Dutch 、 Dutch (Belgium) 、 English (US) 、 German 、 German (Switzerland) 和 Swedish.

    翻译成简体中文

  • 标签
    custom logoheaderlogoLogo Linksite title
  • 高级视图

评级

5 星(最高 5 星)。
  • 12 条 5 星评价 5 星 12
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

您的评价

查看全部评论

贡献者

  • Niels Lange
  • Timbre Design

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 周边商品 ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

China 简体中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗