diff --git a/functions.php b/functions.php index 56f6089..00822c5 100644 --- a/functions.php +++ b/functions.php @@ -50,6 +50,11 @@ add_action('template_redirect', function () { } }); + +add_action('init', function () { + register_nav_menu('header-menu', __('Header Menu')); +}); + // Register Custom Post Type add_action('init', function () { diff --git a/header.php b/header.php index 0611e05..f54fc5c 100644 --- a/header.php +++ b/header.php @@ -5,22 +5,22 @@ - G-Archive - Graal's player-made content archive + <?php echo get_bloginfo('name'); ?> - <?php echo get_bloginfo('description'); ?> >
- ID !== 0): ?> + ID !== 0) : ?> user_login ?> Logout - + Login
@@ -53,14 +53,23 @@
diff --git a/style.css b/style.css index 33f38e4..fa1098e 100644 --- a/style.css +++ b/style.css @@ -52,12 +52,13 @@ a:hover { color: #111; } -.gar-header-nav { +.gar-header-nav ul { margin: 20px 0; } -.gar-header-nav li { +.gar-header-nav ul li { margin: 0 10px; + display: inline-block; } #postGrid .gar-post-box { @@ -192,7 +193,7 @@ pre { .gar-userbox { position: absolute; - right: 10%; + right: 8%; padding: 5px 15px; background-color: #111; top: 0;