HEX
Server: LiteSpeed
System: Linux standart108 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: pplae2ji7 (11089)
PHP: 8.3.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/plasmak.com.tr/httpdocs/wp-content/themes/buliten/single.php
<?php $options = _WSH()->option();
    get_header();
    $allowed_tags = wp_kses_allowed_html('post');
    $settings  = buliten_set(buliten_set(get_post_meta(get_the_ID(), 'bunch_page_meta', true), 'bunch_page_options'), 0);
    $meta = _WSH()->get_meta('_bunch_layout_settings');
    $meta1 = _WSH()->get_meta('_bunch_header_settings');
    $meta2 = _WSH()->get_meta();
    _WSH()->page_settings = $meta;
    if (buliten_set($_GET, 'layout_style')) {
        $layout = buliten_set($_GET, 'layout_style');
    } else {
        $layout = buliten_set($meta, 'layout', 'full');
    }
    if (!$layout || $layout == 'full' || buliten_set($_GET, 'layout_style')=='full') {
        $sidebar = '';
    } else {
        $sidebar = buliten_set($meta, 'sidebar', 'default-sidebar');
    }
    $layout = ($layout) ? $layout : 'full';
    $sidebar = ($sidebar) ? $sidebar : 'default-sidebar';
    $classes = (! $layout || $layout == 'full' || buliten_set($_GET, 'layout_style')=='full') ? ' col-lg-12 col-md-12 col-sm-12 col-xs-12 ' : ' col-lg-8 col-md-12 col-sm-12 ' ;
    $bg = buliten_set($meta1, 'header_img');
    $title = buliten_set($meta1, 'header_title');
?>

<!--Page Title-->
<section class="page-title" <?php if ($bg):?>style="background-image:url(<?php echo esc_url($bg)?>);"<?php endif;?>>
    <div class="auto-container">
        <h2><?php if ($title) {
    echo wp_kses($title, $allowed_tags);
} else {
    wp_title('');
}?></h2>

        <?php echo wp_kses(buliten_get_the_breadcrumb(), $allowed_tags); ?>

    </div>
</section>
<!--End Page Title-->

