Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
firepot
/
wp-content
/
themes
:
front-page.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * The template for displaying archive pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package Pure_Portfolio */ get_header(); if ( is_front_page() && is_home() ) { require get_template_directory() . '/home.php'; } elseif ( is_front_page() && ! is_home() ) { ?> <main id="primary" class="site-main"> <?php require get_template_directory() . '/sections/sections.php'; ?> <?php pure_portfolio_homepage_sections(); ?> </main><!-- #main --> <?php } if ( true === get_theme_mod( 'pure_portfolio_enable_frontpage_content', false ) ) { ?> <div id="content" class="site-content ascendoor-wrapper"> <div class="ascendoor-page"> <main id="primary" class="site-main"> <?php while ( have_posts() ) : the_post(); get_template_part( 'template-parts/content', 'page' ); // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif; endwhile; // End of the loop. ?> <div class="hello hi"></div> </main><!-- #main --> <?php if ( pure_portfolio_is_sidebar_enabled() ) { get_sidebar(); } ?> </div> </div> <?php } get_footer();