HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /var/www/html/pmw24/wp-content/themes/PunjabMotor/template-parts/content-single.php
<?php
/**
 * The template part for displaying single posts
 *
 * @package WordPress
 * @subpackage Punjab_Motor
 * @since Punjab Motor 1.0
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<div class="entry-header">
		<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
	</div><!-- .entry-header -->

	<?php PunjabMotor_excerpt(); ?>

	<?php //PunjabMotor_post_thumbnail(); ?>
	

	<div class="entry-content">
		
		<div class="imgbox wow fadeInDown <?php echo $odd_class; ?>"> 			   			
		<?php if ( has_post_thumbnail() ) {	?>
			<a href="<?php the_post_thumbnail_url('full'); ?>" class="lightbox"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/admin/timthumb/timthumb.php?src=<?php the_post_thumbnail_url('full'); ?>&zc=2&a=c&q=100&w=336&h=199" alt=""></a>
		<?php } /*elseif(get_field('service_icon')) { ?>						
			<a href="<?php echo get_field('service_icon'); ?>" class="lightbox"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/admin/timthumb/timthumb.php?src=<?php echo get_field('service_icon'); ?>&zc=2&a=c&q=100&w=336&h=199" alt="<?php the_title(); ?>" /></a>
		<?php }*/ else { ?>						
			<a href="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/noimage.jpg" class="lightbox"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/admin/timthumb/timthumb.php?src=<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/noimage.jpg&zc=2&a=c&q=100&w=336&h=199" alt="" /></a>
		<?php } ?>		
		</div>
		<?php
			the_content();			
		?>
		
	</div><!-- .entry-content -->

	
</article><!-- #post-## -->