Updated header.php

This commit is contained in:
Kenneth John Odle 2021-08-01 13:56:00 -04:00
parent 78d522b6e1
commit 1cd6409ae7

View File

@ -4,7 +4,7 @@
*
* Displays all of the <head> section and everything up till <div id="container">
*
* @package Atticus Finch
* @package Portage
*/
?>
<!DOCTYPE html>
@ -16,14 +16,14 @@
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<!-- Commented out on 2021.06.27 -->
<?php // atticus_finch_custom_css_head(); ?>
<?php // portage_custom_css_head(); ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php do_action( 'atticus_finch_before_header' ); ?>
<?php do_action( 'portage_before_header' ); ?>
<header>
@ -41,7 +41,7 @@
<div class="clear"></div>
</nav>
<?php do_action( 'atticus_finch_after_top_menu' ); ?>
<?php do_action( 'portage_after_top_menu' ); ?>
<div id="header" style="background-image: url('<?php header_image(); ?>');">
@ -66,10 +66,10 @@
<div class="clear"></div>
</div><!-- end #site-desc -->
<?php do_action( 'atticus_finch_before_social_media'); ?>
<?php do_action( 'portage_before_social_media'); ?>
<div id="social-media-menu" class="social-navigation">
<?php atticus_finch_social_media_display(); ?>
<?php portage_social_media_display(); ?>
<div class="clear"></div>
</div><!-- end #social-media-menu -->
@ -77,14 +77,14 @@
<div class="clear"></div>
<?php do_action( 'atticus_finch_before_primary_menu' ); ?>
<?php do_action( 'portage_before_primary_menu' ); ?>
<!-- Commented out on 2021.06.27 -->
<?php // $walker = new Atticus_Finch_Menu_With_Description; ?>
<?php // $walker = new portage_Menu_With_Description; ?>
<nav id="primary-menu">
<?php
if ( get_theme_mod( 'atticus_finch_main_menu_desc' ) == 1 ) {
if ( get_theme_mod( 'portage_main_menu_desc' ) == 1 ) {
$array = array(
'theme_location' => 'primary-menu',
'fallback_cb' => '',
@ -115,8 +115,8 @@
</header>
<?php do_action( 'atticus_finch_after_header' ); ?>
<?php do_action( 'portage_after_header' ); ?>
<div id="container"><!-- closing tag is in footer.php -->
<?php do_action( 'atticus_finch_container_top' ); ?>
<?php do_action( 'portage_container_top' ); ?>