# How do I set the order of pinned topics

**URL:** https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935
**Category:** Feature
**Created:** [27 juni 2014 om 22:42 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935 "2014-06-27T22:42:46Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![bobmcneel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bobmcneel/32/105468_2.png) [@bobmcneel](https://meta.discourse.org/u/bobmcneel)
#### Post date: [27 juni 2014 om 22:43 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/1 "2014-06-27T22:43:11Z")

</div>

I can pin a topic but if there is more than one pinned, the order gets rearranged. I’d like to always keep the Welcome topic above other important announcements that I want to keep near the top for awhile.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [27 juni 2014 om 23:06 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/2 "2014-06-27T23:06:57Z")

</div>

Perhaps that topic could be a banner topic? Banner topics are the ultimate “on top” and look like this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/6/86792095914585ea76e22a0b90a86902972119fa.jpg)

Try browsing around there a bit to see what I mean.

You can banner a topic via the admin wrench menu on a topic in the upper right.

---

<div class="post-metadata">

### Author: ![bobmcneel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bobmcneel/32/105468_2.png) [@bobmcneel](https://meta.discourse.org/u/bobmcneel)
#### Post date: [27 juni 2014 om 23:34 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/3 "2014-06-27T23:34:23Z")

</div>

That works great for the site, but I need a different banner for each category.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [27 juni 2014 om 23:38 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/4 "2014-06-27T23:38:36Z")

</div>

The only way to do it at this time is to un-pin and re-pin to force it back to the top of the pinned topics.

We don’t recommend having too many pinned topics if you can avoid it, as they can become overwhelming for users.

---

<div class="post-metadata">

### Author: ![bobmcneel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bobmcneel/32/105468_2.png) [@bobmcneel](https://meta.discourse.org/u/bobmcneel)
#### Post date: [27 juni 2014 om 23:43 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/5 "2014-06-27T23:43:17Z")

</div>