<!-- Sidebar Page Container -->
<div class="sidebar-page-container">
    <div class="auto-container">
        <div class="row clearfix">

            <!-- sidebar area -->
            <?php if ($layout == 'left'): ?>
                <?php if (is_active_sidebar($sidebar)) {
    ?>
                    <div class="sidebar-side col-lg-4 col-md-12 col-sm-12">
                        <aside class="sidebar">
                            <div class="sidebar-inner">
                                <?php dynamic_sidebar($sidebar); ?>
                            </div>
                        </aside>
                    </div>
                <?php
} ?>
            <?php endif; ?>

            <!--Content Side-->
            <div class="content-side <?php echo esc_attr($classes);?>">

                <div class="thm-unit-test">

                    <?php while (have_posts()): the_post();
                        global $post;
                        $post_meta = _WSH()->get_meta();
                    ?>

                    <div class="blog-single">
                        <div class="inner-box">
                            <?php if (has_post_thumbnail()):?>
                            <div class="image">
                                <?php the_post_thumbnail('buliten_1170x400'); ?>
                            </div>
                            <?php endif; ?>

                            <ul class="post-info">
                                <li><span class="icon fa fa-user"></span> <?php the_author(); ?></li>
                                <li><span class="icon fa fa-calendar"></span> <?php echo get_the_date(); ?></li>
                                <?php if(has_category()) : ?>
                                <li><span class="icon fa fa-gear"></span> <?php the_category(', '); ?></li>
                                <?php endif; ?>
                            </ul>

                            <div class="text">
                            <?php the_content(); ?>
                            </div>
                            <div class="clearfix"></div>

                            <!--post-share-options-->
                            <div class="post-share-options">
                                <div class="post-share-inner clearfix">
                                    <?php if (has_tag()):?>
                                    <div class="pull-left tags"><span><?php esc_html_e('Tags: ', 'buliten'); ?></span><?php the_tags( '', ', ', '' ); ?></div>
                                    <?php endif; ?>
                                    <div class="clearfix"></div>
                                    <?php wp_link_pages(array('before'=>'<div class="paginate-links m-t30">'.esc_html__('Pages: ', 'buliten'), 'after' => '</div>', 'link_before'=>'<span>', 'link_after'=>'</span>')); ?>

                                    <?php if (buliten_set($options, 'show_sharing_icon')): ?>
                                        <?php echo wp_kses(bunch_share_us(get_the_id(), $post->post_name), $allowed_tags);  ?>
                                    <?php endif;?>
                                </div>
                            </div>


                            <!--New Posts-->
                            <div class="news-posts">
                                <div class="clearfix">
                                    <?php global $post; $prev_post = get_previous_post();
                                    if (!empty($prev_post)): ?>
                                    <div class="pull-left prev-post">
                                        <a href="<?php echo esc_url(get_permalink($prev_post->ID)); ?>"> <?php esc_html_e('prev article', 'buliten'); ?></a>
                                    </div>
                                    <?php endif ?>

                                    <?php global $post; $next_post = get_next_post();
                                    if (!empty($next_post)): ?>
                                    <div class="pull-right next-post">
                                        <a href="<?php echo esc_url(get_permalink($next_post->ID)); ?>"><?php esc_html_e('next article', 'buliten'); ?> </a>
                                    </div>
                                    <?php endif ?>
                                </div>
                            </div>

                        </div>

                        <?php if (get_the_author_meta('description')):?>
                        <!--Author Box-->
                        <div class="author-box">
                            <div class="author-comment">
                                <div class="inner-box">
                                    <div class="image"><?php echo get_avatar('', 130); ?></div>
                                    <h3><?php the_author(); ?></h3>
                                    <div class="text"><?php the_author_meta('description', get_the_author_meta('ID'));?></div>
                                    <ul class="social-icon-one">
                                        <?php if ($value = get_the_author_meta('facebook')): ?>
                                        <li class="facebook"><a href="<?php echo esc_url($value); ?>"><span class="fa fa-facebook-f"></span></a></li>
                                        <?php endif; ?>
                                        <?php if ($value = get_the_author_meta('google-plus')): ?>
                                        <li class="vimeo"><a href="<?php echo esc_url($value); ?>"><span class="fa fa-google-plus"></span></a></li>
                                        <?php endif; ?>
                                        <?php if ($value = get_the_author_meta('twitter')): ?>
                                        <li class="twitter"><a href="<?php echo esc_url($value); ?>"><span class="fa fa-twitter"></span></a></li>
                                        <?php endif; ?>
                                        <?php if ($value = get_the_author_meta('dribbble')): ?>
                                        <li class="linkedin"><a href="<?php echo esc_url($value); ?>"><span class="fa fa-dribble"></span></a></li>
                                        <?php endif; ?>
                                        <?php if ($value = get_the_author_meta('youtube')): ?>
                                        <li class="vimeo"><a href="<?php echo esc_url($value); ?>"><span class="fa fa-youtube"></span></a></li>
                                        <?php endif; ?>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <?php endif;?>

                        <!-- comment area -->
                        <?php comments_template(); ?><!-- end comments -->

                    </div>

                    <?php endwhile;?>

                </div>

            </div>
            <!--Content Side-->

            <!-- sidebar area -->
            <?php if ($layout == 'right'): ?>
                <?php if (is_active_sidebar($sidebar)) {
                                        ?>
                    <div class="sidebar-side col-lg-4 col-md-12 col-sm-12">
                        <aside class="sidebar">
                            <div class="sidebar-inner">
                                <?php dynamic_sidebar($sidebar); ?>
                            </div>
                        </aside>
                    </div>
                <?php
                                    } ?>
            <?php endif; ?>
        </div>
    </div>
</div>

<?php get_footer(); ?>