# Locations Plugin 🌍

**URL:** <https://meta.discourse.org/t/locations-plugin/69742>\
**Category:** Plugin\
**Tags:** paid-support\
**Created:** [September 10, 2017, 10:36am UTC](https://meta.discourse.org/t/locations-plugin/69742 "2017-09-10T10:36:41Z")\
**Posts on this page:** 1\
**Showing post:** 1131

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [February 28, 2025, 4:36pm UTC](https://meta.discourse.org/t/locations-plugin/69742/1131 "2025-02-28T16:36:00Z")

</div>

I used this code to add the location below the topics titles on the topic list:  
`javascripts/discourse/connectors/topic-list-after-title/topic-list-after-title.hbr`

```js
{{#if context.topic.location}}
  <br>
  <span class="title-location">
    {{d-icon 'map-marker-alt'}} {{location-format context.topic.location opts}}
  </span>
{{/if}}

```

 ![This image lists class ads for an Nimbus Hatchet 26" complete unicycle for sale in Maryland, a 36" Nightfox complete unicycle for sale priced at $420 in Kentucky, and a Duro Crux 27.5 x 3.25 tire for sale in Alabama. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/c/3/3/c33c3c44ea9997c4cfa094b7c2ca3974d4003408.png)

It won’t work soon, if someone has an idea how to make it compatible with the recent version 🙂

---

_[View the full topic](https://meta.discourse.org/t/locations-plugin/69742)._
