1. <?php
  2. /**
  3.  * @package Vertigo
  4.  */
  5.  
  6. $link_url = function_exists( 'get_url_in_content' ) ? get_url_in_content( get_the_content() ) : vertigo_url_grabber();
  7. ?>
  8.  
  9. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  10.     <div class="container">
  11.  
  12.         <header class="entry-header">
  13.             <div class="hand"></div>
  14.             <h1 class="entry-title hitchcock">
  15.                 <span>
  16.                     <a href="<?php echo esc_url( $link_url ); ?>" rel="bookmark"><?php the_title(); ?></a>
  17.                 </span>
  18.             </h1>
  19.         </header><!-- .entry-header -->
  20.  
  21.         <div class="entry-content clear-fix">
  22.             <?php
  23.                 if ( is_search() ) :
  24.                     the_excerpt();
  25.                 else :
  26.                     the_content( __( 'Read more', 'vertigo' ) );
  27.                 endif;
  28.             ?>
  29.             <?php wp_link_pages( array( 'before' => '<div class="page-link"><p>' . __( 'Pages:', 'vertigo' ), 'after' => '</p></div>' ) ); ?>
  30.         </div><!-- .entry-content -->
  31.  
  32.         <?php vertigo_entry_meta(); ?>
  33.  
  34.         <?php vertigo_entry_info(); ?>
  35.  
  36.     </div><!-- .container -->
  37. </article><!-- #post-## -->