403Webshell
Server IP : 213.136.93.164  /  Your IP : 216.73.216.20
Web Server : Apache
System : Linux m14200.contabo.net 5.14.0-611.54.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 6 18:03:03 EDT 2026 x86_64
User : ki692510 ( 1047)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ki692510/public_html/wp-content/themes/bifrost/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ki692510/public_html/wp-content/themes/bifrost/single.php
<?php
/**
 * Blog Single
 */
get_header();

get_template_part('templates/hero/standard');

/**
 * Sidebar
 */
$bifrost_row_class = 'row';
$bifrost_posts_class = 'col-lg-9';
$bifrost_sidebar_class = 'col-lg-3';

if (bifrost_inherit_option('blog_post_sidebar', 'blog_post_sidebar', '2') == '1') {
    $bifrost_row_class .= ' flex-row-reverse';
} elseif (bifrost_inherit_option('blog_post_sidebar', 'blog_post_sidebar', '2') == '3') {
    $bifrost_posts_class = 'col-12';
    $bifrost_sidebar_class = 'h-display-none';
}

/**
 * Prevent Empty Sidebar
 */
if (!is_active_sidebar('main-sidebar')) {
    $bifrost_posts_class = 'col-12';
    $bifrost_sidebar_class = 'h-display-none';
}

/**
 * Meta
 */
set_query_var('neuron_posts_style_meta_icon', 'no');

if (have_posts()) : while (have_posts()) : the_post();

/**
 * Breadcrumb
 */
$bifrost_page_breadcrumb = bifrost_inherit_option('general_breadcrumb', 'breadcrumbs_post_visibility', '2');
bifrost_breadcrumbs($bifrost_page_breadcrumb, get_theme_mod('breadcrumbs_separator'));

do_action('bifrost_open_container');
?>
<div class="p-blog-single h-medium-top-padding h-large-bottom-padding">
    <div class="<?php echo esc_attr($bifrost_row_class) ?>">
        <div class="<?php echo esc_attr($bifrost_posts_class) ?>">
            <div class="p-blog-single__wrapper o-blog-post">
                <?php if (get_field('blog_post_thumbnail') == '4' && !empty(get_field('blog_post_custom_thumbnail')['url'])) : ?>
                    <div class="o-blog-post__thumbnail">
                        <div class="h-calculated-image" style="<?php echo esc_attr(bifrost_image_calculation(get_field('blog_post_custom_thumbnail')['id'])) ?>">
                            <img src="<?php echo esc_url(get_field('blog_post_custom_thumbnail')['url']) ?>">
                        </div>
                    </div>
                <?php elseif (has_post_thumbnail() && bifrost_inherit_option('blog_post_thumbnail', 'blog_post_thumbnail', '1') == '1') : ?> 
                    <div class="o-blog-post__thumbnail">
                        <div class="h-calculated-image" style="<?php echo esc_attr(bifrost_thumbnail_calculation()) ?>">
                            <?php the_post_thumbnail() ?>
                        </div>
                    </div>
                <?php endif; ?>
                <div class="o-blog-post__content">
                    <?php 
                    /**
                     * Post Title
                     */
                    if (bifrost_inherit_option('general_title', 'general_title_post', '1') == '1') {
                        the_title('<h2 class="o-blog-post__title">', '</h2>');
                    }
                    ?>
                    <div class="o-blog-post__meta">
                        <?php get_template_part('templates/blog/extra/date') ?>
                        <?php get_template_part('templates/taxonomy/categories') ?>
                    </div>
                    <div class="p-blog-single__content h-clearfix">
                        <?php the_content() ?>
                    </div>
                    <?php wp_link_pages(array('before' => '<div class="o-pagination o-pagination--pages"><span class="o-pagination__title">' . esc_attr__( 'Pages:', 'bifrost' ) . '</span><div class="o-pagination--pages__numbers">', 'after' => '</div></div>', 'link_before' => '<span>', 'link_after' => '</span>', 'next_or_number' => 'next_and_number', 'separator' => '', 'nextpagelink' => esc_attr__('&raquo;', 'bifrost'), 'previouspagelink' => esc_attr__('&laquo;', 'bifrost'), 'pagelink' => '%')); ?>
                    <?php paginate_links() ?>
                </div>
                <?php get_template_part('templates/taxonomy/tags-cloud') ?>
                <?php get_template_part('templates/extra/author-box') ?>
                <?php 
                /**
                 * Related
                 */
                $bifrost_related_template = get_field('related_posts') == '2' ? get_field('related_posts_template') : get_theme_mod('blog_post_related_template');

                if (bifrost_inherit_option('related_posts', 'blog_post_related', '2') == '1' && $bifrost_related_template) {
                    echo bifrost_get_custom_template($bifrost_related_template);
                }
                ?>
                <?php if (bifrost_inherit_option('blog_post_share', 'blog_post_share', '2') == '1') : ?>
                    <div class="p-blog-single__social-media">
                        <?php get_template_part('templates/extra/share') ?>
                    </div>
                <?php endif; ?>
            </div>
            <?php comments_template() ?>

        </div>
        <?php if (bifrost_inherit_option('blog_post_sidebar', 'blog_post_sidebar', '2') != '3' && is_active_sidebar('main-sidebar')) : ?>
            <div class="<?php echo esc_attr($bifrost_sidebar_class) ?>">
                <div class="o-main-sidebar">
                    <?php get_sidebar() ?>
                </div>
            </div>
        <?php endif; ?>
    </div>
</div>
<?php 
do_action('bifrost_close_container');

get_template_part('templates/single/navigation');

endwhile; endif;

get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit