HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //old_home_backup/calibrecomputing.co.uk/public_html/wp-content/themes/brickyard/index.php
<?php
/**
 * The main template file.
 * @package BrickYard
 * @since BrickYard 1.0.0
*/
get_header(); ?>
<?php if (get_theme_mod('brickyard_display_latest_posts', brickyard_default_options('brickyard_display_latest_posts')) != 'Hide') { ?>
<div class="entry-content">
  <div class="entry-content-inner">   
    <section class="home-latest-posts">
      <h2 class="entry-headline"><span class="entry-headline-text"><?php if(get_theme_mod('brickyard_latest_posts_headline', brickyard_default_options('brickyard_latest_posts_headline')) == '') { ?><?php _e( 'Latest Posts' , 'brickyard' ); ?><?php } else { echo esc_attr(get_theme_mod('brickyard_latest_posts_headline', brickyard_default_options('brickyard_latest_posts_headline'))); } ?></span></h2>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php get_template_part( 'content', 'archives' ); ?>
<?php endwhile; endif; ?>
<?php brickyard_content_nav( 'nav-below' ); ?>
   </section> 
  </div>
</div>
<?php } ?> 
<?php if ( dynamic_sidebar( 'sidebar-6' ) ) : else : ?>
<?php endif; ?> 
</div> <!-- end of content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>