balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

content-single-portfolio.php (753B)


      1 <?php
      2 /**
      3  * Template part for displaying single post
      4  *
      5  * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
      6  *
      7  * @package appside
      8  */
      9 $appside = Appside();
     10 
     11 ?>
     12 
     13 <article id="post-<?php the_ID(); ?>" <?php post_class( 'single-portfolio-details-item' ); ?>>
     14 	<?php if ( has_post_thumbnail() ): ?>
     15         <div class="thumb">
     16 			<?php
     17                 the_post_thumbnail( 'appside_portfolio_single', array(
     18                     'alt' => the_title_attribute( array(
     19                         'echo' => false,
     20                     ) ),
     21                 ) );
     22 			?>
     23         </div>
     24 	<?php endif; ?>
     25     <div class="entry-content">
     26 		<?php
     27 		the_content();
     28 		$appside->link_pages();
     29 		?>
     30     </div>
     31 </article><!-- #post-<?php the_ID(); ?> -->