Mevcut kodlar şu şekilde
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="keywords" content="<?php echo (get_option('site_tag')) ?>">
<meta name="description" content="<?php echo (get_option('site_aciklamasi')) ?>">
<meta name="author" content="<?php echo (get_option('yazar_adi')) ?>">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport">
<link rel="icon" href="<?php bloginfo('template_url'); ?>/favicon.ico" type="image/x-icon">
<title><?php wp_title('«', true, 'right'); ?><?php bloginfo('name'); ?></title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.12/css/all.css" integrity="sha384-G0fIWCsCzJIMAVNQPfjH08cyYaUtMwjJwqiRKxxE/rx96Uroj1BtIQ6MLJuheaO9" crossorigin="anonymous">
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>"/>
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>"/>
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>"/>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"/>
<style>
.plane-container {position: absolute; top: 50%; left: 50%;}
.bg-light, #sidebar, #sidebar .sidebar-header, .btn-info, .dropdownzon-menu-zon {background-color:<?php echo (get_option('header-color')) ?> !important;}
.navbar-light .navbar-nav .nav-link, .navbar li a, .btn-info, #sidebar {color:<?php echo (get_option('header-yazi-color')) ?> !important; }
#sidebar ul li a:hover, .dropdownzon-item:focus, .dropdownzon-item:hover, .dropdownzon-item.active, .dropdownzon-item:active,.dropdownzon-item.disabled, .dropdownzon-item:disabled {background:<?php echo (get_option('header-hover-color')) ?> !important;color:<?php echo (get_option('header-hoveryazi-color')) ?> !important; }
.button-rengi {background:<?php echo (get_option('header-buton-color')) ?> !important; color:white !important; }
.navbar-brand img, .footer-logos img {max-width: <?php echo (get_option('logo_max_boyut')) ?> !important;}
</style>
<?php wp_head(); ?>
<?php setPostViews(get_the_ID()); ?>
</head>
<body style="width: 100%;">
<h2 style="position:absolute;visibility: hidden;"><?php bloginfo('name'); ?> </h2>
<!-- Pre loader -->
<div id="loader" class="loader">
<div class="plane-container">
<div class="l-s-2 blink">YÜKLENİYOR...</div>
</div>
</div>
<div id="app" class="paper-loading">
<!-- Header -->
<div class="wrapper">
<?php if (get_option('yan_menu_ac')=='true') { ?>
<!-- Sidebar -->
<nav id="sidebar">
<div class="sidebar-header">
<center>
<?php $custom_logo_id = get_theme_mod( 'custom_logo' );
$logo = wp_get_attachment_image_src( $custom_logo_id , 'full' );
if ( has_custom_logo() ) {
echo '<img class="img-fluid" alt="logo" src="'. esc_url( $logo[0] ) .'">';
} else {
echo '<h1>'. get_bloginfo( 'name' ) .'</h1>';
}?>
</center>
</div>
<?php
wp_nav_menu( array(
'menu' => 'menu2',
'theme_location' => 'menu2',
'depth' => 2,
'menu_class' => 'list-unstyled components',
'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
'walker' => new wp_bootstrap_navwalker())
);
?>
<?php if (get_option('yan_menu_buton')=='true') { ?>
<ul class="list-unstyled CTAs">
<li>
<a href="<?php echo (get_option('yan_menu_buton_link')) ?>" class=" button-rengi"><?php echo (get_option('yan_menu_buton_ad')) ?></a>
</li>
</ul>
<?php } ?>
<?php if (get_option('yan_menu_ara')=='true') { ?>
<div class="mats text-center">
<form role="search" method="get" action="<?php echo home_url( '/' ); ?>">
<input type="text" value="" name="s" class="search-field2" id="s" placeholder="Bir şeyler ara ... ">
<button type="submit"><i class="icon icon-search"></i>
</button>
</form>
</div>
<?php } ?>
<div class="sosyalmedya">
<?php if (get_option('tw_icon')=='true') { ?>
<span class="ish-col-xs-4 ish-twitter"><a href="<?php echo (get_option('tw_link')) ?>"><i class="fab fa-twitter"></i></a></span>
<?php } ?>
<?php if (get_option('insta_icon')=='true') { ?>
<span class="ish-col-xs-4 ish-instagram"><a href="<?php echo (get_option('insta_link')) ?>"><i class="fab fa-instagram"></i></a></span>
<?php } ?>
<?php if (get_option('fb_icon')=='true') { ?>
<span class="ish-col-xs-4 ish-facebook"><a href="<?php echo (get_option('fb_link')) ?>"><i class="fab fa-facebook-f"></i></a></span>
<?php } ?>
</div>
</nav>
<?php } ?>
<!-- Page Content -->
<div id="content">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<?php if (get_option('yan_menu_ac')=='true') { ?>
<button type="button" id="sidebarCollapse" class="btn btn-info">
<i class="fas fa-align-left"></i>
</button>
<?php } ?>
<a class="navbar-brand logos" href="<?php bloginfo('url'); ?>">
<?php $custom_logo_id = get_theme_mod( 'custom_logo' );
$logo = wp_get_attachment_image_src( $custom_logo_id , 'full' );
if ( has_custom_logo() ) {
echo '<img class="img-fluid" alt="logo" src="'. esc_url( $logo[0] ) .'">';
} else {
echo '<h1>'. get_bloginfo( 'name' ) .'</h1>';
}?>
</a>
<button class="btn btn-info d-inline-block d-lg-none ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<?php
wp_nav_menu( array(
'menu' => 'menuust',
'theme_location' => 'menuust',
'depth' => 2,
'menu_class' => 'nav navbar-nav ml-auto',
'fallback_cb' => 'wp_bootstrap_navwalker::fallback',
'walker' => new wp_bootstrap_navwalker())
);
?>
</div>
</div>
</nav>

iyi ki varsınız.
