Alternative
<?php
/**
* The Header template for ICR
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
?><!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) & !(IE 8)]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
<![endif]-->
<?php wp_head(); ?>
<script>
document.addEventListener("DOMContentLoaded", function () {
const tabs = document.querySelectorAll("#master-schedule-tabs .master-schedule-tabs-day");
const panels = document.querySelectorAll("#master-schedule-tab-panels .master-schedule-tabs-panel");
function showDay(day, clickedTab) {
tabs.forEach(function (tab) {
tab.classList.remove("active-day-tab", "current-day");
});
panels.forEach(function (panel) {
panel.classList.remove("active-day-panel");
panel.style.display = "none";
});
clickedTab.classList.add("active-day-tab");
const targetPanel = document.querySelector(".master-schedule-tabs-panel-" + day);
if (targetPanel) {
targetPanel.classList.add("active-day-panel");
targetPanel.style.display = "grid";
}
}
tabs.forEach(function (tab) {
tab.addEventListener("click", function (event) {
const heading = tab.querySelector(".master-schedule-tabs-headings");
if (!heading) return;
const day = heading.getAttribute("data-href");
if (!day) return;
event.preventDefault();
showDay(day, tab);
});
});
});
</script>
<script type="text/javascript">
function gettrack() {
fetch('https://ipswichcommunityradio.com/player/rds/song.php')
.then(function(response3){
// parse the fetch response
return response3.text();
})
.then(function(myJson3){
document.getElementById("np-tune").innerHTML = "Now Playing: " myJson3 ;
console.log(myJson3);
});
}
setInterval(gettrack, 30000); // The interval set to 5 seconds
function getshow() {
fetch('https://ipswichcommunityradio.com/player/rds/')
.then(function(response3){
// parse the fetch response
return response3.text();
})
.then(function(myJson3){
document.getElementById("oan").innerHTML = myJson3 ;
console.log(myJson3);
});
}
setInterval(getshow, 30000); // The interval set to 5 seconds
</script>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="page" class="hfeed site">
<header class="site-header">
<a href="https://www.ipswichcommunityradio.com/"><img class="logo" src="https://www.ipswichcommunityradio.com/wp-content/uploads/2026/04/logo_icr_upscaled_820x820.png" alt="ICR logo" /></a>
<div class="brand">
<h1 class="brand-title">Ipswich Community Radio</h1>
<p class="brand-subtitle">Your Local Community Radio Station</p>
</div>
<nav class="header-actions" aria-label="Header links">
<a class="social instagram" href="https://www.instagram.com/icrfm_1057/" target="_blank" aria-label="Instagram">◎</a>
<a class="social facebook" href="https://www.facebook.com/icr105.7fm" target="_blank" aria-label="Facebook">f</a>
<a class="listen-btn" href="#listen-live" onclick="window.open('https://www.ipswichcommunityradio.com/player','RadioPlayer','resizable,height=660,width=380'); return false;">Listen live</a>
</nav>
</header>
<div id="main" class="site-main">
Alternative