<?php
/**
  * Template Name: Other Services Page
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages and that
 * other "pages" on your WordPress site will use a different template.
 *
 * @package WordPress
 * @subpackage Twenty_Sixteen
 * @since Twenty Sixteen 1.0
 */

get_header(); ?>

<div id="primary" class="content-area">
	<main id="main" class="site-main" role="main">
		<div class="inner_content">
        	<?php
		// Start the loop.
		while ( have_posts() ) : the_post();

			// Include the page content template.
		   the_content();

			// If comments are open or we have at least one comment, load up the comment template.
			if ( comments_open() || get_comments_number() ) {
				comments_template();
			}

			// End of the loop.
		endwhile;
		?>

        </div>
        
        <div class="right_sidebar">
        	
            <div class="quick_link">
            	<?php if ( function_exists ( dynamic_sidebar('quick_links_services') ) ) : ?> <?php endif; ?>
            </div>
            <div class="sidbx">
              <a href="<?php echo esc_url( home_url( '?page_id=252' ) ); ?>"><img width="265" height="50" alt="" src="<?php echo get_template_directory_uri(); ?>/images/btn-request.png"></a>
              </div>
        	
        	<div class="testimonial_right">
        	<h3 class="clnt">Our Clients Speak</h3>
        
			 <div class="testimonial_slider">
				<?php 
                $temp = $wp_query;
                $wp_query= null;
                $wp_query = new WP_Query();
                $wp_query->query('cat=3&showposts=5'.'&paged='.$paged);
                ?>
                <ul class="bxslider">
                <?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
                <li><?php the_content(); ?></li>
                <?php endwhile; ?> 
                </ul>
             </div>
        </div>
        </div>
        
        
	</main><!-- .site-main -->

</div><!-- .content-area -->

<?php get_footer(); ?>
