<commit_before><?php
get_header();

$show_special = IGV_get_option('_igv_show_special');

$home_radio = IGV_get_option('_igv_home_radio');

$fundraiser_expiration = IGV_get_option('_igv_fundraiser_end_time');

$home_featured = IGV_get_option('_igv_front_feature');

$focus = IGV_get_option('_igv_home_focus');
$focus_at_top = IGV_get_option('_igv_home_focus_at_top');

$show_imo = IGV_get_option('_igv_show_imo');

?>

<!-- main content -->
<main id="main-content">
<?php
  if ($show_special) {

    get_template_part('partials/home-special');

  } else if ($fundraiser_expiration > time()) {

    get_template_part('partials/home-fundraiser');

  } else if (!empty($home_featured)) {
    $home_featured_ids = explode(', ', $home_featured);
    $post_id = $home_featured_ids[0];

    // Check for alt_thumb first
    $thumb_id = get_post_meta($post_id, '_cmb_alt_thumb_id', true);

    // If alt_thumb is empty, fallback to default thumb
    if (empty($thumb_id)) {
      $thumb_id = get_post_thumbnail_id($post_id);
    }
?>
  <section id="home-featured" class="container margin-bottom-large mobile-margin-bottom-basic">
    <div class="row">
       <div class="col col24 margin-bottom-small">
        <h4><a href="<?php echo get_permalink($post_id); ?>">Featured</a></h4>
      </div>
    </div>
    <div class="row">
      <a href="<?php echo get_permalink($post_id); ?>">
        <article id="featured-post" class="col col24">
          <?php
            echo wp_get_attachment_image($thumb_id, 'col24-featured-crop', null, array('class' => 'featured-post-thumbnail only-desktop'));
            echo wp_get_attachment_image($thumb_id, 'col24-mobile-featured-crop', null, array('class' => 'featured-post-thumbnail only-mobile'));
          ?>
          <h1 id="featured-post-title" class="text-align-center font-color-white text-shadow-light-gray u-flex-center js-fix-widows"><?php echo get_the_title($post_id); ?></h1>
        </article>
      </a>
    </div>
  </section>
<?php
  }

  if ($home_radio) {
    get_template_part('partials/radio-player');
  }

  if ($focus && $focus_at_top) {<commit_msg>Hotfix: Radio player front page position<commit_after><?php
get_header();

$show_special = IGV_get_option('_igv_show_special');

$home_radio = IGV_get_option('_igv_home_radio');

$fundraiser_expiration = IGV_get_option('_igv_fundraiser_end_time');

$home_featured = IGV_get_option('_igv_front_feature');

$focus = IGV_get_option('_igv_home_focus');
$focus_at_top = IGV_get_option('_igv_home_focus_at_top');

$show_imo = IGV_get_option('_igv_show_imo');

?>

<!-- main content -->
<main id="main-content">
<?php
  if ($home_radio) {
    get_template_part('partials/radio-player');
  }

  if ($show_special) {

    get_template_part('partials/home-special');

  } else if ($fundraiser_expiration > time()) {

    get_template_part('partials/home-fundraiser');

  } else if (!empty($home_featured)) {
    $home_featured_ids = explode(', ', $home_featured);
    $post_id = $home_featured_ids[0];

    // Check for alt_thumb first
    $thumb_id = get_post_meta($post_id, '_cmb_alt_thumb_id', true);

    // If alt_thumb is empty, fallback to default thumb
    if (empty($thumb_id)) {
      $thumb_id = get_post_thumbnail_id($post_id);
    }
?>
  <section id="home-featured" class="container margin-bottom-large mobile-margin-bottom-basic">
    <div class="row">
       <div class="col col24 margin-bottom-small">
        <h4><a href="<?php echo get_permalink($post_id); ?>">Featured</a></h4>
      </div>
    </div>
    <div class="row">
      <a href="<?php echo get_permalink($post_id); ?>">
        <article id="featured-post" class="col col24">
          <?php
            echo wp_get_attachment_image($thumb_id, 'col24-featured-crop', null, array('class' => 'featured-post-thumbnail only-desktop'));
            echo wp_get_attachment_image($thumb_id, 'col24-mobile-featured-crop', null, array('class' => 'featured-post-thumbnail only-mobile'));
          ?>
          <h1 id="featured-post-title" class="text-align-center font-color-white text-shadow-light-gray u-flex-center js-fix-widows"><?php echo get_the_title($post_id); ?></h1>
        </article>
      </a>
    </div>
  </section>
<?php
  }

  if ($focus && $focus_at_top) {
{'fraction_non_alphanumeric': 0.164897381457891, 'fraction_numerical': 0.006133522057088936, 'mean_word_length': 4.120772946859903, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 61, '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': '176258', 'n_tokens_mistral': 1564, 'n_tokens_neox': 1525, 'n_words': 247}