Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.112.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : post-classic-view.php
<?php
/**
 * The default template for displaying content
 *
 * Used for both single and index/archive/search.
 *
 * @package WordPress
 * @subpackage Liviza
 * @since Liviza 1.0
 */
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( themestek_sanitize_html_classes(themestek_postlayout_class()) ); ?> >
	<div class="themestek-blog-classic-featured-wrapper">			
		<div class="themestek-blog-classic-featured-image-wrap">
			<?php echo themestek_get_featured_media(); // Featured content ?>
		</div>
	</div>


	<div class="themestek-blog-classic-box-content <?php if( !function_exists('tste_liviza_cs_framework_init') ) { ?>themestek-blog-classic-no-footer-meta<?php }; ?>">
		<div class="themestek-blog-date">
			<span class="themestek-meta-line themestek-date">
				<?php echo get_the_date( 'F j, Y' ); ?>
			</span>
		</div>	
		<div class="themestek-blog-header">

		<?php if( is_single() ) : ?>	
		
			<div class="themestek-meta-list-wrap">
				<div class="themestek-box-title"><h2 class="themestek-title"><?php echo get_the_title(); ?></h2></div>
			    <?php echo themestek_entry_meta( array( 'author', 'cat', 'comment' ) ); ?>
			</div>
		<?php else : ?>
			<div class="themestek-blog-date">
				<span class="themestek-meta-line themestek-date">
					<?php echo get_the_date( 'F j, Y' ); ?>
				</span>
			</div>
			<div class="themestek-meta-list-wrap">
				<?php echo themestek_box_title('classicmain'); // post title ?>
				<?php echo themestek_entry_meta( array( 'author', 'cat', 'comment' ) ); ?>
			</div>
		<?php endif; ?>
		</div>

		<?php if( 'quote' != get_post_format() ) : ?>
			<div class="entry-content">
				<?php if( !is_single() ) : ?>

					<?php
					$read_more_text = '<a href="'.get_permalink().'">'.themestek_get_option('blog_readmore_text').'</a>';
					$read_more_html = '<div class="themestek-readmore-link">'.$read_more_text.'</div>';
					$blog_classic_excerpt_enable = themestek_get_option('blog_classic_excerpt_enable');

					if( has_excerpt() && $blog_classic_excerpt_enable=='yes' ){
						the_excerpt();
						echo themestek_wp_kses($read_more_html);

					} else {
						the_content( themestek_get_option('blog_readmore_text') , false );

					}

					// Pagination if multi-page exists
					wp_link_pages(
						array(
							'before' => themestek_wp_kses('<div class="page-links">') . esc_html__( 'Pages:', 'liviza' ),
							'after'  => themestek_wp_kses('</div>'),
						)
					);

					?>

				<?php else : ?>

					<?php the_content(); ?>

				<?php endif; ?>

				<?php
				if( is_single() ) {
					// pagination if any
					wp_link_pages( array(
						'before'      => '<div class="page-links">' . esc_html__( 'Pages:', 'liviza' ),
						'after'       => '</div>',
						'link_before' => '<span class="page-number">',
						'link_after'  => '</span>',
					) );
				}
				?>
			</div><!-- .entry-content -->
			<?php if( is_single() ) : ?>
				<?php
				// Tags
				$tags_list	= get_the_tag_list( '', esc_html_x( ', ', 'Used between list items, there is a space after the comma.', 'liviza' ) );
				if( !empty($tags_list) || ( ! post_password_required() && defined('THEMESTEK_LIVIZA_VERSION') ) ) :
				?>
				<div class="themestek-meta-first-row themestek-meta-info-bottom clearfix <?php if( empty($tags_list) || ( function_exists('themestek_social_share_links') && empty(themestek_social_share_links()) ) ) : ?>themestek-meta-one-only<?php endif; ?>">
					<?php if( !empty($tags_list) ) : ?>
					<div class="themestek-meta-info-bottom-left">
						<span class="tags-links">
							<span class="screen-reader-text themestek-hide"><?php esc_html_x( 'Tags', 'Used before tag names.', 'liviza' ); ?> </span>
							<?php echo themestek_wp_kses($tags_list); ?>
						</span>
					</div>
					<?php endif; ?>
					<?php
					// Social share
					if ( ! post_password_required() && defined('THEMESTEK_LIVIZA_VERSION') ) {
						echo themestek_wp_kses(themestek_social_share_box('post'));
					}
					?>
				</div>
				<?php endif; ?>

			<?php endif; ?>
		<?php endif; ?>
		<?php
		// Author bio.
		if ( is_single() && get_the_author_meta( 'description' ) ) :
			get_template_part( 'theme-parts/author-bio', 'customized' );
		endif;
		?>
	</div><!-- .themestek-blog-classic-box-content -->
</article><!-- #post-## -->
© 2025 XylotrechusZ