File: /home/autoaccidentes/www/wp-content/themes/vantage/loop.php
<?php
/**
* Just displays a post loop. Intended to be included in child themes using get_template_part('loop'). Also works with SiteOrigin page builder loop widget.
*
* Loop Name: Blog Loop
*
* @since vantage 1.0
*
* @license GPL 2.0
*/
?>
<?php if ( have_posts() ) { ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) {
the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php } ?>
<?php vantage_content_nav( 'nav-below' ); ?>
<?php } else { ?>
<?php get_template_part( 'no-results', 'index' ); ?>
<?php } ?>