Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Homepage
- */
- ?>
- <?php get_header(); ?>
- <section class="row">
- <div id="featured">
- <!--MAIN EVENTS-->
- <?php query_posts('showposts=3&cat=4'); ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="ic_container mainevent">
- <a href="<?php the_permalink() ?>" rel="bookmark"><?php the_post_thumbnail( array(287,200) ); ?></a>
- <div class="ic_caption">
- <div class="excerptcontent"><?php the_excerpt() ?></div>
- </div><!--end 'ic_caption'-->
- <h3 class="main_event"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title() ?></a></h3>
- </div><!--end 'main event 1'-->
- <?php endwhile; ?>
- </div><!--end MAIN EVENTS - 'featured'-->
- <div class="eightcol">
- <?php query_posts('cat=5'); ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="home-page-article">
- <h2><?php the_title(); ?></h2>
- <?php the_content(); ?>
- </div>
- <?php endwhile; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement