Guest User

CPT in author.php

a guest
May 17th, 2012
179
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. global $query_string;
  3. query_posts( $query_string . '&post_type[]=post&post_type[]=event&post_type[]=gg_recipes&post_type[]=gg_photos&posts_per_page=-1' ); ?>
  4. <?php if (have_posts()) : ?>
  5. <?php while (have_posts()) : the_post(); ?>
  6. etc...
RAW Paste Data