На всех страницах выводится и фтуер и хедер, а вот на archive.php выводится только хедер
Футер
<footer>
<div class="color">
<div class="container">
<div class="text">
<div class="container">
<div class="row">
<div class="col">
<div class="box1">
<img src="<?php bloginfo("template_directory"); ?>/assets/img/Новый лого 108 Путешествий_темнее.png">
<div class="e">
<a href="#" ><p><span class="bg"></span><span class="base"></span><span class="text"><?php the_field('knopka_footer', 'option')?></span></p></a>
</div>
</div>
</div>
<div class="col">
<div class="box" id="box">
<?php wp_nav_menu(array(
'theme_location' => 'footer_1',
'menu_class' => 'box',
'menu_id' => 'box',
)); ?>
</div>
</div>
<div class="col">
<div class="box" id="box2">
<?php wp_nav_menu(array(
'theme_location' => 'footer_2',
'menu_class' => 'box',
'menu_id' => 'box2',
)); ?>
</div>
</div>
<div class="col">
<div class="box" id="box2">
<?php wp_nav_menu(array(
'theme_location' => 'footer_3',
'menu_class' => 'box',
'menu_id' => 'box2',
)); ?>
</div>
</div>
</div>
</div>
</div>
<div class="text2">
<?php the_field('tekst_strochka_1', 'option')?> <a href="<?php the_field('otpuskkom_ssylka', 'option')?>"><?php the_field('otpuskkom', 'option')?></a> <?php the_field('tekst_strochka_2', 'option')?> <a href="<?php the_field('ssylka_svjatoslav', 'option')?>"><?php the_field('svjatoslav', 'option')?></a> <?php the_field('tekst_srochka_3', 'option')?>
</div>
</div>
</div>
<div class="line"></div>
<div class="cookie">
<p><?php the_field('kuki', 'option')?></p> <button><?php the_field('knopka_kuki', 'option')?></button>
</div>
</footer>
<?php wp_footer(); ?>
</body>
Archive.php
<?php
/**
* The template for displaying archive pages
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package travels
*/
get_header();
?>
<main id="primary" class="site-main">
<div class="bread">
<?php the_breadcrumb() ?>
</div>
<?php if ( have_posts() ) : ?>
<header class="page-header">
<?php
the_archive_title( '<h1 class="page-title">', '</h1>' );
the_archive_description( '<div class="archive-description">', '</div>' );
?>
</header><!-- .page-header -->
<?php
wp_tag_cloud( array(
'smallest' => 14,
'largest' => 22,
'unit' => 'px',
'number' => 45,
'format' => 'flat',
'separator' => "\n",
'orderby' => 'name',
'order' => 'ASC',
'exclude' => null,
'include' => null,
'link' => 'view',
'taxonomy' => 'post_tag',
'echo' => true,
'topic_count_text_callback' => 'default_topic_count_text',
) );
?>
<?php
/* Start the Loop */
while ( have_posts() ) :
the_post();
/*
* Include the Post-Type-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Type name) and that will be used instead.
*/
get_template_part( 'template-parts/content', get_post_type() );
endwhile;
the_posts_navigation();
else :
get_template_part( 'template-parts/content', 'none' );
endif;
?>
</main><!-- #main -->
<?php
get_footer();
?>