Site icon Hip-Hop Website Design and Development

Header is just not displaying on sure pages of wordpress theme

First time making a wordpress theme. I can not seem to get my header to show on sure pages (archive.php). It shows completely effective on my entrance web page, and many others. Simply not within the archive or particular person posts. My code is under…

archive.php

<?php get_header();?>
<div class="container">

<h1><?php single_cat_title();?></h1>

<?php if (have_posts()) : whereas(have_posts()) : the_post();?>


<div class="card mb-4">
    <div class="card-body">
    <?php if (has_post_thumbnail()):?>

<img src="<?php the_post_thumbnail_url('smallest');?>" class="img-fluid">

<?php endif;?>
    <h3><?php the_title();?></h3>
    <?php the_excerpt();?>
    <a href="<?php the_permalink();?>" class="btn btn-success">Learn extra</a>
    </div>
    </div>
<?php endwhile; endif;?>

</div>
<?php get_footer();?>

front-page.php

<?php get_header();?>
<div class="container">

<h1><?php the_title();?></h1>

<?php if (have_posts()) : whereas(have_posts()) : the_post();?>

    <?php the_content();?>

<?php endwhile; endif;?>

</div>
<?php get_footer();?>

header.php

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
   
    <head>
            <?php wp_head(); ?>
            <div class="logo">
    <img class="logo" src="img/pmflogolandscapedemo_crop.png" width="100%" alt="">
</div>
    </head>

<physique <?php body_class(); ?>>
    



<header>

<div class="container">
    <?php wp_nav_menu (

        array(

            'theme_location' => 'top-menu',
            'menu_class' => 'navigation'

        )

    );
    ?>
</div>

</header>

Is there a special file within the theme that may be inflicting this? I can not seem to spot any points between this web page and different ones like my front-page.php, the place the header shows effective.

Thanks prematurely for any help, I am actually combating the fundamentals right here.