<?php
/*
Template Name: Project Templete
*/

get_header(); ?>

<div class="container">
	<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
	<h2><?php the_title(); ?></h2>
    <?php the_content(); ?>
    <?php endwhile; wp_reset_query(); ?>
    
    <div class="products">
  <ul>
  
  <?php  $index_query = new WP_Query(array( 'post_type' => 'featured', 'posts_per_page' => -1,'order'=>'ASC' )); ?>
  <?php while ($index_query->have_posts()) : $index_query->the_post(); ?>
  
  <li>
  <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  
  
  <?php global $more; $more=0; ?>
  <?php   the_content('Read more'); ?>
  <p><?php multiColor(get_the_title(),2); ?></p>
  </li>
  <?php endwhile; wp_reset_query(); ?>
  </ul>
  </div>
    
</div>


<?php get_footer();  ?>