HEX
Server: Apache
System: Linux hp3-wp-1011494.hostingp3.local 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64
User: csh2729955 (2121743)
PHP: 7.4.33
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: /home/storage/162/3480162/user/htdocs/wp-content/themes/infinity-mag/front-page.php
<?php
/**
 * The template for displaying home page.
 * @package infinity-mag
 */

get_header();
if ( 'posts' == get_option( 'show_on_front' ) ) {
    include( get_home_template() );
    } else {

	/**
	 * infinity_mag_action_sidebar_section hook
	 * @since Infinity Mag 0.0.1
	 *
	 * @hooked infinity_mag_action_sidebar_section -  20
	 * @sub_hooked infinity_mag_action_sidebar_section -  20
	 */
    do_action('infinity_mag_action_sidebar_section');
    
		if (infinity_mag_get_option('home_page_content_status') == 1) {
			?>
			<section class="section-block recent-blog">
				<div class="col-left">
				<?php
				while ( have_posts() ) : the_post();
					the_title('<h2 class="widget-title">', '</h2>');
					get_template_part( 'template-parts/content', 'page' );

				endwhile; // End of the loop.
				?>
				</div><!-- #primary -->
				<div class="col-right">
					<?php get_sidebar(); ?>
				</div>
			</section>
	<?php }
	}
get_footer();