Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.112.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : single.php
<?php
/**
 * The template for displaying singular post-types: posts, pages and user-defined custom post types.
 *
 * @package Veres
 */

if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly.
}
?>
<?php
while (have_posts()) :
    the_post();
    ?>

    <main <?php post_class('site-main'); ?> role="main">
        <?php if (apply_filters('veres/filter/enable_page_title', true)) : ?>
            <header class="page-header page-header--default">
                <div class="container page-header-inner">
                    <?php the_title('<h1 class="entry-title">', '</h1>'); ?>
                </div>
            </header>
        <?php endif; ?>

        <div id="site-content-wrap" class="container">

            <?php get_sidebar(); ?>

            <div class="site-content--default">

                <div class="page-content<?php if(is_singular('post')) {
                    echo ' post-tpl-content post-tpl-content--' . get_post_format();
                } ?>">

                    <?php

                    the_content();

                    ?>

                    <div class="clear"></div>

                    <?php
                    if(is_singular('post')){
                        the_tags('<div class="post-tags"><span class="tag-links"><strong>' . __('Tagged: ', 'veres') . '</strong>', ', ', '</span></div>');
                    }

                    wp_link_pages( array(
                        'before' => '<div class="clearfix"></div><div class="page-links">' . esc_html__( 'Pages:', 'veres' ),
                        'after'  => '</div>',
                    ) );

                    ?>

                </div>

                <div class="clear"></div>

                <?php

                wp_reset_postdata();

                if(comments_open() || get_comments_number()){
                    comments_template();
                }
                ?>

            </div>
        </div>

    </main>

<?php
endwhile;
© 2025 XylotrechusZ