[resolved] WordPress Nav Bar is missing (5 posts)

  1. spastek
    Posted 3 years ago #

    I'm converting my regular site (www.spastek.com) into a blog. I've got most of it working thus far. However my issue is the nav bar usually at the top is blank (www.spastek.com/blog).

    By nav bar I mean the thing that normally let's you login and such. I'm assuming I'm missing some function in the header.php but I have yet to find out what it is I'm missing to make that display.

    Below is my header.php

    <!--[if IE 6]>
    <html id="ie6" <?php language_attributes(); ?>>
    <!--[if IE 7]>
    <html id="ie7" <?php language_attributes(); ?>>
    <!--[if IE 8]>
    <html id="ie8" <?php language_attributes(); ?>>
    <!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!-->
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php bloginfo( 'name' ); ?>
    <!--[if lt IE 9]>
    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    /* We add some JavaScript to pages with the comment form
    * to support sites with threaded comments (when in use).
    if ( is_singular() && get_option( 'thread_comments' ) )
    wp_enqueue_script( 'comment-reply' );

    /* Always have wp_head() just before the closing </head>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to add elements to <head> such
    * as styles, scripts, and meta tags.
    <div id="header">
    <div id="header-logo">
    <div id="header-logo2">
    <img src="<?php bloginfo('template_directory'); ?>/images/logo.png">
    <div id="header-nav">
    <div id="header-blog"><img src="<?php bloginfo('template_directory'); ?>/images/blog-nav.png"></div>
    <div id="header-stream"><img src="<?php bloginfo('template_directory'); ?>/images/stream-nav.png"></div>
    <div id="header-tmg"><img src="<?php bloginfo('template_directory'); ?>/images/tmg-nav.png"></div>
    <div id="header-recruit"><img src="<?php bloginfo('template_directory'); ?>/images/recruit-nav.png"></div>
    <div id="content-wrapper">

  2. spastek
    Posted 3 years ago #

    I've taken a screenshot to show the issue as it only happens when I'm actually logged in.


  3. ronangelo
    Posted 3 years ago #

    is this a custom theme you built from scratch?
    Did you put a <?php wp_footer(); ?> just before the </body> tag?

  4. spastek
    Posted 3 years ago #

    Yes, this is a custom one I'm building. First one I've built.

    Also no I haven't added that, give me a moment to try that.

  5. spastek
    Posted 3 years ago #

    Worked like a charm. Thanks a ton!

Topic Closed

This topic has been closed to new replies.

About this Topic