Naviation Menu Problem

  • Unknown's avatar

    I’m having a problem with my navigation menu on http://100kinvesting.com below is the header.php

    <?php
    /**
    * Header section for our theme
    *
    * @package WordPress
    * @subpackage Integral
    * @since Integral 1.0
    */
    ?>
    <?php global $integral; ?>
    <!DOCTYPE html>
    <!–[if IE 7]>
    <html class=”ie ie7″ <?php language_attributes(); ?>>
    <![endif]–>
    <!–[if IE 8]>
    <html class=”ie ie8″ <?php language_attributes(); ?>>
    <![endif]–>
    <!–[if !(IE 7) | !(IE 8) ]><!–>
    <html <?php language_attributes(); ?>>
    <!–<![endif]–>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta name=”viewport” content=”width=device-width, initial-scale=1″>
    <link rel=”profile” href=”http://gmpg.org/xfn/11″>
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
    <?php wp_head(); ?>
    <meta name=”msvalidate.01″ content=”1313365A421263E6BBCAF139A5115FCF” />
    <meta name=”google-site-verification” content=”cson69OTQjzbi90-GgyL4-J2le24CEDmhY6kZiy2qXs” />
    </head>

    <body <?php body_class(); ?>>

    <nav class=”navbar-default navigation_bar navbar-fixed-top” role=”navigation”>
    <div class=”container”>
    <div class=”navbar-header”>

    <span class=”sr-only”>Toggle navigation</span>
    <span class=”icon-bar”></span>
    <span class=”icon-bar”></span>
    <span class=”icon-bar”></span>
    </button>
    <?php

    $integral_logo = get_theme_mod(‘integral_logo’);

    if(isset($integral_logo) && $integral_logo != “”):

    echo ‘<h1 class=”site-title”>‘;

    echo ‘<img src=”‘.$integral_logo.'” alt=”‘.get_bloginfo(‘title’).'”>’;

    echo ‘</h1>’;

    else:

    echo ‘<h1 class=”site-title”>‘;

    if( file_exists(get_stylesheet_directory().”/images/logo.png”)):

    echo ‘<img src=”‘.get_stylesheet_directory_uri().’/images/logo.png” alt=”‘.get_bloginfo(‘title’).'”>’;

    else:

    echo ”.get_bloginfo(‘title’).”;

    endif;

    echo ‘</h1>’;

    endif;

    ?>
    </div>

    <?php
    wp_nav_menu( array(
    ‘menu’ => ‘primary’,
    ‘theme_location’ => ‘primary’,
    ‘depth’ => 3,
    ‘container’ => ‘div’,
    ‘container_class’ => ‘collapse navbar-collapse’,
    ‘container_id’ => ‘navbar-ex-collapse’,
    ‘menu_class’ => ‘nav navbar-nav navbar-right’,
    ‘fallback_cb’ => ‘wp_bootstrap_navwalker::fallback’,
    ‘walker’ => new wp_bootstrap_navwalker())
    );
    ?>

    </div>
    </nav>

  • The topic ‘Naviation Menu Problem’ is closed to new replies.