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: single.php
<?php /** * The template for displaying all single posts * * @package ThemeGrill * @subpackage Himalayas * @since Himalayas 1.0 */ ?> <?php get_header(); ?> <?php do_action( 'himalayas_before_body_content' ); $himalayas_layout = himalayas_layout_class(); ?> <div id="content" class="site-content"> <main id="main" class="clearfix <?php echo $himalayas_layout; ?>"> <div class="tg-container"> <div id="primary"> <div id="content-2"> <?php while ( have_posts() ) : the_post(); get_template_part( 'content', 'single' ); endwhile; ?> </div><!-- #content --> <?php get_template_part( 'navigation', 'single' ); do_action( 'himalayas_before_comments_template' ); // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) comments_template(); do_action ( 'himalayas_after_comments_template' ); ?> </div><!-- #primary --> <?php himalayas_sidebar_select(); ?> </div> </main> </div> <?php do_action( 'himalayas_after_body_content' ); ?> <?php get_footer(); ?>
Save Changes
Rename File
Rename