fixing error
This commit is contained in:
parent
02661e7287
commit
37eba83c45
20
header.php
20
header.php
|
|
@ -16,7 +16,7 @@
|
|||
global $post;
|
||||
?>
|
||||
|
||||
<div id="page-<?php echo $post->post_name ?>" class="min-h-screen flex flex-col">
|
||||
<div id="page-<?php echo $post ? $post->post_name : 'home'; ?>" class="min-h-screen flex flex-col">
|
||||
|
||||
<?php do_action('tailpress_header'); ?>
|
||||
|
||||
|
|
@ -70,26 +70,8 @@
|
|||
</header> -->
|
||||
|
||||
<header id="primary-header">
|
||||
<!-- <div class="primary-menu-container bg-red-500">
|
||||
</div> -->
|
||||
<div class="primary-menu-container lg:flex lg:justify-between lg:items-center">
|
||||
<nav id="primary-menu-nav" class="flex justify-between items-center">
|
||||
<!-- <div class="website_logo">
|
||||
<?php if ($logo_gba) { ?>
|
||||
<a href="<?php echo home_url() ?>">
|
||||
<img class="logo" src=<?php echo $logo_gba ?> alt="">
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo get_bloginfo('url'); ?>" class="font-extrabold text-lg uppercase">
|
||||
<?php echo get_bloginfo('name'); ?>
|
||||
</a>
|
||||
|
||||
<p class="text-sm font-light text-gray-600">
|
||||
<?php echo get_bloginfo('description'); ?>
|
||||
</p>
|
||||
|
||||
<?php } ?>
|
||||
</div> -->
|
||||
<div class="website_logo">
|
||||
<?php if (has_custom_logo()) { ?>
|
||||
<?php the_custom_logo(); ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user