0xsec Shell
0xSec


Server : LiteSpeed
System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : rahcos ( 1533)
PHP Version : 8.4.23
Disable Function : NONE
Directory :  /home/rahcos/.trash/wp-content/themes/hara/page-templates/posts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/rahcos/.trash/wp-content/themes/hara/page-templates/posts/item-post-style-1.php
<?php
$style           = isset($style) ? $style : 'post-style-1';
$thumbsize       = isset($thumbnail_size_size) ? $thumbnail_size_size : 'full';
$show_title      = hara_switcher_to_boolean($show_title); ;
$show_category   = hara_switcher_to_boolean($show_category);
$show_author     =  hara_switcher_to_boolean($show_author);
$show_date       =  hara_switcher_to_boolean($show_date);
$show_comments   =  hara_switcher_to_boolean($show_comments);
$show_comments_text   =  hara_switcher_to_boolean($show_comments_text);
$post_title_tag       = isset($post_title_tag) ? $post_title_tag : 'h3';
$show_excerpt    =  hara_switcher_to_boolean($show_excerpt);
$excerpt_length  = isset($excerpt_length) ? $excerpt_length : 15;
$show_read_more  =  hara_switcher_to_boolean($show_read_more);
$read_more_text  = isset($read_more_text) ? $read_more_text : esc_html__('Read more', 'hara');


$text_domain               = esc_html__(' comments', 'hara');
if (get_comments_number() == 1) {
    $text_domain = esc_html__(' comment', 'hara');
}

?>
<article class="post item-post <?php echo esc_attr($style); ?>">   
    <?php
        if (has_post_thumbnail()) {
            ?>
            <figure class="entry-thumb <?php echo(!has_post_thumbnail() ? 'no-thumb' : ''); ?>">
                <?php if ($show_date == 1): ?>
                    <span class="entry-date"><?php echo hara_time_link(); ?></span>
                <?php endif ?>
                <a href="<?php the_permalink(); ?>"  class="entry-image">
                <?php
                    if (hara_elementor_activated()) {
                        the_post_thumbnail($thumbsize);
                    } else {
                        the_post_thumbnail();
                    }
                ?>
                </a> 
            </figure>
            <?php
        }
    ?>
    
    <div class="entry-header">


        <?php if (get_the_category_list() && $show_category == 1): ?>
            <div class="entry-category"><?php hara_the_post_category_full() ?></div>
        <?php endif; ?>
        
        <?php if ($show_title && get_the_title()) : ?>
            <<?php echo trim($post_title_tag); ?> class="entry-title">
                <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
            </<?php echo trim($post_title_tag); ?>>
        <?php endif; ?>

        <?php hara_post_meta(array(
            'author'     => $show_author,
            'date'     => $show_date,
            'tags'     => 0,
            'comments' 		=> $show_comments,
            'cats'         => $show_category,
            'comments_text' 		=> $show_comments_text,
            'edit'     => 0,
        )); ?>

        <?php do_action('hara_blog_before_meta_list'); ?>

        <?php if ($show_excerpt) : ?>
            <div class="entry-description"><?php echo hara_tbay_substring(get_the_excerpt(), $excerpt_length, '...'); ?></div>
        <?php endif; ?>
        



        <?php if ($show_read_more) : ?>
            <a href="<?php the_permalink(); ?>" class="readmore" title="<?php echo esc_attr($read_more_text); ?>"><?php echo trim($read_more_text); ?></a>
        <?php endif; ?>

        <?php do_action('hara_blog_after_meta_list'); ?>
    </div>
</article>

c0oded By c0rpz