Filtering on Custom Taxonomy

Wordpress noob here, and first time post.

I have built a custom post type and attached a custom taxonomy as well. I would like to be able to click on each of these taxonomy terms, and have it take you to a page that only shows posts marked with a certain term.

For instance,

I have a page that shows all posts that are listed under the ‘Service’ taxonomy. Then, on the right sidebar, there is a list of services: website, video, print.

When you click on video, I only want to see posts that are marked video.

I created a taxonomy-services.php page, and added this code

query_posts( array(‘services’ => ‘websites’) );

This will show the posts marked websites, but I’m not sure how to change the code so it will show just the posts marked video.

Please help a noob out.

Ok, not sure what I did to fix this, but… it seems to be working now.

Another question,

If I’m looping through all of the Terms in a Taxonomy, how would I group them together?

For instance, all the posts added to Websites Term on top, followed by all the posts marked by Video Term, and finally, all posts marked Interactive.

Thanks.

I would use the categories with WP then make a custom landing page.

I’ve created a taxonomy-services.php page that will parse out and display all the posts once you click on say… video. That works no problem.

However, on the main landing page of services, I want to show ALL posts in the services taxonomy and sort them according to taxomomy term slug.

where/how are you putting this info?

This is the landing page for all the custom post types labeled ‘project’. They each need to be grouped by the name or id of the term. Terms being (website, video, interactive).

<?php 
/*
	Template Name: AMS Project List
*/
?>
<?php 
$projectList = new WP_Query( array( 'post_type' => 'projects' ) );
?>
<?php 
	//list terms in a given taxonomy using wp_list_categories (also useful as a widget if using a PHP Code plugin)
		$taxonomy     = 'services';
		$orderby      = 'name'; 
		$show_count   = 0;      // 1 for yes, 0 for no
		$pad_counts   = 0;      // 1 for yes, 0 for no
		$hierarchical = 0;      // 1 for yes, 0 for no
		$title        = '';

		$args = array(
			'taxonomy'     => $taxonomy,
			'orderby'      => $orderby,
			'show_count'   => $show_count,
			'pad_counts'   => $pad_counts,
			'hierarchical' => $hierarchical,
			'title_li'     => $title
		);
?>
<?php get_header(); ?>

<section id="amsPageContent">
  <header id="pageTitle">
    <h2>our work</h2>
  </header>
  <section id="ProjectListBody" class="clearfix">
    <aside> <img src="<?php bloginfo('template_directory'); ?>/assets/img/icons/asideIcon.png" width="60" height="60" align="Aside Icon" />
      <h3>Service</h3>
      <ul>
        <ul>
          <?php wp_list_categories( $args ); ?>
        </ul>
      </ul>
      <hr />
      <h3 class="noBtm">Sign Up!</h3>
      <h5 class="tinyText">Newsletter and Resources</h5>
      <div id="signUpForm">
        <form id="signUp">
          <p>
            <label for="signUpName" class="smallText">Your Name:</label>
            <input class="textInputAside" type="text" id="signUpName" name="signUpName" value=""/>
          </p>
          <p>
            <label for="signUpEmail" class="smallText">Your Email:</label>
            <input class="textInputAside" type="text" id="signUpEmail" name="signUpEmail" value=""/>
          </p>
          <p class="alignRight"><a href="#">login</a>
            <input type="submit" id="signUpSubmit" name="signUpSubmit" class="buttonInput" value="sign up" />
          </p>
        </form>
      </div>
    </aside>
    <?php					
	 if ($projectList->have_posts()) : 
     while ($projectList->have_posts()) : $projectList->the_post(); 
							?>
    				<article class="singleArticle" class="clearfix">
    					<header>
      						<hgroup>
        						<h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
						    </hgroup>
    					</header>
    					<section>
      						<div class="wysiwyg">
        						<div style="float:left;">
          							<?php the_post_thumbnail('post-thumbnail', array( 'class'	=> "attachment-post-thumbnail"));?>
        						</div>
        						<?php the_excerpt(''); ?>
      						</div>
    					</section>
    					<hr />
    					<footer> 
                        	<a href="<?php the_permalink() ?>" class="moreIcon">Learn More <img src="<?php bloginfo('template_directory'); ?>/assets/img/icons/articleListArrow.png" width="20" height="20" alt=""></a> 
                        </footer>
    				</article>
		<?php	endwhile; ?>
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    <?php else: ?>
    	<h3>No Posts</h3>
    <?php endif; 		
?>


    
  </section>
</section>
<?php get_footer(); ?>