Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.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 : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/anfangola.com/wp-content/themes/agencyup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/anfangola.com/wp-content/themes/agencyup/single.php
<!-- =========================
     Page Breadcrumb   
============================== -->
<?php get_header();
$background_image = get_theme_support( 'custom-header', 'default-image' );

if ( has_header_image() ) { $background_image = get_header_image(); } ?>

<div class="bs-breadcrumb-section" style='background-image: url("<?php echo esc_url( $background_image ); ?>" );'>
  <div class="overlay">
    <div class="container">
      <div class="row">
        <div class="col-md-12">
          <div class="bs-breadcrumb-title">
            <?php $post_category = get_theme_mod('post_category_enable',false);
              $post_title = get_theme_mod('post_title_enable',false);
              $post_meta = get_theme_mod('post_meta_enable',false);
              if($post_title !== true){ ?>
                <h1><?php the_title(); ?></h1>
              <?php } 
              if(($post_category !== true) || ($post_meta !== true)) { ?>
                <div class="bs-blog-meta">
                  <?php if($post_category !== true) { ?>
                    <span class="cat-links">
                      <?php $cat_list = get_the_category_list();
                      if(!empty($cat_list)) { ?>
                        <?php the_category(', '); ?>
                      <?php } ?>
                    </span>
                  <?php } if($post_meta !== true) { ?>
                    <span class="bs-blog-date"><?php echo esc_html(get_the_date('M')); ?> <?php echo esc_html(get_the_date('j,')); ?> <?php echo esc_html(get_the_date('Y')); ?></span>
                    <?php $tags = get_the_tags();
                    if($tags){ ?>
                      <span class="tag-links"><?php
                        $keys = array_keys($tags);
                          foreach ($tags as $key => $tag) {
                            $tag_link = get_tag_link($tag->term_id);
                            if ($key === end($keys)) {
                              echo '<a href="'.esc_url($tag_link).'">#'.esc_html($tag->name).'</a>';
                            } else {
                              echo ' <a href="'.esc_url($tag_link).'">#'.esc_html($tag->name).'</a>, ';
                            }
                          } ?>
                      </span>
                    <?php } 
                  } ?>
                </div>
              <?php } ?>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="clearfix"></div>
<!-- =========================
     Page Content Section      
============================== -->
<main id="content">
  <div class="container">
    <div class="row"> 
      <?php $agencyup_single_page_layout = get_theme_mod('agencyup_single_page_layout','align-content-right');
      if($agencyup_single_page_layout == 'align-content-left'){ ?>
        <div class="col-md-3">
          <?php get_sidebar(); ?>
        </div>
      <?php } ?>
      
			<div class="col-md-<?php echo ( $agencyup_single_page_layout == 'full-width-content' ? '12' :'9' ); ?>">
        <div class="bg-blog-post-box">
		      <?php if(have_posts()) {
            while(have_posts()) { the_post(); ?> 
              <div class="bs-blog-post shd single"> 
                <?php if(has_post_thumbnail()){
                  echo '<a class="bs-blog-thumb">';
                  the_post_thumbnail( '', array( 'class'=>'img-responsive' ) );
                  echo '</a>';
                } ?>
                <article class="small">
                  <?php the_content(); ?>
                  <?php wp_link_pages(array(
                    'before' => '<div class="single-nav-links">',
                    'after' => '</div>',
                  )); ?>
                </article>
              </div> 
            <?php } ?>
            <div class="text-center">
              <?php the_posts_navigation(); ?>
            </div>   
            <div class="media bs-info-author-block shd p-4 mb-5"> <a class="bs-author-pic mr-3" href="<?php echo esc_url(get_author_posts_url( get_the_author_meta( 'ID' ) ));?>"><?php echo get_avatar( get_the_author_meta( 'ID' ), 160 ); ?></a>
              <div class="media-body">
                <h4 class="media-heading"><a href="<?php echo esc_url(get_author_posts_url( get_the_author_meta( 'ID' ) ));?>"><?php the_author(); ?></a></h4>
                <p><?php the_author_meta( 'description' ); ?></p>
              </div>
            </div> 
          <?php } ?> <?php comments_template('',true); ?>
         </div>
      </div>

      <?php if($agencyup_single_page_layout == 'align-content-right'){ ?>
        <div class="col-md-3">
          <?php get_sidebar(); ?>
        </div>
      <?php } ?>
    </div>
  </div>
</main>
<?php get_footer(); ?>

ZeroDay Forums Mini