View difference between Paste ID: LeGAfe5V and 8MEW4EJA
SHOW: | | - or go back to the newest paste.
1
<?php if ( have_posts() ) : ?>
2-
<?php while ( have_posts() ) : the_post(); ?>
2+
<?php while ( have_posts() ) : the_post();
3-
    <?php $pods->fetch( get_the_ID() ); ?>
3+
    $pods->fetch( get_the_ID() );
4
	//reset id 
5
        $pods->id = $pods->id(); 
6
         
7
        //get the template 
8
        $temp = $pods->template( 'All Courses Archive Page' ); 
9
        //output template if it exists 
10
        if ( isset( $temp )  ) {  
11
            echo $temp; 
12
        }
13-
<?php endwhile; ?>
13+
endwhile;
14-
<?php else: ?>
14+
else: ?>
15
	No Content Found
16
<?php endif; ?>