<commit_before><?php get_header(); ?>

<div id="content">

    <div id="inner-content" class="wrap cf">
    
        <div id="front-page-slider" class="wrap cf"> 
            //imports a slider from Metaslider plugin
            <?php echo do_shortcode("metaslider id=123")); //replace 123 with id for front-page slider
                     ?>
        </div>
        
       <div id="front-page-featured-content" class="featured-content"> //highlights featured content (sticky posts) for front page
            <?php // WP_Query - featured content
                     $args = array(
                         'posts_per_page' => '3',
                         'nopaging'       => true,
                         'tag'            => 'featured',
                     );
                     $custom_query = new WP_Query($args);
                     if ($custom_query->have_posts()) :
                     while($custom_query->have_posts()) :
                        $custom_query->the_post();
                            the_title();
                            the_thumbnail();
                    endwhile; else :
                     // not found
                     endif;
                     wp_reset_postdata(); ?>
        </div>
        
        <div id="front-page-content"> //includes regular page content for front-page and front-page sidebar
          <div id="front-page-article">  
                <?php // WP_Query - front-page content
                     $args = array(
                         'posts_per_page' => '1',
                         'nopaging'       => true,
                         'slug'            => 'home',
                     );
                     $custom_query = new WP_Query($args);
                     if ($custom_query->have_posts()) :<commit_msg>Commented out metaslider shortcake to attempt to solve php error. Likely error is being caused because metaslider not activated on test site. Once active, we will retest this section of code.<commit_after><?php get_header(); ?>

<div id="content">

    <div id="inner-content" class="wrap cf">
    
/* 
        // Uncomment this section to active slider.
        // <div id="front-page-slider" class="wrap cf"> 
        //  <?php echo do_shortcode("metaslider id=123")); //replace 123 with id for front-page slider
                     ?>
       // </div>
*/
        
       <div id="front-page-featured-content" class="featured-content"> //highlights featured content (sticky posts) for front page
            <?php // WP_Query - featured content
                     $args = array(
                         'posts_per_page' => '3',
                         'nopaging'       => true,
                         'tag'            => 'featured',
                     );
                     $custom_query = new WP_Query($args);
                     if ($custom_query->have_posts()) :
                     while($custom_query->have_posts()) :
                        $custom_query->the_post();
                            the_title();
                            the_thumbnail();
                    endwhile; else :
                     // not found
                     endif;
                     wp_reset_postdata(); ?>
        </div>
        
        <div id="front-page-content"> //includes regular page content for front-page and front-page sidebar
          <div id="front-page-article">  
                <?php // WP_Query - front-page content
                     $args = array(
                         'posts_per_page' => '1',
                         'nopaging'       => true,
                         'slug'            => 'home',
                     );
                     $custom_query = new WP_Query($args);
                     if ($custom_query->have_posts()) :
{'fraction_non_alphanumeric': 0.11397449521785334, 'fraction_numerical': 0.004250797024442083, 'mean_word_length': 1.1637931034482758, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '176257', 'n_tokens_mistral': 960, 'n_tokens_neox': 889, 'n_words': 228}