Skip to content

Instantly share code, notes, and snippets.

@hussanhijazi
Created December 16, 2013 18:22
Show Gist options
  • Save hussanhijazi/7991743 to your computer and use it in GitHub Desktop.
Save hussanhijazi/7991743 to your computer and use it in GitHub Desktop.
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Lojas no Paraguai
*/
get_header(); ?>
<!--end id header-->
<style>
.contentWP{margin:0px !important;}
</style>
<div class="row">
<!-- fecha no content -->
<?php //get_sidebar();?>
<div class="col-md-9">
<section id="content" class="contentWP">
<!--<ul class="breadcrumb">
<li><a href="#">Home</a> <span class="divider">/</span></li>
<li><a href="#">Library</a> <span class="divider">/</span></li>
<li class="active">Data</li>
</ul> -->
<div id="">
<?php if ( have_posts() ) : ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
// echo get_post_format();
/* Include the Post-Format-specific template for the content.
* If you want to override 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 lojas_no_paraguai_content_nav( 'nav-below' ); ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</div>
</section>
<!--end id content-->
</div>
<!--end class span8(content)-->
<?php get_sidebar();?>
</div>
<!--end class row - start in menu_esq-->
<?php //get_sidebar(); ?>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment