working: footer widgets, searchform, search results

This commit is contained in:
Adam Piontek 2021-07-10 17:13:24 -04:00
parent 630e153253
commit 0c9de62831
17 changed files with 234 additions and 121 deletions

View file

@ -6,7 +6,7 @@
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Freeshifter
* @package AdamPion73k
*/
namespace WP_73k;
@ -75,6 +75,12 @@ namespace WP_73k;
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<?php if (!is_page()) : ?>
<div class="d-none d-lg-flex ms-2">
<?php echo get_search_form(); ?>
</div>
<?php endif; ?>
<?php
if ( has_nav_menu( 'primary' ) ) {
wp_nav_menu([
@ -92,6 +98,12 @@ namespace WP_73k;
}
?>
<?php if (!is_page()) : ?>
<div class="d-flex d-lg-none mt-2">
<?php echo get_search_form(); ?>
</div>
<?php endif; ?>
</div>
</div>