ROOTPLOIT
Server: LiteSpeed
System: Linux in-mum-web1878.main-hosting.eu 5.14.0-570.21.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 11 07:22:35 EDT 2025 x86_64
User: u435929562 (435929562)
PHP: 7.4.33
Disabled: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //home/u435929562/domains/tec-edu.in/public_html/wp-content/themes/catch-kathmandu/home.php
<?php
/**
 * The Home template file.
 *
 * @package Catch Themes
 * @subpackage Catch Kathmandu
 * @since Catch Kathmandu 1.0
 */

get_header(); 

	global $post, $wp_query;

	// Getting data from Theme Options
    $options  = catchkathmandu_get_options();
    $defaults = catchkathmandu_get_defaults();
	$enable_post = $options['enable_posts_home'];

	// Front page displays in Reading Settings
	$page_on_front = get_option('page_on_front') ;
	$page_for_posts = get_option('page_for_posts');
	
	// Get Page ID outside Loop
	$page_id = $wp_query->get_queried_object_id();

	if ( !empty ( $enable_post ) || ( !empty( $page_id ) && $page_id == $page_for_posts ) ) { 
?>
    <div id="primary" class="content-area">
        <div id="content" class="site-content" role="main">
        
        <?php if ( have_posts() ) : ?>
        
            <?php catchkathmandu_content_nav( 'nav-above' ); ?>
        
            <?php /* Start the Loop */ ?>
            <?php while ( have_posts() ) : the_post(); ?>
        
                <?php
                    /* Include the Post-Format-specific template for the content.
                     * If you want to overload this in a child theme then include a file
                     * called content-___.php (where ___ is the Post Format name) and that will be used instead.
                     */
                    get_template_part( 'content', get_post_format() );
                ?>
        
            <?php endwhile; ?>
        
            <?php catchkathmandu_content_nav( 'nav-below' ); ?>
        
        <?php else : ?>
        
            <?php get_template_part( 'no-results', 'index' ); ?>
        
        <?php endif; ?>
        
        </div><!-- #content .site-content -->
        
    </div><!-- #primary .content-area -->

	<?php
	get_sidebar();
}
get_footer(); ?>