Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Boris Kamp
Boris Kamp
16,660 Points

Filters in wordpress archive pages

Hi people!

I've been struggling with how to implement some neat filters in my Wordpress archive pages. At first I thought Isotope and JPlist were some great solutions, well they are, but only for a limited amount of records and they do not support pagination. I need a solution for a potential of thousands of records and would like realtime filtering. something like they have here in the left sidebar: http://codecanyon.net/category/wordpress

How Can I achieve this? I don't know if it's me, but I can't seem to find any articles on it, no tutorials or snippets or whatever. Some tips would be amazing, thanks!

Hi Boris

All you need to do is add a widget to the sidebar of the page. Wordpress comes with a "categories" widget but I'm not sure if it comes with a "tags" widget. You may acheive what you after with these widgets if not you can search for more widgets in the wordpress respository. You can learn more about widget in this threehouse coarse http://teamtreehouse.com/library/how-to-make-a-website-with-wordpress.

I hope this helps

John

Boris Kamp
Boris Kamp
16,660 Points

Hi John,

Thanks for your input, however, I would like to manually create them in my custom theme. I am familiar with widgets and WP. Did you take a look at the filters in the link I gave in my first post? that should give you a pretty good idea of what Im after.

Can you tell give me some info on how to achieve that?

Thanks!

1 Answer

Boris Kamp
Boris Kamp
16,660 Points

Please people, I've been searching for something like this for weeks now and can't seem to find any guides on how to do this.....