> [@codinghorror](#):
>
> We don’t recommend having too many pinned topics

I’m only using two or three on private categories. If the Welcome topic drops below then it is a little odd.I can do the unpin/pin trick for now.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [7 augustus 2014 om 08:31 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/6 "2014-08-07T08:31:36Z")

</div>

I, too, agree that this is a good feature.

When there are 2 or more pinned topics in particular categories, I find it would be very useful if I could order them.  
Unpin-and-pin-again workaround is OK, but still, is it in the TODO list?

P.S. I too have 2 to 3 - not many actually, but I wish I were able to set their order, perhaps by dragging or inputting an `ordering` natural number.

---

<div class="post-metadata">

### Author: ![metadiscourseuser](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@metadiscourseuser](https://meta.discourse.org/u/metadiscourseuser)
#### Post date: [24 juni 2020 om 05:02 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/9 "2020-06-24T05:02:55Z")

</div>

The hack to re-order pinned topics seems to no longer work:

- I have 3 pinned topics, which I’d like displayed in a particular order
- The newest topic I added & pinned is at position-1 instead of desired position-3
- So I implement the hack, to unpin & re-pin the other 2 topics so that they are displayed above this new topic
- … but nothing changes, un-pin/re-pin does not re-shuffle the order  
Any ideas on this?

… however, by editing the text in the topic I can re-shuffle the order

So the hack to re-order pinned topics is to actually edit the topic text so that desired topics appear at the top of the list

---

<div class="post-metadata">

### Author: ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)
#### Post date: [24 juni 2020 om 06:25 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/10 "2020-06-24T06:25:59Z")

</div>

Editing doesn’t seem to reorder them if the pinned topics are closed, at least for me (using beta).

---

<div class="post-metadata">

### Author: ![metadiscourseuser](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@metadiscourseuser](https://meta.discourse.org/u/metadiscourseuser)
#### Post date: [24 juni 2020 om 06:37 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/11 "2020-06-24T06:37:56Z")

</div>

I haven’t tested it with closed topics (till now all my topics have been open) & I’ve been able to do this numerous times, so I can confirm that it is working for me

---

<div class="post-metadata">

### Author: ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)
#### Post date: [24 juni 2020 om 06:55 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/12 "2020-06-24T06:55:28Z")

</div>

Great, it might make better sense that they don’t reorder once they’re closed anyhow. So once the desired order is set, can close them and freely edit them without worrying about the order.

---

<div class="post-metadata">

### Author: ![metadiscourseuser](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@metadiscourseuser](https://meta.discourse.org/u/metadiscourseuser)
#### Post date: [24 juni 2020 om 07:28 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/13 "2020-06-24T07:28:52Z")

</div>

Aaahaa 💡  
Good piece of info to save the hassle of always having to do the re-ordering jig if I edit something 🙂

---

<div class="post-metadata">

### Author: ![Wall-E](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wall-e/32/184438_2.png) [@Wall-E](https://meta.discourse.org/u/Wall-E)
#### Post date: [19 maart 2021 om 19:48 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/14 "2021-03-19T19:48:40Z")

</div>

I actually don’t have this effect: when editing the 3rd pinned topic down the list of pinned topics, it doesn’t bump it at the top. Any idea why? Unpinned topics do behave as expected (bump when edited).

[EDIT] Those pinned topics aren’t closed.

[EDIT] Unpin & re-pin globally still makes it reappear at the 3rd place.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [19 maart 2021 om 22:50 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/15 "2021-03-19T22:50:27Z")

</div>

Editing the post _shouldn’t_ have anything to do with pin order.

However, **un-pin and re-pin should change order**. On [try.discourse.org](http://try.discourse.org) I pinned these three topics in this order:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/a/0a419bbdbfc8c8bdd7401e05b03a0f78ccb534c4.png)

I unpinned the bottom one (What’s your all-time) and then re-pinned … and that did NOT affect the pin order, so our advice here is no longer correct. Even un-pinning the second one (A bear) and re-pinning it did not affect the order!

Looks like @metadiscourseuser was right. There’s a new additional step. Un-pin, edit, then re-pin. We need some kind of fix or solution here – can you schedule this for next week @eviltrout?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [19 maart 2021 om 23:01 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/16 "2021-03-19T23:01:21Z")

</div>

Also I just realized there are a few variables here:

- pin globally
- pin in category

It’s possible that _global_ pins aren’t influenced by un-pin and re-pin in the way that _category_ pins are, so we have to figure out which one we’re talking about. I’ll test in a bit.

@tshenry can you take this for the coming week? We need some proper testing and a solution here. I’m not a fan (to put it mildly..) of pinned topics, _but_ there should be a way to set their order, as previously defined in this topic.

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [22 maart 2021 om 19:04 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/19 "2021-03-22T19:04:41Z")

</div>

Here’s what I found with my testing:

- When looking at sets of global pins and sets of category-specific pins, the order appears to be influenced exclusively by bump date
- Pinning and unpinning do not appear to cause a bump and therefore do not affect the order of the pinned topics
- I checked the following bump actions and they successfully placed a pinned topic above the others:
  - Replied to a pinned topic
  - When there are no replies, edited the OP
  - Set a 1 minute “bump” topic timer (you can delete the small action past and the bump will persist)

Let me know if there are any other scenarios you would like to test!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [22 maart 2021 om 20:16 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/20 "2021-03-22T20:16:50Z")

</div>

Looks OK to me, @sam @eviltrout what are your opinions on this? Should we make it easier, or is this sufficient?

(from my perspective, we want friction around pinned topics, so I vote for the status quo, but properly documented)

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [23 maart 2021 om 17:50 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/21 "2021-03-23T17:50:16Z")

</div>

I don’t love to support “quirk that works for our purposes.” If the order of pinned topics is important we should add a way to specify it in the database properly with some kind of interface. My vote would be to leave as is unless we want to do that.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [23 maart 2021 om 18:05 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/22 "2021-03-23T18:05:15Z")

</div>

Sure. What do you think @sam? My vote is “as-is” but I think your opinion could make the final decision.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [23 maart 2021 om 22:34 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/23 "2021-03-23T22:34:44Z")

</div>

I guess the question … leading all the way up to the OP here is.

> Should pinning ignore topic list ordering? At the moment when you look at latest, it sorts pins by bumped\_at and then the rest by bumped\_at.

Fiddle with ordering on the list, you will impact the ordering of both pins and non pins.

I do feel for this feature request and the change is trivial.

We could **unconditionally** regardless of topic list ordering, order pins based off “pinned\_at” date. We already have all the information and the cost of the change is low.

Advantage from a site operators perspective is that they can easily and unconditionally keep the most important pin at the top. (want something on top, unpin / pin)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [23 maart 2021 om 22:56 UTC](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935/24 "2021-03-23T22:56:15Z")

</div>

> [@sam](#):
>
> We could **unconditionally** regardless of topic list ordering, order pins based off “pinned\_at” date. We already have all the information and the cost of the change is low.

Ok then it is decided! Since the work is easy, let’s make it so! 🙌

[Next page](https://meta.discourse.org/t/how-do-i-set-the-order-of-pinned-topics/16935.md?page=2)
