Custom Logo Link

AI-generated summary

The Custom Logo Link theme component allows admins to set the link of the logo for various user groups and devices. It supports anonymous and logged-in users on both desktop and mobile, with options for customizing links using interpolation tokens ($username and $user_id). The component has four settings: desktop_url, mobile_url, logged_in_desktop_url, and logged_in_mobile_url. Discourse provides a preview, repository link, and installation instructions for this official theme component. Support, bug, UX, and feature requests can be made on Meta, tagged with the custom-logo-link theme component tag.

:discourse2: Summary Custom Logo Link allows admins to set the link of the logo for desktop/mobile and anonymous/logged in users.
:eyeglasses: Preview Preview on Discourse Theme Creator
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-custom-logo-link
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

Features

This component allows to override the link of the logo.

Settings

Name Descriptions Example
desktop_url link for anonymous users on desktop https://www.example.com
mobile_url link for anonymous users on mobile https://www.example.com?origin=mobile
logged_in_desktop_url link for logged in users on desktop (supports $username and $user_id as interpolation tokens) https://www.example.com/$username
logged_in_mobile_url link for logged in users on mobile (supports $username and $user_id as interpolation tokens) https://www.example.com/$user_id

:discourse2: Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.

Last edited by @david 2024-07-16T13:22:38Z

Check documentPerform check on document:
10 Likes