Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="program-content span4">
- <?php /* Start first Loop */ ?>
- <?php
- $cat_id = get_cat_ID('11');
- $args=array(
- 'cat' => $cat_id,
- 'post_type' => 'program',
- 'post_status' => 'publish',
- 'posts_per_page' => -1,
- 'caller_get_posts'=> 1
- );
- $new = new WP_Query($cat_id);
- while (have_posts()) : the_post(); ?>
- <h1 class="entry-title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
- <?php the_content('Learn More >'); ?>
- <?php endwhile; ?>
- </div> <!-- .span4 -->
- <div class="program-content span4">
- <?php /* Start second Loop */ ?>
- <?php
- $cat_id = get_cat_ID('12');
- $args=array(
- 'cat' => $cat_id,
- 'post_type' => 'program',
- 'post_status' => 'publish',
- 'posts_per_page' => -1,
- 'caller_get_posts'=> 1
- );
- $new = new WP_Query($cat_id);
- while (have_posts()) : the_post(); ?>
- <h1 class="entry-title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
- <?php the_content('Learn More >'); ?>
- <?php endwhile; ?>
- </div> <!-- .span4 -->
- <div class="program-content span4">
- <?php /* Start third Loop */ ?>
- <?php
- $cat_id = get_cat_ID('13');
- $args=array(
- 'cat' => $cat_id,
- 'post_type' => 'program',
- 'post_status' => 'publish',
- 'posts_per_page' => -1,
- 'caller_get_posts'=> 1
- );
- $new = new WP_Query($cat_id);
- while (have_posts()) : the_post(); ?>
- <h1 class="entry-title"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
- <?php the_content('Learn More >'); ?>
- <?php endwhile; ?>
- </div> <!-- .span4 -->
- <?php else : ?> <?php endif; ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement