<?php while (have_posts()) { the_post(); ?> <div class="row"> <div class="span12 main-content"> <?php if (current_page() == 'support') { $message = get_current_network_status(); if ($message != "") { echo "<div class='network-status'>{$message}</div>"; } } ?> <?php the_content(); ?> <?php if (current_page() == 'company/careers/careers') { ?> <?php get_template_part('templates/pods', 'career-listing'); ?> <?php } ?> <?php
<?php if (network_status_visible()) { $problem_only = true; $message = get_current_network_status($problem_only); if ($message != "") { echo "<div class='network-status-problem'>{$message}</div>"; } }