Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <article class="content-tiles-wrapper">
- <div class="container">
- <div class="row">
- <div class="span4">
- <h2>News</h2>
- <?php query_posts('category_name=news&showposts=1'); ?>
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <a href="<?php the_permalink(); ?>" rel=-"bookmark" title="Permalink <?php the_title_attribute(); ?>"><?php the_post_thumbnail('alt-content-tile-thumb');?></a>
- <h4><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permalink <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h4>
- <p><?php custom_excerpt(); ?></p>
- <?php endwhile; else: ?>
- <p>Sorry, there are no posts to display</p>
- <?php endif; ?>
- <?php rewind_posts(); ?>
- <div class="text-title-list">
- <ul>
- <?php query_posts('category_name=news&showposts=4&offset=1'); ?>
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <li><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permalink <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
- <?php endwhile; ?>
- <?php endif; ?>
- </ul>
- </div>
- </div><!-- end span4 -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement