I'm wondering if anyone knows how I can make a filterable portfolio using jquery to switch between different tags within a category using wordpress.
This is my current code to get the tags in a category:
<ul>
<?php
query_posts('category_name=Sport');
if (have_posts()) : while (have_posts()) : the_post();
if( get_the_tag_list() ){
echo $posttags = get_the_tag_list('<li class="jquery">','</li><li>','</li>');
}
endwhile; endif;
wp_reset_query();
?>
</ul>
I can't customize the li elements to display usefull link.
I'm sorry if this question has been asked before. I googled around and I could just find jquery portfolio filtering by a custom post type, but I can't use post types on the site I'm building.
Any help will be appreciated!