Advertisement
Guest User

content-child.php { Pinboard theme - no links }

a guest
Apr 19th, 2015
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.24 KB | None | 0 0
  1. <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
  2.         <div class="entry">
  3.                 <?php if( ! pinboard_post_is_full_width() ) { ?>
  4.                 <?php if ( has_post_thumbnail() ) { ?>
  5.                                         <?php pinboard_post_thumbnail(); ?>
  6.                 <?php } else { ?>
  7.                                         <figure class="entry-thumbnail">
  8.                                                         <img width="auto" height="auto" src="http://bhsolutions.eu/wp-content/uploads/2013/09/BH_h250.png" class="attachment-teaser-thumb wp-post-image" alt="<?php the_title_attribute(); ?>"></img>
  9.                                         </figure>
  10.                 <?php }
  11.                 }
  12.                 ?>
  13.                 <div class="entry-container">
  14.                         <header class="entry-header">
  15.                                 <<?php pinboard_title_tag( 'post' ); ?> class="entry-title">
  16.                                         <?php the_title(); ?>
  17.                                 </<?php pinboard_title_tag( 'post' ); ?>>
  18.  
  19.                                 <?php if( pinboard_post_is_full_width() ) : ?>
  20.                                         <?php pinboard_entry_meta(); ?>
  21.                                 <?php endif; ?>
  22.                         </header><!-- .entry-header -->
  23.                         <?php if( pinboard_post_is_full_width() ) : ?>
  24.                                 <?php pinboard_post_thumbnail(); ?>
  25.                         <?php endif; ?>
  26.                         <?php if( ! is_category( pinboard_get_option( 'portfolio_cat' ) ) && ! ( is_category() && cat_is_ancestor_of( pinboard_get_option( 'portfolio_cat' ), get_queried_object() ) ) ) : ?>
  27.                                 <div class="entry-summary">
  28.                                         <?php // the_excerpt(); ?>
  29.                                 </div><!-- .entry-summary -->
  30.                         <?php endif; ?>
  31.                         <div class="clear"></div>
  32.                 </div><!-- .entry-container -->
  33.                 <?php if( ! pinboard_post_is_full_width() ) : ?>
  34.                         <?php pinboard_entry_meta(); ?>
  35.                 <?php endif; ?>
  36.         </div><!-- .entry -->
  37. </article><!-- .post -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement