HEX
Server: Apache
System: Linux sg2plmcpnl492417.prod.sin2.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: nyiet8349bzl (9207396)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/nyiet8349bzl/www/oldwebsite.sbsc.in/wp-content/themes/scholarship/template-parts/content.php
<?php
/**
 * Template part for displaying posts.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Mystery Themes
 * @subpackage Scholarship
 * @since 1.0.0
 */

if ( has_post_thumbnail() ) {
	$post_class = 'has-thumbnail';
} else {
	$post_class = 'no-thumbnail';
}

?>
	<article id="post-<?php the_ID(); ?>" <?php post_class( $post_class ); ?>>
		<header class="entry-header">
	        <div class="single-post-image">
	            <figure>
	            	<?php
	            		$scholarship_archive_layout = get_theme_mod( 'scholarship_archive_layout', 'classic' );
	            		if ( $scholarship_archive_layout == 'classic' ) {
	            			the_post_thumbnail( 'scholarship-blog-large' );
	            		} else {
	            			the_post_thumbnail( 'scholarship-blog-medium' );
	            		}
	            	?>
	            </figure>
	        </div>
		</header><!-- .entry-header -->
		<div class="archive-content-wrapper">
			<?php
					the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
				if ( 'post' === get_post_type() ) : ?>
				<div class="entry-meta">
					<?php scholarship_posted_on(); ?>
					<?php scholarship_entry_footer(); ?>
				</div><!-- .entry-meta -->
				<?php
				endif; ?>
			<div class="entry-content">
				<?php
					the_excerpt();

					wp_link_pages( array(
						'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'scholarship' ),
						'after'  => '</div>',
					) );
				?>
			</div><!-- .entry-content -->
		</div> <!-- archive-content-wrapper -->
	</article><!-- #post-## -->