<?php // ////////////////////////////////////////////////////////
// CODE FOR STEP 1 ADDITIONAL RESOURCES
//////////////////////////////////////////////////////////////// ?>
<?php if (is_page('step-1-assess')) { ?>
<?php $args = array(
'post_type' => 'documents',
'tax_query' => array(
array(
'taxonomy' => 'document_category',
'field' => 'slug',
'terms' => array('step1-assess')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Documents:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'books',
'tax_query' => array(
array(
'taxonomy' => 'book_category',
'field' => 'slug',
'terms' => array('step1-assess')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Books:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'onlineaids',
'tax_query' => array(
array(
'taxonomy' => 'onlineaid_category',
'field' => 'slug',
'terms' => array('step1-assess')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Online Aids:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'examples',
'tax_query' => array(
array(
'taxonomy' => 'example_category',
'field' => 'slug',
'terms' => array('step1-assess')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Examples:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php // ////////////////////////////////////////////////////////
// CODE FOR STEP 2 ADDITIONAL RESOURCES
//////////////////////////////////////////////////////////////// ?>
<?php } elseif (is_page('step-2-prepare')) { ?>
<?php $args = array(
'post_type' => 'documents',
'tax_query' => array(
array(
'taxonomy' => 'document_category',
'field' => 'slug',
'terms' => array('step2-prepare')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Documents:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'books',
'tax_query' => array(
array(
'taxonomy' => 'book_category',
'field' => 'slug',
'terms' => array('step2-prepare')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Books:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'onlineaids',
'tax_query' => array(
array(
'taxonomy' => 'onlineaid_category',
'field' => 'slug',
'terms' => array('step2-prepare')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Online Aids:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'examples',
'tax_query' => array(
array(
'taxonomy' => 'example_category',
'field' => 'slug',
'terms' => array('step2-prepare')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Examples:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php // ////////////////////////////////////////////////////////
// CODE FOR STEP 3 ADDITIONAL RESOURCES
//////////////////////////////////////////////////////////////// ?>
<?php } elseif (is_page('step-3-find')) { ?>
<?php $args = array(
'post_type' => 'documents',
'tax_query' => array(
array(
'taxonomy' => 'document_category',
'field' => 'slug',
'terms' => array('step3-find')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Documents:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'books',
'tax_query' => array(
array(
'taxonomy' => 'book_category',
'field' => 'slug',
'terms' => array('step3-find')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Books:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'onlineaids',
'tax_query' => array(
array(
'taxonomy' => 'onlineaid_category',
'field' => 'slug',
'terms' => array('step3-find')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Online Aids:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'examples',
'tax_query' => array(
array(
'taxonomy' => 'example_category',
'field' => 'slug',
'terms' => array('step3-find')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Examples:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php // ////////////////////////////////////////////////////////
// CODE FOR STEP 4 ADDITIONAL RESOURCES
//////////////////////////////////////////////////////////////// ?>
<?php } elseif (is_page('step-4-contact')) { ?>
<?php $args = array(
'post_type' => 'documents',
'tax_query' => array(
array(
'taxonomy' => 'document_category',
'field' => 'slug',
'terms' => array('step4-contact')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Documents:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'books',
'tax_query' => array(
array(
'taxonomy' => 'book_category',
'field' => 'slug',
'terms' => array('step4-contact')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Books:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'onlineaids',
'tax_query' => array(
array(
'taxonomy' => 'onlineaid_category',
'field' => 'slug',
'terms' => array('step4-contact')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Online Aids:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'examples',
'tax_query' => array(
array(
'taxonomy' => 'example_category',
'field' => 'slug',
'terms' => array('step4-contact')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Examples:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php // ////////////////////////////////////////////////////////
// CODE FOR STEP 5 ADDITIONAL RESOURCES
//////////////////////////////////////////////////////////////// ?>
<?php } elseif (is_page('step-4-interview')) { ?>
<?php $args = array(
'post_type' => 'documents',
'tax_query' => array(
array(
'taxonomy' => 'document_category',
'field' => 'slug',
'terms' => array('step5-interview')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Documents:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'books',
'tax_query' => array(
array(
'taxonomy' => 'book_category',
'field' => 'slug',
'terms' => array('step5-interview')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Books:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'onlineaids',
'tax_query' => array(
array(
'taxonomy' => 'onlineaid_category',
'field' => 'slug',
'terms' => array('step5-interview')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Online Aids:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'examples',
'tax_query' => array(
array(
'taxonomy' => 'example_category',
'field' => 'slug',
'terms' => array('step5-interview')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Examples:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php // ////////////////////////////////////////////////////////
// CODE FOR STEP 6 ADDITIONAL RESOURCES
//////////////////////////////////////////////////////////////// ?>
<?php } elseif (is_page('step-6-negotiate')) { ?>
<?php $args = array(
'post_type' => 'documents',
'tax_query' => array(
array(
'taxonomy' => 'document_category',
'field' => 'slug',
'terms' => array('step6-negotiate')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Documents:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'books',
'tax_query' => array(
array(
'taxonomy' => 'book_category',
'field' => 'slug',
'terms' => array('step6-negotiate')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Books:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'onlineaids',
'tax_query' => array(
array(
'taxonomy' => 'onlineaid_category',
'field' => 'slug',
'terms' => array('step6-negotiate')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Online Aids:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'examples',
'tax_query' => array(
array(
'taxonomy' => 'example_category',
'field' => 'slug',
'terms' => array('step6-negotiate')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Examples:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php // ////////////////////////////////////////////////////////
// CODE FOR STEP 7 ADDITIONAL RESOURCES
//////////////////////////////////////////////////////////////// ?>
<?php } elseif (is_page('step-7-accept')) { ?>
<?php $args = array(
'post_type' => 'documents',
'tax_query' => array(
array(
'taxonomy' => 'document_category',
'field' => 'slug',
'terms' => array('step7-accept')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Documents:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'books',
'tax_query' => array(
array(
'taxonomy' => 'book_category',
'field' => 'slug',
'terms' => array('step7-accept')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Books:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'onlineaids',
'tax_query' => array(
array(
'taxonomy' => 'onlineaid_category',
'field' => 'slug',
'terms' => array('step7-accept')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Online Aids:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php $args = array(
'post_type' => 'examples',
'tax_query' => array(
array(
'taxonomy' => 'example_category',
'field' => 'slug',
'terms' => array('step7-accept')
)
),
'posts_per_page' => -1,
'order' => 'ASC',
'orderby' => 'ID'
);
$the_query = new WP_Query( $args );
if ( $the_query->have_posts() ) : ?>
<h3>Examples:</h3>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<a href="<?php the_permalink() ?>"><?php the_title(); ?></a><?php the_excerpt(); ?>
<?php endwhile; endif; ?>
<?php if ( $the_query->have_posts() ) { ?><a href="#top" class="backtotop">Back to the top</a><?php } ?>
<?php wp_reset_postdata(); ?>
<?php } else { ?>
<?php } ?>