=== SMNTCS Custom Logo Link ===

Contributors:       nielslange, timbre-design
Tags:               logo, logo link, custom logo, site title, header
Requires at least:  5.7
Tested up to:       7.1
Requires PHP:       7.4
Stable tag:         2.5
License:            GPL v2 or later
License URI:        https://www.gnu.org/licenses/gpl-2.0.html

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 ===

* [Astra](https://wordpress.org/themes/astra/)
* [Atomic Blocks](https://wordpress.org/themes/atomic-blocks/)
* [Blocksy](https://wordpress.org/themes/blocksy/)
* [ColorMag](https://wordpress.org/themes/colormag/)
* [Customify](https://wordpress.org/themes/customify/)
* [Education Hub](https://wordpress.org/themes/education-hub/)
* [GeneratePress](https://wordpress.org/themes/generatepress/)
* [Hello Elementor](https://wordpress.org/themes/hello-elementor/)
* [Hestia](https://wordpress.org/themes/hestia/)
* [Kadence](https://wordpress.org/themes/kadence/)
* [Neve](https://wordpress.org/themes/neve/)
* [Nevertheless](https://wordpress.org/themes/nevertheless/)
* [OceanWP](https://wordpress.org/themes/oceanwp/)
* [Shapely](https://wordpress.org/themes/shapely/)
* [Storefront](https://wordpress.org/themes/storefront/)
* [Suffice](https://wordpress.org/themes/suffice/)
* [Sydney](https://wordpress.org/themes/sydney/)
* [Twenty Fifteen](https://wordpress.org/themes/twentyfifteen/)
* [Twenty Nineteen](https://wordpress.org/themes/twentynineteen/)
* [Twenty Seventeen](https://wordpress.org/themes/twentyseventeen/)
* [Twenty Sixteen](https://wordpress.org/themes/twentysixteen/)
* [Twenty Twenty](https://wordpress.org/themes/twentytwenty/)
* [XI Portfolio](https://wordpress.org/themes/xi-portfolio/)
* [Yuki](https://wordpress.org/themes/yuki/)

== 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.

== Contribute ==

Contributions are more than welcome. Simply head over to [GitHub](https://github.com/nielslange/smntcs-custom-logo-link/pulls) and open a pull request.

== 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) =

- Test up to WordPress 6.1
- [Improve support for Customify theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/75)

= 1.17 (2022.05.30) =

- Test up to WordPress 6.0
- [Add support for Customify theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/75)
- [Fix mobile support for the Astra theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/79)

= 1.16 (2022.01.07) =

- Test up to WordPress 5.8
- [Add support for Education Hub theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/64)
- Remove support for premium themes

= 1.15 (2021.03.28) =

- Test up to WordPress 5.7
- [Add support for Blocksy theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/50)
- [Add support for Divi theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/56)
- [Add pre-comit](https://github.com/nielslange/smntcs-custom-logo-link/issues/58)

= 1.14 (2021.01.08) =

- Test up to WordPress 5.4

= 1.13 (2020.06.01) =

- [Add @wordpress/env](https://github.com/nielslange/smntcs-custom-logo-link/issues/39)
- [Add support for Osmosis theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/34)
- [Add support for xi Portfolio theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/38)
- [Remove support for Zerif Lite](https://github.com/nielslange/smntcs-custom-logo-link/issues/42)

= 1.12 (2020.06.01) =
- [Add support for Atomic Blocks theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/31)

= 1.11 (2020.05.29) =

- [Add support for Lore theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/28)
- [Add support for Suffice theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/27)

= 1.10 (2020.04.29) =

- [Add support for Nevertheless theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/11)
- Test up to WordPress 5.4

= 1.9 (2020.04.14) =

- [Fix Neve theme bug](https://github.com/nielslange/smntcs-custom-logo-link/issues/9)

= 1.8 (2020.04.06) =

- [Add support for Cuisine theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/7)
- [Add fallback support](https://github.com/nielslange/smntcs-custom-logo-link/issues/7)

= 1.7 (2020.04.06) =

- [Add support for Astra theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)
- [Add support for ColorMag theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)
- [Add support for GeneratePress theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)
- [Add support for Hello Elementor theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)
- [Add support for Hestia theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)
- [Add support for Neve theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)
- [Add support for OceanWP theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)
- [Add support for Shapely theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)
- [Add support for Sydney theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)
- [Add support for Twenty Twenty theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)
- [Add support for Zerif Lite theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/5)

= 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](https://github.com/nielslange/smntcs-custom-logo-link/issues/2)
- [Add support for Twenty Nineteen theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/2)
- [Add support for Twenty Seventeen theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/2)
- [Add support for Twenty Sixteen theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/2)
- [Add support for Twenty Fifteen theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/2)
- [Add support for Sydney theme](https://github.com/nielslange/smntcs-custom-logo-link/issues/2)

= 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
