las llaves.. esto usa : endif
conocen algo para que lo pase..
si son poco. esta bien . pero si son bastantes.. me complica un poco...
Código PHP:
<?php if ( get_theme_mod( 'strapvert_home_content_visibility' ) != 1 ) { ?>
<div class="container">
<div class="row" role="main">
<div class="span8">
<?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Include the Post-Format-specific template for the content.
* If you want to overload this in a child theme then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
?>
<?php endwhile; ?>
<?php strapvert_content_nav( 'nav-below' ); ?>
<?php elseif ( ! is_home() || is_paged() ) : ?>
<?php get_template_part( 'no-results', 'index' ); ?>
<?php else : ?>
<?php
$featured_posts = strapvert_get_featured_posts();
if ( ! $featured_posts->have_posts() )
get_template_part( 'no-results', 'index' );
?>
<?php endif; ?>
</div><!-- #content -->
<div class="span4">
<?php get_sidebar(); ?>
</div>
</div><!-- .row main -->
</div>
<?php } ?>
<?php get_footer(); ?>