HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //old_home_backup/vinylsingles.co.uk/public_html/wp-content/themes/aadya/content.php
<?php
/**
 * The default template for displaying content. Used for both single and index/archive/search.
 *
 * @package Aadya
 * @subpackage Aadya
 * @since Aadya 1.0.0
 */
?>

<?php 
	$aadya_display_post_meta_info = of_get_option('display_post_meta_info');
	$theme_style = of_get_option('theme_style');
?>

<article id="post-<?php the_ID(); ?>" <?php post_class('index-card'); ?> >
<header class="entry-header">
	<hgroup>		
		<h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'aadya' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
		
		<?php if(!empty($aadya_display_post_meta_info) && $theme_style=="impact"):?>
		
<div class="post-meta">			

<?php
	printf( __( '<span class="post-date text-muted no-margin"><i class="fa fa-calendar"></i> %1$s</span>
	<span class="post-author "><i class="fa fa-user text-muted"></i> %2$s</span>', 'aadya' ),
	sprintf( '<a href="%1$s" title="%2$s" rel="bookmark" class="text-muted">%3$s</a>',
	get_permalink(),
	esc_attr( get_the_time() ),
	get_the_date()
	),
	sprintf( '<a class="url fn n" href="%1$s" title="%2$s">%3$s</a>',
	get_author_posts_url( get_the_author_meta( 'ID' ) ),
	sprintf( esc_attr__( 'View all posts by %s', 'aadya' ), get_the_author() ),
	get_the_author()
	)
	);
?>  
				
<div class="pull-right">				
	<span class="post_comment text-muted"><i class="fa fa-comments"></i>
	<a href="<?php the_permalink() ?>#comments"><?php comments_number(__('Leave a comment', 'aadya'),__('One comment','aadya'),__('% comments','aadya')); ?></a>
	</span>
</div>			

</div> 		
		
		<?php endif; ?>
		
		
	</hgroup>
</header>

<?php if ( has_post_thumbnail()) : ?>
	<div class="featured-img pull-left">
	<a href="<?php the_permalink(); ?>" class="th" title="<?php the_title_attribute(); ?>" ><?php the_post_thumbnail('thumbnail', array('class' => "post-image")); ?></a>
	</div>
<?php endif; ?>					

<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<?php if(!empty($aadya_display_post_meta_info) && $theme_style!="impact"):?>
<div class="post-meta">			

<?php
	printf( __( '<span class="post-author no-margin"><i class="fa fa-user text-muted"></i> %2$s</span><span class="post-date text-muted"><i class="fa fa-calendar"></i> %1$s</span>', 'aadya' ),
	
	sprintf( '<a href="%1$s" title="%2$s" rel="bookmark" class="text-muted">%3$s</a>',
	get_permalink(),
	esc_attr( get_the_time() ),
	get_the_date()
	),
	sprintf( '<a class="url fn n" href="%1$s" title="%2$s">%3$s</a>',
	get_author_posts_url( get_the_author_meta( 'ID' ) ),
	
	sprintf( esc_attr__( 'View all posts by %s', 'aadya' ), get_the_author() ),
	get_the_author()
	)
	);
?>  
				
<div class="pull-right">				
	<span class="post_comment text-muted"><i class="fa fa-comments"></i>
	<a href="<?php the_permalink() ?>#comments"><?php comments_number(__('No comments', 'aadya'),__('One comment','aadya'),__('% comments','aadya')); ?></a>
	</span>
</div>			

</div> 
<?php endif;?>
<div class="clearfix"/>
</article>