????JFIF??x?x????'
Server IP : 104.21.48.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/tempvsty/./eaabusiness.com/wp-content/themes/pasal-ecommerce/template-parts/ |
Upload File : |
<?php /** * Template part for displaying posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package Pasal-ecommerce */ global $post; $pasal_ecommerce_settings = pasal_ecommerce_get_theme_options(); $blog_meta = $pasal_ecommerce_settings['pasal_ecommerce_entry_meta_blog']; $post_format = get_post_format($post->ID); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if($post_format == 'gallery'){ pasal_ecommerce_blog_post_format($post_format, $post->ID); }?> <header class="entry-header"> <?php if ( is_singular() ) : the_title( '<h1 class="entry-title">', '</h1>' ); else : the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); endif; if ( 'post' === get_post_type() && ($blog_meta == 'show-meta') ) : ?> <div class="entry-meta"> <?php pasal_ecommerce_posted_on(); pasal_ecommerce_posted_by(); ?> </div><!-- .entry-meta --> <?php endif; ?> </header><!-- .entry-header --> <?php pasal_ecommerce_post_thumbnail(); ?> <div class="entry-content"> <?php if(is_single()){ the_content( sprintf( wp_kses( /* translators: %s: Name of current post. Only visible to screen readers */ __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'pasal-ecommerce' ), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() ) ); } else{ echo wp_kses_post(pasal_ecommerce_get_excerpt($post->ID,400 )); } wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'pasal-ecommerce' ), 'after' => '</div>', ) ); ?> </div><!-- .entry-content --> <footer class="entry-footer"> <?php if(!is_single()){ ?> <a class="more-link" title="" href="<?php echo esc_url(get_the_permalink()) ?>"><?php echo esc_html__('Read More','pasal-ecommerce');?></a> <?php } //pasal_ecommerce_entry_footer(); ?> </footer><!-- .entry-footer --> </article><!-- #post-<?php the_ID(); ?> -->