title: How to display custom post type by custom taxonomy?
body: <p>My homepage is displaing my listings( my custom post type) by the order i enter them. I would like my listings that have the custom taxonomy "tag" (Special offer) to be displayed on my first page from my homepage and after that the rest of the listings exactly how they where before. I am new in to wordpress and hope i asked my question right</p>
  
  <p>This is my homepage code</p>
  
  <pre><code>&lt;div id="content"&gt;
  &lt;?php include (TEMPLATEPATH . '/lib/slider.php'); ?&gt;    
  
  &lt;?php
  $args = array(
  'post_type' =&gt; 'listings',
  'paged' =&gt; $paged,
  'showposts' =&gt; 8 ,
  'oferta' =&gt;"oferta"
  );
  $wp_query= null;
  $wp_query = new WP_Query();
  $wp_query-&gt;query($args);
  ?&gt;
  &lt;?php while ($wp_query-&gt;have_posts()) : $wp_query-&gt;the_post(); ?&gt;   
  &lt;div class="post propbox &lt;?php if (++$counter % 2 == 0) { echo "lastbox"; }?&gt; clearfix" id="post-&lt;?php the_ID(); ?&gt;"&gt;
  &lt;div class="archimg"&gt;
  
  &lt;?php  if( has_term( 'featured', 'type', $post-&gt;ID ) ) { ?&gt;
  &lt;span class="featspan"&gt;Featured&lt;/span&gt;
  &lt;?php } else if ( has_term( 'sold', 'type', $post-&gt;ID ) ){ ?&gt;
  &lt;span class="soldspan"&gt;Sold&lt;/span&gt;
  &lt;?php } else if ( has_term( 'reduced', 'type', $post-&gt;ID ) ){ ?&gt;
  &lt;span class="redspan"&gt;Reduced&lt;/span&gt;
  &lt;?php } ?&gt;
  
  &lt;?php
      if ( has_post_thumbnail() ) { ?&gt;
      &lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;img class="propimg" src="&lt;?php bloginfo('stylesheet_directory'); ?&gt;/timthumb.php?src=&lt;?php get_image_url(); ?&gt;&amp;amp;h=180&amp;amp;w=310&amp;amp;zc=1" alt=""/&gt;&lt;/a&gt;
          &lt;?php } else { ?&gt;
      &lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;img class="propimg" src="&lt;?php bloginfo('template_directory'); ?&gt;/images/dummy.jpg" alt="" /&gt;&lt;/a&gt;
  &lt;?php } ?&gt;
  &lt;/div&gt;
  &lt;div class="cover"&gt;
      &lt;div class="title"&gt;
          &lt;h2&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" title="Permanent Link to &lt;?php the_title(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
      &lt;/div&gt;
      &lt;div class="propmeta"&gt;
      &lt;div class="proplist"&gt;&lt;span&gt;Price&lt;/span&gt; &lt;span class="propval"&gt; &lt;?php $price=get_post_meta($post-&gt;ID, 'wtf_price', true); echo $price; ?&gt;&lt;/span&gt;&lt;/div&gt;
      &lt;div class="proplist"&gt;&lt;span&gt;Location&lt;/span&gt; &lt;span class="propval"&gt; &lt;?php echo get_the_term_list( $post-&gt;ID, 'location', '', ' ', '' ); ?&gt;&lt;/span&gt;&lt;/div&gt;
      &lt;div class="proplist"&gt;&lt;span&gt;Property type&lt;/span&gt; &lt;span class="propval"&gt;&lt;?php echo get_the_term_list( $post-&gt;ID, 'property', '', ' ', '' ); ?&gt;&lt;/span&gt;&lt;/div&gt;
      &lt;div class="proplist"&gt;&lt;span&gt;Area&lt;/span&gt; &lt;span class="propval"&gt; &lt;?php echo get_the_term_list( $post-&gt;ID, 'area', '', ' ', '' ); ?&gt;&lt;/span&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="entry"&gt;
          &lt;?php wpe_excerpt('wpe_excerptlength_archive', ''); ?&gt;
          &lt;a class="morer" href="&lt;?php the_permalink() ?&gt;"&gt;Check this&lt;/a&gt;
          &lt;div class="clear"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;?php endwhile; ?&gt;
  
  &lt;div class="clear"&gt;&lt;/div&gt;
  
  &lt;?php getpagenavi(); ?&gt;
  
  &lt;?php $wp_query = null; $wp_query = $temp;?&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>This is my main content content sorry how can i rearenge this so it fits my needs</p>