SMNTCS Custom Logo Link

By Niels Lange

★ 5.0/5 (12 ratings)2,000+ active installationsVersion 2.5

Points the site logo and site title to any URL you choose instead of the home page, in classic and block themes.

Description

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

Contribute

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

Installation

  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.

Changelog

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)

1.17 (2022.05.30)

1.16 (2022.01.07)

1.15 (2021.03.28)

1.14 (2021.01.08)

  • Test up to WordPress 5.4

1.13 (2020.06.01)

1.12 (2020.06.01)

1.11 (2020.05.29)

1.10 (2020.04.29)

1.9 (2020.04.14)

1.8 (2020.04.06)

1.7 (2020.04.06)

1.6 (2019.12.07)

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

1.5 (2019.12.07)

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