chore: inisialisasi repo tema edukarsa
This commit is contained in:
+37
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
|
||||
<header class="site-header bg-dark-blue">
|
||||
<div class="container header-container">
|
||||
<div class="site-branding">
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="logo-link">
|
||||
<?php
|
||||
$header_logo = get_option('edukarsa_header_logo');
|
||||
if ( !empty($header_logo) ) :
|
||||
?>
|
||||
<img src="<?php echo esc_url($header_logo); ?>" alt="<?php bloginfo( 'name' ); ?>" style="max-height: 55px; object-fit: contain;">
|
||||
<?php else : ?>
|
||||
<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<nav class="main-navigation">
|
||||
<?php
|
||||
wp_nav_menu( array(
|
||||
'theme_location' => 'menu-utama',
|
||||
'menu_id' => 'primary-menu',
|
||||
'fallback_cb' => false,
|
||||
'container' => false,
|
||||
'menu_class' => 'nav-menu-custom'
|
||||
) );
|
||||
?>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
Reference in New Issue
Block a user