File Editor
Directories:
.. (Back)
css
font-awesome
images
inc
js
languages
page-templates
Files:
404.php
archive.php
comments.php
content-page.php
content-single.php
content.php
footer.php
front-page.php
functions.php
header.php
index.php
navigation.php
no-results.php
page.php
readme.txt
search.php
searchform.php
sidebar-footer.php
sidebar-left.php
sidebar.php
single.php
style.css
Create New File
Create
Edit File: front-page.php
<?php /** * Front Page Section for our theme. * * @package ThemeGrill * @subpackage Himalayas * @since Himalayas 1.0 */ ?> <?php get_header(); ?> <div id="content" class="site-content"> <?php if( is_active_sidebar( 'himalayas_front_page_section' ) ) { if ( !dynamic_sidebar( 'himalayas_front_page_section' ) ): endif; } $himalayas_layout = himalayas_layout_class(); if( get_theme_mod( 'himalayas_hide_blog_front' , 0 ) != 1 ): ?> <main id="main" class="clearfix <?php echo $himalayas_layout; ?>"> <div class="tg-container"> <div id="primary" class="content-area"> <?php if ( have_posts() ): while ( have_posts() ) : the_post(); if ( is_front_page() && is_home() ) { get_template_part( 'content', '' ); } elseif ( is_front_page() ) { get_template_part( 'content', 'page' ); } endwhile; get_template_part( 'navigation', 'none' ); else: get_template_part( 'no-results', 'none' ); endif; ?> </div> <?php himalayas_sidebar_select(); ?> </div> </main> <?php endif; ?> </div> <?php get_footer(); ?>
Save Changes
Rename File
Rename