Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <!–AQUI VAI O HADER–>
- <!–banner–>
- <div class=”banner-single”>
- <div class=”container”>
- <div class=”row”>
- <div class=”col-md-6 grid-xs-12 grid-sm-12 title-blog”>
- <h1></h1>
- </div>
- </div>
- </div>
- </div>
- <!–final banner—>
- <!–conteudo—>
- <div class=”container”><!–container–>
- <div class=”row”><!–row—>
- <div class=”col-md-8 grid-xs-12 grid-sm-12″ style=”margin-top:5%;”><!–cont–>
- <?php
- $wp_query = new WP_Query();
- query_posts( array( ‘category__not_in’ => array(1,),’post_type’ => ‘post’, ‘showposts’ => 3, ‘paged’=>$paged ));
- if(have_posts()):
- while ($wp_query -> have_posts()) : $wp_query -> the_post();
- ?>
- <div class=”col-md-12 grid-xs-12 grid-sm-12″ style=”margin-bottom:20px;”><!–post–>
- <div class=”imagem-blog”><!–imagem—>
- <?php
- if ( has_post_thumbnail() ) {
- the_post_thumbnail();
- } ?>
- <div class=”title-blog blog-thumb-title” style=”z-index:999;”><!–titulo blog–>
- <div class=”blog-link” style=”margin-bottom:10px;”>
- <?php the_time (‘d/M’) ?>
- </div>
- “><?php
- foreach((get_the_category()) as $category) {
- echo $category->cat_name . ‘ ‘;
- }
- ?>
- </div><!–final titulo blog—>
- </div>
- <div class=”titulo”>
- “><?php the_title(); ?>
- <hr / class=”risco-face”>
- <?php echo my_excerpt(‘medium’); ?>
- </div>
- </div><!–final post–>
- <?php
- endwhile;
- endif;
- ?>
- </div><!–final cont–>
- <div class=”col-md-4 grid-xs-12 grid-sm-12″ style=”margin-top:5%;”><!–sidebar–>
- <div class=”col-md-12 grid-xs-12 grid-sm-12″><!–pesquisa–>
- <div class=”bloco-background”>
- <input type=”text” id=”pesquisar” value=”” placeholder=”Pesquisa no site” class=”form-pesq”>
- <input type=”submit” class=”button-btnn” value=””>
- </div>
- </div><!–final pesquisa–>
- <div class=”col-md-12 grid-xs-12 grid-sm-12″><!–faceboook–>
- <div class=”bloco-background”>
- <h2>FACEBOOK</h2>
- <hr / class=”risco-face”>
- <br />
- <iframe src=”https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fdivetroperfumesoficial&tabs&width=340&height=214&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId” width=”100%” height=”214″ style=”border:none;overflow:hidden” scrolling=”no” frameborder=”0″ allowTransparency=”true”></iframe>
- </div>
- </div><!–final facebook–>
- <div class=”col-md-12 grid-xs-12 grid-sm-12″><!–categorias–>
- <div class=”bloco-background”>
- <h2>NOSSOS ASSUNTOS FAVORITOS</h2>
- <hr / class=”risco-face”>
- <br />
- <?php
- $args=array(
- ‘orderby’ => ‘name’,
- ‘order’ => ‘ASC’,
- ‘hide_empty’ => 1,
- ‘exclude’ =>array(1,) // desire id
- );
- $categories=get_categories($args);
- foreach($categories as $category) {
- echo ‘
- term_id ) . ‘” title=”‘ . sprintf( __( “Ver postagens em %s” ), $category->name ) . ‘” ‘ . ‘>’ . $category->name.’
- ‘; }
- ?>
- </div>
- </div><!–final categorias–>
- <div class=”col-md-12 grid-xs-12 grid-sm-12″><!–categorias–>
- <div class=”bloco-background”>
- <h2>CONTINUE BEM INFORMADO</h2>
- <hr / class=”risco-face”>
- <br />
- <p>Receba todas as novidades com exclusividade.</p>
- <input id=”textinput” name=”textinput” type=”text” placeholder=”INSIRA SEU E-MAIL” class=”form-controle input-md”>
- <button id=”singlebutton” name=”singlebutton” class=”btnns btn-inverse”>INSCREVER!</button>
- </div>
- </div><!–final categorias–>
- </div><!–final sidebar—>
- </div><!–final row–>
- </div><!–final conteinar–>
- <!–final conteudo—>
- <!–AQUI VAI O FOOOTER–>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement