test _home page review

<div class=”bodysecTwo”>

                <div class=”container”>

                <div class=”row”>

                <div class=”col-sm-12 col-md-4″>

                                <div class=”homeBigpic”>

                                                                                <?php $recent = new WP_Query(“page_id=2”); while($recent->have_posts()) : $recent->the_post();

                                                                                $url = wp_get_attachment_url( get_post_thumbnail_id(get_the_id()) );

                                                                                ?>

                   <img src=”<?php echo $url ; ?>” alt=”” class=”img-responsive”>

                                                                                <?php endwhile; wp_reset_query(); ?>

                    </div>

                </div>

                                                                <div class=”col-sm-12 col-md-8″>

                 <?php //$recent = new WP_Query(“page_id=2”); while($recent->have_posts()) : $recent->the_post();?>

                                                                <?php //the_content()?>

                                                                <?php //endwhile; wp_reset_query(); ?>

                   <div class=”carDetails”>

                                                                <div class=”subt”>

                                <h2>Klanten Beoordelingen</h2>

                                                                                                <div class=”p_img”>

<div class=”carDetails”>

<div class=”subt”>

<h2>Klanten Beoordelingen</h2>

<div class=”p_img”>

<img src=”<?php bloginfo(‘template_directory’); ?>/images/star.png”>

<p>21 recensies</p></div>

<h2 class=”f_star”>4,5/5</h2></div>

<div class=”clearfix”></div>

<?php wp_reset_query();

$args = array( ‘post_type’ => ‘recensies’, ‘posts_per_page’ => 2, ‘orderby’   => ‘menu_order’, ‘order’ => ‘ASC’ );

query_posts($args);

while ( have_posts() ) : the_post();

$url = wp_get_attachment_url( get_post_thumbnail_id(get_the_id()) );

?>

<h4 class=”star_text”><?php the_title()?> — </h4><span class=”paddi_img”><img src=”<?php bloginfo(‘template_directory’); ?>/images/5star.png”></span>

<div class=”clearfix”></div>

<p class=”car_p”><?php $content = get_the_content(); echo substr($content, 0, 1000);?></p>

<?php endwhile; wp_reset_query(); ?>

<h5 class=”cardetails_ftrtext”>Klik  <span class=”highlight”><a href=”http://hdautomotive.nl/recensies/”>hier</a></span> voor meer recensies</h5>

</div>

</div>

<div class=”clr”></div>

</div>

</div>

<div class=”bodysecTwo”>

                <div class=”container”>

                <div class=”row”>

                <div class=”col-sm-12 col-md-4″>

                                <div class=”homeBigpic”>

                                                                                <?php $recent = new WP_Query(“page_id=2”); while($recent->have_posts()) : $recent->the_post();

                                                                                $url = wp_get_attachment_url( get_post_thumbnail_id(get_the_id()) );

                                                                                ?>

                   <img src=”<?php echo $url ; ?>” alt=”” class=”img-responsive”>

                                                                                <?php endwhile; wp_reset_query(); ?>

                    </div>

                </div>

                                                                <div class=”col-sm-12 col-md-8″>

                 <?php //$recent = new WP_Query(“page_id=2”); while($recent->have_posts()) : $recent->the_post();?>

                                                                <?php //the_content()?>

                                                                <?php //endwhile; wp_reset_query(); ?>

                   <div class=”carDetails”>

                                                                <div class=”subt”>

                                <h2>Klanten Beoordelingen</h2>

                                                                                                <div class=”p_img”>

<div class=”carDetails”>

<div class=”subt”>

<h2>Klanten Beoordelingen</h2>

<div class=”p_img”>

<img src=”<?php bloginfo(‘template_directory’); ?>/images/star.png”>

<p>21 recensies</p></div>

<h2 class=”f_star”>4,5/5</h2></div>

<div class=”clearfix”></div>

<?php wp_reset_query();

$args = array( ‘post_type’ => ‘recensies’, ‘posts_per_page’ => 2, ‘orderby’   => ‘menu_order’, ‘order’ => ‘ASC’ );

query_posts($args);

while ( have_posts() ) : the_post();

$url = wp_get_attachment_url( get_post_thumbnail_id(get_the_id()) );

?>

<h4 class=”star_text”><?php the_title()?> — </h4><span class=”paddi_img”><img src=”<?php bloginfo(‘template_directory’); ?>/images/5star.png”></span>

<div class=”clearfix”></div>

<p class=”car_p”><?php $content = get_the_content(); echo substr($content, 0, 1000);?></p>

<?php endwhile; wp_reset_query(); ?>

<h5 class=”cardetails_ftrtext”>Klik  <span class=”highlight”><a href=”http://hdautomotive.nl/recensies/”>hier</a></span> voor meer recensies</h5>

</div>

</div>

<div class=”clr”></div>

</div>

</div>

 </div>

Comments are closed.