Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div class="container">
- <div class="row">
- <div class="col s12 m12 l12">
- <?php if ( function_exists('yoast_breadcrumb') )
- {yoast_breadcrumb('<div id="breadcrumbs">','</div>');}
- ?>
- </div>
- <!-- .bread -->
- <section>
- <h1 class="col s12 m12 l12 titleHome"><span><?php single_cat_title(); ?></span></h1>
- <ul class="listarBlog">
- <?php
- query_posts('showposts=8&cat=3');
- while (have_posts()) : the_post();
- { $category = get_the_category();
- ?>
- <li class="col s12 m4 l4">
- <a href="<?php the_permalink(); ?>">
- <figure><?php the_post_thumbnail('thumb_blog'); ?></figure>
- <h2><?php echo get_the_title(); ?></h2>
- <p><i class="fa fa-file-text"></i> <?php echo $category[0]->cat_name ?> /</p>
- <small><i class="fa fa-calendar"></i> <?php echo get_the_date(); ?></small>
- <span class="verMais">Saiba Mais <i class="fa fa-angle-double-right"></i></span>
- </a>
- </li>
- <?php } endwhile; ?>
- </ul>
- <div class="col s12 m12 l12 pagination">
- <?php pagination_funtion(); ?>
- </div>
- <!-- .pagination -->
- </section>
- </div>
- <!-- .row -->
- </div>
- <!-- .container -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement