🚀 Hostinger Optimized
🖥️ Server: LiteSpeed
💻 System: Linux in-mum-web1643.main-hosting.eu 5.14.0-687.46.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Sep 11 09:03:19 EDT 2026 x86_64
👤 User: u621169360 (621169360)
🐘 PHP: 8.2.33
🚫 Disabled: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail

💻 Terminal

📁 /home/u621169360/domains/agriexpertt.com/public_html
$

📄 blog.php

📁 Path: /home/u621169360/domains/elitecarz.co.in/public_html/wp-content/themes/indiawebdesigns/blog.php
📊 Size: 2.62 KB
🔒 Perm: 0644
📝 MIME: text/x-php
<?php
/**
 * The blog template file
 *
 * @link http://codex.wordpress.org/Template_Hierarchy
 */

$taxipark_sidebar_hidden = false;
if ( function_exists( 'fw_get_db_settings_option' ) ) {

	$taxipark_layout = fw_get_db_post_option( $wp_query->get_queried_object_id(), 'blog-layout' );
	if ($taxipark_layout == 'three-cols') {

		$taxipark_sidebar_hidden = true;
	}
}

get_header(); ?>

<div class="inner-page">
	<?php if ( !$taxipark_sidebar_hidden ): ?><div class="row"><?php endif; ?>
        <div class="<?php if ( !$taxipark_sidebar_hidden ): ?>col-lg-8 col-md-8<?php endif; ?>">
            <div class="blog">
				<?php

				if ( get_query_var( 'paged' ) ) {

					$paged = get_query_var( 'paged' );

				} elseif ( get_query_var( 'page' ) ) {

					$paged = get_query_var( 'page' );
					
				} else {

					$paged = 1;
				}

				if (isset($_GET['s'])) {

					$wp_query = new WP_Query( array(
						's'		=> esc_sql( $_GET['s'] ),
						'paged' => (int) $paged,
					) );
				}
					else {

					$wp_query = new WP_Query( array(
						'post_type' => 'post',
						'paged' => (int) $paged,
					) );
				}

				if ( $wp_query->have_posts() ) :
					// Start the Loop.
					while ( $wp_query->have_posts() ) : the_post();

						/*
						 * Include the post format-specific template for the content. If you want to
						 * use this in a child theme, then include a file called called content-___.php
						 * (where ___ is the post format) and that will be used instead.
						 */

						// Showing classic blog without framework
						if ( !function_exists( 'fw_get_db_settings_option' ) ) {

							get_template_part( 'content', $wp_query->get_post_format() );
						}
							else {

							if ($taxipark_layout == 'three-cols') {

								get_template_part( 'content-three-cols', $wp_query->get_post_format() );
							}
								else
							if ($taxipark_layout == 'two-cols') {

								get_template_part( 'content-two-cols', $wp_query->get_post_format() );
							}
								else {

								get_template_part( 'content', $wp_query->get_post_format() );
							}
						}

						endwhile;

					else :
						// If no content, include the "No posts found" template.
						get_template_part( 'content', 'none' );

					endif;
				?>
				<?php
				if ( have_posts() ) {

					fw_theme_paging_nav();
				}
	            ?>
	        </div>
	    </div>
	    <?php if ( !$taxipark_sidebar_hidden ) :?>
            <?php
            	get_sidebar();
            ?>
		<?php endif; ?>
	<?php if ( !$taxipark_sidebar_hidden ): ?></div><?php endif; ?>
</div>
<?php

get_footer();
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