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.16.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : content.php
<?php
/**
 * The template for displaying content.
 *
 * @package Theme Freesia
 * @subpackage ShoppingCart
 * @since ShoppingCart 1.0
 */
$shoppingcart_settings = shoppingcart_get_theme_options(); ?>
	<article id="post-<?php the_ID(); ?>" <?php post_class();?>>
		<?php $shoppingcart_blog_post_image = $shoppingcart_settings['shoppingcart_blog_post_image'];
		$entry_format_meta_blog = $shoppingcart_settings['shoppingcart_entry_meta_blog'];
		if( has_post_thumbnail() && $shoppingcart_blog_post_image == 'on') { ?>
			<div class="post-image-content">
				<figure class="post-featured-image">
					<a href="<?php the_permalink();?>" title="<?php echo the_title_attribute('echo=0'); ?>">
					<?php the_post_thumbnail(); ?>
					</a>
				</figure><!-- end.post-featured-image  -->
			</div><!-- end.post-image-content -->
		<?php } ?>
			<div class="post-all-content">
				<header class="entry-header">
					<?php if($entry_format_meta_blog == 'show-meta' ){ 
						if ( $shoppingcart_settings['shoppingcart_post_date'] != 1){ ?> 
						<div class="entry-meta">
							<?php printf( '<span class="posted-on"><a href="%1$s" title="%2$s"><i class="fa-regular fa-calendar"></i>%3$s</a></span>',
								esc_url(get_the_permalink()),
								esc_attr( get_the_time() ),
								esc_html(get_the_time( get_option( 'date_format' ) ))
							); ?>
						</div>
						<?php }
						} ?>
					<h2 class="entry-title"> <a href="<?php the_permalink(); ?>" title="<?php echo the_title_attribute('echo=0'); ?>"> <?php the_title();?> </a> </h2> <!-- end.entry-title -->

					<?php if($entry_format_meta_blog == 'show-meta' ){ ?> 
						<div class="entry-meta">
							<?php if ( $shoppingcart_settings['shoppingcart_post_author'] != 1){ ?>
							<span class="author vcard"><?php esc_html_e('Post By','shoppingcart');?><a href="<?php echo esc_url (get_author_posts_url( get_the_author_meta( 'ID' )) ); ?>" title="<?php the_title_attribute(); ?>">
							<?php the_author(); ?> </a></span>
							<?php }

							$format = get_post_format();
							if ( current_theme_supports( 'post-formats', $format ) ) {
								printf( '<span class="entry-format">%1$s<a href="%2$s">%3$s</a></span>',
									sprintf( ''),
									esc_url( get_post_format_link( $format ) ),
									esc_html(get_post_format_string( $format ))
								);
							}

							if ( $shoppingcart_settings['shoppingcart_post_category'] != 1){ ?>

								<span class="cat-links">
									<?php the_category(', '); ?>
								</span> <!-- end .cat-links -->

							<?php } ?>

							

							<?php $tag_list = get_the_tag_list( '', __( ', ', 'shoppingcart' ) );
								if(!empty($tag_list)){ ?>
									<span class="tag-links">
										<?php   echo get_the_tag_list( '', __( ', ', 'shoppingcart' ) ); ?>
									</span> <!-- end .tag-links -->
								<?php }  ?>

							<?php if ( comments_open() ) { 
								if ( $shoppingcart_settings['shoppingcart_post_comments'] != 1){ ?>
									<span class="comments"><i class="fa-regular fa-comment"></i>
									<?php comments_popup_link( __( 'No Comments', 'shoppingcart' ), __( '1 Comment', 'shoppingcart' ), __( '% Comments', 'shoppingcart' ), '', __( 'Comments Off', 'shoppingcart' ) ); ?> </span>
								<?php }
							} ?>
							
						</div><!-- end .entry-meta -->
					<?php } ?>
				</header><!-- end .entry-header -->
		
				<div class="entry-content">
					<?php
					$shoppingcart_tag_text = $shoppingcart_settings['shoppingcart_tag_text'];
					$content_display = $shoppingcart_settings['shoppingcart_blog_content_layout'];
					if($content_display == 'excerptblog_display'):
							the_excerpt(); ?>
						<?php else:
							the_content( sprintf(esc_html($shoppingcart_tag_text).'%s', '<span class="screen-reader-text">  '.get_the_title().'</span>' ));
						endif; ?>
				</div> <!-- end .entry-content -->
			</div> <!-- end .post-all-content -->
			<?php wp_link_pages( array( 
					'before'            => '<div style="clear: both;"></div><div class="pagination clearfix">'.esc_html__( 'Pages:', 'shoppingcart' ),
					'after'             => '</div>',
					'link_before'       => '<span>',
					'link_after'        => '</span>',
					'pagelink'          => '%',
					'echo'              => 1
				) ); ?>
		</article><!-- end .post -->
© 2025 XylotrechusZ