HEX
Server: LiteSpeed
System: Linux s12873.lon1.stableserver.net 5.14.0-611.11.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 3 09:47:37 EST 2025 x86_64
User: jairicem (1242)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/jairicem/victoriousloycefoundation.org/wp-content/themes/poorex/template-parts/content.php
 <?php
/**
 * Template part for displaying posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package poorex
 */
$categories = get_the_terms( $post->ID, 'category' );
$poorex_blog_cat = get_theme_mod( 'poorex_blog_cat', false );

if ( is_single() ) : ?>

 <article id="post-<?php the_ID();?>" <?php post_class( 'postbox__item format-image mb-50 transition-3' );?>>
     <?php if ( has_post_thumbnail() ): ?>
     <div class="postbox__thumb">
         <?php the_post_thumbnail( 'full', ['class' => 'img-responsive'] );?>
     </div>
     <?php endif;?>

     <div class="postbox__content postbox__blockquote">
         <!-- blog meta -->
         <?php get_template_part( 'template-parts/blog/blog-meta' ); ?>
         <h3 class="postbox__title"><?php the_title();?></h3>

         <?php the_content();?>
         <?php
            wp_link_pages( [
                'before'      => '<div class="page-links">' . esc_html__( 'Pages:', 'poorex' ),
                'after'       => '</div>',
                'link_before' => '<span class="page-number">',
                'link_after'  => '</span>',
            ] );
        ?>
     </div>

     <?php
      $poorex_singleblog_social = get_theme_mod( 'poorex_singleblog_social', false );
        
     $social_shear_col= $poorex_singleblog_social ? "col-xl-5 col-lg-6 col-md-6" : "col-xl-12 col-md-12 col-lg-12";
     ?>

     <div class="postbox__details-share-wrapper">
         <div class="row">
             <div class="<?php echo esc_attr($social_shear_col); ?>">
                 <div class="postbox__details-tag tagcloud">
                     <?php echo poorex_get_tag(); ?>
                 </div>
             </div>
             <?php poorex_blog_social_share() ?>
         </div>
     </div>

 </article>

 <?php else: ?>

 <article id="post-<?php the_ID();?>" <?php post_class( 'postbox__item mb-60 format-standard' );?>>
     <?php if ( has_post_thumbnail() ): ?>
     <div class="postbox__thumb">
            <div class="postbox__thumb-text d-none d-md-block">
                <span><?php the_time( 'j F' ); ?></span>
            </div>
         <a href="<?php the_permalink();?>">
             <?php the_post_thumbnail( 'full', ['class' => 'img-responsive'] );?>
         </a>
         
     </div>
     <?php endif; ?>


     <div class="postbox__content">
         <!-- blog meta -->
         <?php get_template_part( 'template-parts/blog/blog-meta' ); ?>

         <h3 class="postbox__title"><a href="<?php the_permalink();?>"><?php the_title();?></a></h3>


         <div class="postbox__text">
             <?php the_excerpt();?>
         </div>

         <!-- blog btn -->
         <?php get_template_part( 'template-parts/blog/blog-btn' ); ?>
     </div>
 </article>
 <?php endif;?>