# How to set script to a theme component?

**URL:** <https://meta.discourse.org/t/how-to-set-script-to-a-theme-component/283860>\
**Category:** Development\
**Created:** [October 30, 2023, 3:59am UTC](https://meta.discourse.org/t/how-to-set-script-to-a-theme-component/283860 "2023-10-30T03:59:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [October 30, 2023, 6:11am UTC](https://meta.discourse.org/t/how-to-set-script-to-a-theme-component/283860/2 "2023-10-30T06:11:49Z")

</div>

Hello 👋

You can do it with changing the home logo setting with API. 🙂

> [@(Superseded) Link to external site from the main Discourse logo](https://meta.discourse.org/t/link-to-external-site-from-the-main-discourse-logo/229347):
>
> information_source Discourse now offers an #official theme component to support this use case: play_button Original Content

---

_[View the full topic](https://meta.discourse.org/t/how-to-set-script-to-a-theme-component/283860)._
