Site icon Hip-Hop Website Design and Development

Header not correctly displaying on archive.php

I’m making a fundamental wordpress theme for the primary time and I’ve lastly gotten the whole lot to largely play properly. The header shows completely wonderful on each web page besides the archive web page (the place weblog posts are to go). I’ve hooked up the code beneath, does anyone see a purpose why it may be messing up?

It is primarily the header picture merely not showing; navigation is okay, the whole lot works because it ought to. There simply is not any picture for some purpose. It additionally would not present up on the take a look at posts themselves.

archive.php

<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();?> ```


Is there another code that will enable you all assist me?

Thanks a ton prematurely!