# How can I pull the currently open topic's list of tags?

**URL:** <https://meta.discourse.org/t/how-can-i-pull-the-currently-open-topics-list-of-tags/246608>\
**Category:** Development\
**Created:** [November 24, 2022, 3:49am UTC](https://meta.discourse.org/t/how-can-i-pull-the-currently-open-topics-list-of-tags/246608 "2022-11-24T03:49:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![hyphalos](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@hyphalos](https://meta.discourse.org/u/hyphalos)\
**Post date:** [November 25, 2022, 2:18am UTC](https://meta.discourse.org/t/how-can-i-pull-the-currently-open-topics-list-of-tags/246608/3 "2022-11-25T02:18:45Z")

</div>

Ah, I have found the solution.

I kept re-reading this: [Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/beginners-guide-to-developing-discourse-themes/93648)

and found that if I just `console.log(this)` it was able to spew out all data on the page, including tags. I think I can go from here now by pulling the tag data on the page and checking if it’s in the settings or not. Once I polish this and think it’s ready for the public, I’ll post it on the theme components category. Just thought I’d share my findings in case anyone else is learning how to make theme components!

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-pull-the-currently-open-topics-list-of-tags/246608)._
