Showing top 15 tags

Nov 25, 2014 5:27 pm

Have you ever needed to sort tags by the top 15? It can be for any reason, ranging from simplicity to directing users to popular topics. This can be done using two of Freedom's built-in functions for listers.

First, you can sort the each tag by count by using the sort field. In the 'Sort Field', type in "count", or click the add button and choose 'count' from the list. What Freedom does with this, is it sorts all the tags in your lister by the total number of times used in ascending order (highest to lowest).

Second, you can limit the number of tags shown by selecting the desired number of items from the 'Number of items' drop down menu. In this case, we're showing only the top 15, so you would select 15 to do this.

Although this works great with tags listers, this also works with any other listers of any other modules, albeit, with differing values for the sort field of course.

Please don't hesitate to contact us if you have any questions, concerns, or need any assistance.