This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

content-events

By: a guest on Aug 2nd, 2012  |  syntax: PHP  |  size: 0.98 KB  |  views: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3.  * The template used for displaying events in home.php
  4.  *
  5.  * @package WordPress
  6.  * @subpackage Twenty_Eleven
  7.  * @since Twenty Eleven 1.0
  8.  */
  9. ?>
  10.  
  11. <article class="article-events">
  12.         <div class="wrap-events">
  13.         <div class="entry-meta-events">
  14.                 <?php twentyeleven_posted_on(); ?>
  15.         </div><!-- .entry-meta -->     
  16.         <header class="entry-header">
  17.                 <h1 class="entry-title-events"><?php the_title(); ?></h1>
  18.         </header><!-- .entry-header -->
  19.         <div class="entry-content-events">
  20.                 <?php the_excerpt(); ?>
  21.                 <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>      
  22.         </div><!-- .entry-content -->
  23.         </div>
  24.         <div class="img-art">
  25.                 <?php
  26.                         if( has_post_thumbnail()) { //check if the post has a Post Thumbnail assigned to it.
  27.                         the_post_thumbnail('post-thumb'); }
  28.                 ?>
  29.         </div> 
  30.                 <footer class="entry-meta">
  31.         </footer><!-- .entry-meta -->
  32. </article><!-- #post-<?php the_ID(); ?> -->
clone this paste RAW Paste Data