403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux infongwp-us3 4.4.400-icpu-108 #2 SMP Wed Feb 11 10:12:42 UTC 2026 x86_64
User : u102440577 ( 7172810)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/44/d845879113/htdocs/app750263/wp-content/themes/simplemag/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/44/d845879113/htdocs/app750263/wp-content/themes/simplemag/single.php
<?php 
/**
 * The Template for displaying all single blog posts
 *
 * @package SimpleMag
 * @since 	SimpleMag 1.0
**/

get_header();

global $ti_option;

$single_sidebar = get_post_meta( $post->ID, 'post_sidebar', true );
?>

    <main id="content" class="clearfix anmtd" role="main">

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

        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

            <?php
            // Post title full width
            single_title_full_width(); 
            ?>
            
            <?php
            // Post media full width
            if ( $paged == 1 || $page == 1 ) {
                single_media_full_width();
            }
            ?>
            
            <div class="wrapper">
                <div class="grids">
                    
            <?php 
            if ( ! $single_sidebar || $single_sidebar == "post_sidebar_on" ) : // Enable/Disable post sidebar ?>
                <div class="grid-8 column-1">
            <?php else : ?>
                <div class="grid-8 grid-centered content-without-sidebar">
            <?php endif; ?>

                    <?php 
                    // Post title above the content
                    single_title_above_content(); 
                    ?>

                    
                    <?php
                    // Post media above the content
                    if ( $paged == 1 || $page == 1 ) {
                        single_media_above_content();
                    }
                    ?>               

                    
                    <?php 
                    // Ad above the content
                    do_action('single_post_above_content_ad'); 
                    ?>               

                    
                    <?php
                    // Output manual excerpt if it's not empty
                    if ( $ti_option['single_manual_excerpt'] == true && has_excerpt() ) {
                        // If post has pagination using the <!--nextpage--> short tag, output the excerpt only on the first page
                        if ( $paged == 1 || $page == 1 ) {
                            echo '<div class="manual-excerpt">' . get_the_excerpt() . '</div>';
                        }
                    }
                    ?>

                    
                    <?php
                    // Post Rating output at the top
                    if ( $ti_option['single_rating_box'] == 'rating_top' ) {
                        if ( get_field( 'enable_rating' ) == true ) {
                            // Circles style
                            if ( $ti_option['single_rating_box_style'] == 'rating_circles' ) {
                                get_template_part( 'inc/single', 'rating' );
                                
                            // Bars Style
                            } else {
                                get_template_part( 'inc/single', 'rating-bars' );
                            }
                        } 
                    }
                    ?>

                    
                    <article class="clearfix single-box entry-content">        
                        <?php single_main_content(); ?>              
                    </article><!-- .entry-content -->
                    
                    
                    <?php
                    // Ad below the content
                    do_action( 'single_post_below_content_ad' );
                    ?>
                    
                    
                    <?php
                    // Post Rating output at the bottom
                    if ( $ti_option['single_rating_box'] == 'rating_bottom' ) {
                        if ( get_field( 'enable_rating' ) == true ) {
                            // Circles style
                            if ( $ti_option['single_rating_box_style'] == 'rating_circles' ) {
                                get_template_part( 'inc/single', 'rating' );
                                
                            // Bars Style
                            } else {
                                get_template_part( 'inc/single', 'rating-bars' );
                            }
                        }
                    }
                    ?> 
                    
                    
                    <?php
                    // Show/Hide tags list
                    if ( $ti_option['single_tags_list'] == 1 ) {
                        the_tags('<div class="single-box single-tags"><div class="tag-box"><div class="written-by tag-box-title">' . __( 'Tags from the story', 'themetext' ) . '</div>', ', ', '</div></div>');
                    } 
                    ?>
                    
                    
                    <?php                        
                    // Show/Hide share links
                    if ( $ti_option['single_social'] == 1 ) { ?>
                    
                    <?php
                    // Show Comment icon
                    if ( comments_open() ) :
                        $comment_icon = sanitize_html_class( 'show-comment-icon' );
                    endif;
                    ?>
                    
                    <div class="clearfix single-box single-social <?php echo isset ( $comment_icon ) ? $comment_icon : ''; ?>">
                    
                        <?php
                        // Hide Comment icon
                        if ( comments_open() ) : ?>
                        <a href="#comments" class="add-comment">
                            <span class="score-number">
                                <?php
                                // Comments Count
                                comments_number( '0', '1', '%' ); ?>
                            </span>
                        </a>
                        <?php endif; ?>
                        
                        <?php
                        // share icons
                        social_share_icons(); ?>
                    </div>
                    
                    <?php } ?>
                    

                    <?php
                    // Show/Hide author box
                    if ( $ti_option['single_author'] == 1 ) {
                        get_template_part( 'inc/author', 'box' );
                    }
                    ?>
                    

                    <?php
                    // Show/Hide related posts
                    if ( $ti_option['single_related'] == 1 ) {
                        get_template_part( 'inc/related', 'posts' );
                    }
                    ?>
                    
                    
                    <?php
                    // Show/Hide Previous Post / Next Post Navigation
                    if ( $ti_option['single_nav_arrows'] == 1 ) {
                       single_posts_nav();
                    }
                    ?>
                

                    <?php comments_template(); // Post Comments ?>        

                    
                <?php if ( ! $single_sidebar || $single_sidebar == "post_sidebar_on" ) : // Enable/Disable post sidebar ?>
                    
                    </div><!-- .grid-8 -->
                    <?php get_sidebar(); ?>
                        
                <?php endif; ?>
                        
                </div><!-- .grids -->
            </div><!-- .wrapper -->
                
        
            <?php single_schema_markup(); // Rich Snippets Markup ?>
                
                
        </div><!-- .post -->
            
    <?php endwhile; endif; ?>

    </main><!-- #content -->

    <?php
    // Show/Hide random posts slide dock
    if ( $ti_option['single_slide_dock'] == 1 ) :
        get_template_part( 'inc/slide', 'dock' );
    endif;
    ?>
    
<?php get_footer(); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit