r/reddithax • u/tangus • Jan 25 '15
Combining filter buttons
Some subreddits have buttons on the sidebar to filter posts by link flair, but you can't combine them (ie, have two or more active at the same time). The code needed for that is tedious to write and prone to errors, and takes a lot of sidebar space.
The first two problems can be solved by writing the code automatically. So, if you have some free space in your sidebar code, and want to put some filter buttons there, take a look at this: /r/argentangus/wiki/genfilter-util.
3
Upvotes
1
u/[deleted] Jan 26 '15
That is way more complex than linking to the search results.
1
u/theothersophie Apr 17 '15
woah do you have an example of this working on a sub?