Skip to content

Commit

Permalink
Coding standards home.php, index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldomatias committed Oct 3, 2017
1 parent 7ca6e70 commit 2094488
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
9 changes: 6 additions & 3 deletions home.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
</div>
</div><!-- container -->

<?php echo coletivo_breadcrumb(); ?>
<?php if ( function_exists( 'coletivo_breadcrumb' ) ) : ?>
<?php echo coletivo_breadcrumb(); ?>
<?php endif; ?>

<div id="content-inside" class="<?php echo esc_attr( $container_class );?>">
<section id="primary" class="content-area">
Expand All @@ -38,8 +40,9 @@
</header>
<?php endif; ?>

<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Start the Loop */
while ( have_posts() ) : the_post(); ?>
<?php

/*
Expand Down
16 changes: 9 additions & 7 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
* @package coletivo
*/

get_header();
get_header(); ?>

<?php if ( function_exists( 'coletivo_breadcrumb' ) ) : ?>
<?php echo coletivo_breadcrumb(); ?>
<?php endif; ?>

?>
<?php echo coletivo_breadcrumb(); ?>
<div id="content" class="site-content">
<div id="content-inside" class="container right-sidebar">
<div id="primary" class="content-area">
Expand All @@ -29,11 +31,11 @@
</header>
<?php endif; ?>

<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
/* Start the Loop */
while ( have_posts() ) : the_post(); ?>

<?php

/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
Expand All @@ -60,4 +62,4 @@
</div><!--#content-inside -->
</div><!-- #content -->

<?php get_footer(); ?>
<?php get_footer(); ?>

0 comments on commit 2094488

Please sign in to comment.