HEX
Server: LiteSpeed
System: Linux sh-woe014 4.18.0-553.146.1.el8_10.x86_64 #1 SMP Tue Jul 21 03:06:01 EDT 2026 x86_64
User: museumof (2332)
PHP: 8.3.31
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/museumof/domains/getyourbasketballon.com/public_html/wp-content/themes/faced/single.php
<?php

/**
 * The template for displaying all single posts
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package faced
 */

get_header();
global $faced_theme_options;
?>

<main class="site-main">
    <section class="single-section sec-spacing">
        <div class="container">
            <?php
            $sidebar_options = esc_attr($faced_theme_options['faced-sidebar-single-page']);
            global $post;
            $single_sidebar = get_post_meta($post->ID, 'faced_sidebar_layout', true);
            if (('default-sidebar' != $single_sidebar) && (!empty($single_sidebar))) {
                $sidebar_options = $single_sidebar;
            }
            $sidebar_class = '';
            if ($sidebar_options == 'left-sidebar') {
                $sidebar_class = 'row-inverse-md';
            } elseif ($sidebar_options == 'no-sidebar') {
                $sidebar_class = 'row-full-width';
            } elseif ($sidebar_options == 'middle-column') {
                $sidebar_class = 'row-center-col';
            }
            ?>
            <div class="row <?php echo esc_attr($sidebar_class); ?>">
                <div id="primary" class="col-1-1 col-md-2-3">

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

                    <?php
                    while (have_posts()) :
                        the_post();

                        get_template_part('template-parts/content-single', get_post_type());


                        the_post_navigation(
                            array(
                                'prev_text' => '<span class="nav-subtitle">' . esc_html__('Previous:', 'faced') . '</span> <span class="nav-title">%title</span>',
                                'next_text' => '<span class="nav-subtitle">' . esc_html__('Next:', 'faced') . '</span> <span class="nav-title">%title</span>',
                            )
                        );

                        // If comments are open or we have at least one comment, load up the comment template.
                        if (comments_open() || get_comments_number()) :
                            comments_template();
                        endif;

                    endwhile; // End of the loop.
                    ?>
                </div>
                <?php
                if (($sidebar_options == 'left-sidebar') || ($sidebar_options == 'right-sidebar')) {
                ?>
                    <div id="secondary" class="col-12 col-md-1-3 col-lg-1-3">
                        <?php get_sidebar(); ?>
                    </div>
                <?php
                }
                ?>
            </div>

        </div>
    </section>
</main><!-- #main -->

<?php
get_footer();