?> </div> <?php if (is_home() || is_page() || is_category() || is_tag()) { ?> <div class="site-published-separator"></div> <?php } ?> <?php // Show navigation menu on everything except Single pages, unless Show Primary Nav Menu on Single Pages is enabled ?> <?php if (!is_single() || independent_publisher_show_nav_on_single()) { ?> <nav role="navigation" class="site-navigation main-navigation"> <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e('Skip to content', 'independent-publisher'); ?> "><?php _e('Skip to content', 'independent-publisher'); ?> </a> <?php // If this is a Single Post and we have a menu assigned to the "Single Posts Menu", show that ?> <?php if (is_single() && has_nav_menu('single')) {
?> <?php } ?> </div> <?php // Show navigation menu on everything except Single pages, unless Show Primary Nav Menu on Single Pages is enabled ?> <?php if (!(is_single() || $pageBodyID == 'newsletter') || independent_publisher_show_nav_on_single()) { ?> <nav role="navigation" class="site-navigation main-navigation"> <a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e('Skip to content', 'independent-publisher'); ?> "><?php _e('Skip to content', 'independent-publisher'); ?> </a> <?php // If this is a Single Post and we have a menu assigned to the "Single Posts Menu", show that ?> <?php if ((is_single() || $pageBodyID == 'newsletter') && has_nav_menu('single')) {