Created
          March 23, 2013 05:30 
        
      - 
      
 - 
        
Save spencejs/5226587 to your computer and use it in GitHub Desktop.  
    Query Custom Post Type
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; | |
| query_posts( 'post_type=projects&posts_per_page=5&paged='.$paged); | |
| ?> | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment