Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 31st, 2012  |  syntax: PHP  |  size: 3.32 KB  |  views: 34  |  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.  * @package Safe Investment Home Inspections
  4.  * @since Safe Investment Home Inspections 1.0
  5.  */
  6. ?>
  7.  
  8. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  9.         <header class="entry-header">
  10.                 <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'safe_investment_home_inspections' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  11.  
  12.                 <?php if ( 'post' == get_post_type() ) : ?>
  13.                 <div class="entry-meta">
  14.                         <?php safe_investment_home_inspections_posted_on(); ?>
  15.                 </div><!-- .entry-meta -->
  16.                 <?php endif; ?>
  17.         </header><!-- .entry-header -->
  18.  
  19.         <?php if ( is_search() ) : // Only display Excerpts for Search ?>
  20.         <div class="entry-summary">
  21.                 <?php the_excerpt(); ?>
  22.         </div><!-- .entry-summary -->
  23.         <?php else : ?>
  24.         <div class="entry-content">
  25.                 <?php if ( is_page() ) : ?>
  26.                         <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'safe_investment_home_inspections' ) ); ?>
  27.                         <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'safe_investment_home_inspections' ), 'after' => '</div>' ) ); ?>
  28.                                 <div class="content-sidebar">
  29.                                         <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar2') ) : ?>
  30.                                         <?php endif; ?>
  31.                                 </div>
  32.                 <?php else : ?>
  33.                         <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'safe_investment_home_inspections' ) ); ?>
  34.                         <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'safe_investment_home_inspections' ), 'after' => '</div>' ) ); ?>
  35.         </div><!-- .entry-content -->
  36.         <?php endif; ?>
  37.  
  38.         <footer class="entry-meta">
  39.                 <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
  40.                         <?php
  41.                                 /* translators: used between list items, there is a space after the comma */
  42.                                 $categories_list = get_the_category_list( __( ', ', 'safe_investment_home_inspections' ) );
  43.                                 if ( $categories_list && safe_investment_home_inspections_categorized_blog() ) :
  44.                         ?>
  45.                         <span class="cat-links">
  46.                                 <?php printf( __( 'Posted in %1$s', 'safe_investment_home_inspections' ), $categories_list ); ?>
  47.                         </span>
  48.                         <?php endif; // End if categories ?>
  49.  
  50.                         <?php
  51.                                 /* translators: used between list items, there is a space after the comma */
  52.                                 $tags_list = get_the_tag_list( '', __( ', ', 'safe_investment_home_inspections' ) );
  53.                                 if ( $tags_list ) :
  54.                         ?>
  55.                         <span class="sep"> | </span>
  56.                         <span class="tags-links">
  57.                                 <?php printf( __( 'Tagged %1$s', 'safe_investment_home_inspections' ), $tags_list ); ?>
  58.                         </span>
  59.                         <?php endif; // End if $tags_list ?>
  60.                 <?php endif; // End if 'post' == get_post_type() ?>
  61.  
  62.                 <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
  63.                 <span class="sep"> | </span>
  64.                 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'safe_investment_home_inspections' ), __( '1 Comment', 'safe_investment_home_inspections' ), __( '% Comments', 'safe_investment_home_inspections' ) ); ?></span>
  65.                 <?php endif; ?>
  66.  
  67.                 <?php edit_post_link( __( 'Edit', 'safe_investment_home_inspections' ), '<span class="sep"> | </span><span class="edit-link">', '</span>' ); ?>
  68.         </footer><!-- .entry-meta -->
  69. </article><!-- #post-<?php the_ID(); ?> -->
clone this paste RAW Paste Data