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/ligaamadora.com/wp-content/themes/covernews/inc/hooks/blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/ligaamadora.com/wp-content/themes/covernews/inc/hooks/blocks/block-post-header.php
<?php
/**
 * List block part for displaying page content in page.php
 *
 * @package CoverNews
 */

?>
<header class="entry-header">

    <div class="header-details-wrapper">
        <div class="entry-header-details">
            <?php if ('post' === get_post_type()) : ?>
                <div class="figure-categories figure-categories-bg">
                    <?php echo covernews_post_format(get_the_ID()); ?>
                    <?php covernews_post_categories(); ?>
                </div>
            <?php endif; ?>
            <?php the_title('<h1 class="entry-title">', '</h1>'); ?>

            <?php if ('post' === get_post_type()) : ?>

                <?php covernews_post_item_meta(); ?>
                <?php if (has_excerpt()): ?>
                    <div class="post-excerpt">
                        <?php the_excerpt(); ?>
                    </div>
                <?php endif; ?>


            <?php endif; ?>
        </div>
    </div>

    <?php
    $single_show_featured_image = covernews_get_option('single_show_featured_image');
    if($single_show_featured_image == true):
    ?>
    <div class="aft-post-thumbnail-wrapper">    
    <?php covernews_post_thumbnail(); ?>
    <?php 
    if(has_post_thumbnail()):
        if($aft_image_caption = get_post( get_post_thumbnail_id() )->post_excerpt): ?>
            <span class="aft-image-caption">
                <p>
                    <?php echo $aft_image_caption; ?>
                </p>
            </span>
    <?php 
            endif; 
        endif; 
    ?>
    </div>
    <?php endif; ?>
</header><!-- .entry-header -->

ZeroDay Forums Mini