Your sites Log in Sign up Menu

How does the magazine template determine the tags to display in the left-hand menu?

I'm using the default magazine template, and am wondering how it choses which tags to show in the left-hand menu. It seems like it's limited to 5 – is it the first 5 that are used in posts, or the top 5 most frequently used? I'm wondering how to change them. Thanks! :)


a year ago, 8 replies   developers   templates   magazine   Improve this question

Just seconding this question. Also the template presents the tags in the left hand menu with more visual prominence (first and larger) than the site title/pages/links underneath them. Is there a way to swap them round or otherwise adjust? Thanks.

Answered a year ago · Improve this answer

The tags displayed in the sidebar of the Magazine template are your five most popular tags in descending order. You can edit the source code for this part of the template in Lines 30 to 32 of header.html

Answered a year ago · Improve this answer

Hi, what should I put instead of "popular_tags" to show all tags?

Answered a year ago · Improve this answer

You should put {{#all_tags}} ... {{/all_tags}} !

Answered a year ago · Improve this answer

Thank you for your reply. I also had to change in line 29 clip-tags to all-tags, otherwise it kept showing me only the 5 most used ones.

Answered a year ago · Improve this answer

Great, please let me know if you have any questions about this or anything else

Answered a year ago · Improve this answer

When you say most popular tags, is it based on views/clicks/etc or number of posts tagged as such?

Thanks, Ray

Answered a year ago · Improve this answer

It's based on the number of posts tagged as such

Answered a year ago · Improve this answer