THE FLEET

EXPERIENCE LUXURIOUS AND COMFORTABLE VEHICLES

[insert_php] $i=0;
$loop = new WP_Query( array( ‘post_type’ => ‘vehicle’, ‘showposts’ => ‘9999’ ) );
while ( $loop->have_posts() ) {
$i++;
$loop->the_post();
ob_start();
the_title();
$title_pull = ob_get_clean();
$emp_var = str_replace(‘ ‘, ‘-‘,strtolower($title_pull));
$desc_box = ‘

‘ . “\n”;
echo “

” . “\n”;
echo “

” . “\n”;
the_post_thumbnail();
$emp_box = ‘

‘ . “\n”;
echo ‘

‘ . “\n”;
echo ‘

‘ . “\n”;
//$short_title = substr($title_pull, 0, 18);
//if ($short_title === $title_pull) {
echo strtoupper($title_pull);
//} else {
//echo strtoupper($short_title) . “…”;
//}
echo ‘

‘ . “\n”;
echo ‘

‘ . “\n”;
if ($i % 3 == 0) {
echo ‘

‘ . “\n”;
echo ‘

‘ . “\n”;
}
}
[/insert_php]