working: footer widgets, searchform, search results
This commit is contained in:
parent
630e153253
commit
0c9de62831
17 changed files with 234 additions and 121 deletions
14
header.php
14
header.php
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue