File Editor
Directories:
.. (Back)
css
fonts
images
inc
js
languages
page-templates
plugins
widgets
Files:
404.php
archive-employees.php
archive-services.php
archive.php
changelog.txt
comments.php
content-none.php
content-page.php
content-search.php
content-single.php
content.php
footer.php
functions.php
header.php
home.php
index.php
license.txt
page.php
readme.txt
search.php
sidebar-footer.php
sidebar.php
single.php
style.css
Create New File
Create
Edit File: single.php
<?php /** * The template for displaying all single posts. * * @package Sydney */ get_header(); ?> <?php if (get_theme_mod('fullwidth_single')) { //Check if the post needs to be full width $fullwidth = 'fullwidth'; } else { $fullwidth = ''; } ?> <div id="primary" class="content-area col-md-9 <?php echo $fullwidth; ?>"> <main id="main" class="post-wrap" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'single' ); ?> <?php sydney_post_navigation(); ?> <?php // 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; ?> <?php endwhile; // end of the loop. ?> </main><!-- #main --> </div><!-- #primary --> <?php if ( get_theme_mod('fullwidth_single', 0) != 1 ) { get_sidebar(); } ?> <?php get_footer(); ?>
Save Changes
Rename File
Rename