/    Sign up×
Community /Pin to ProfileBookmark

WordPress Menu Navigation Issue

My web site, using WP to design, is: [url]http://100kinvesting.com/[/url]
I have Google XML Sitemaps plugin, and Yoast SEO plugin, but have the Sitemap part disabled.
This is the header.php info:
<?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”>
<button type=”button” class=”navbar-toggle” data-toggle=”collapse” data-target=”#navbar-ex-collapse”>
<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”><a href=”‘.esc_url( home_url( ‘/’ ) ).'” class=”navbar-brand”>’;
echo ‘<img src=”‘.$integral_logo.'” alt=”‘.get_bloginfo(‘title’).'”>’;
echo ‘</a></h1>’;
else:
echo ‘<h1 class=”site-title”><a href=”‘.esc_url( home_url( ‘/’ ) ).'” title=”‘.get_bloginfo(‘title’).'” class=”navbar-brand”>’;
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 ‘</a></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>

What do I need to edit, to fix the navigation?

Only the home, about, finance options, cash for notes, lease options, and contact us are supposed to show. The rest of it: the 3 financial solutions, AR, Business financing, and alternative financing, aren’t supposed to be part of the main navigation.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@oweaponxauthorSep 27.2016 — What it means is those prior links should not appear in the navigation menu.

What the solution is, is that I needed to uncheck "add new pages/posts to navigation menu." Then, from the navigation menu, delete these junk pages, that just looped to the main page.
×

Success!

Help @oweaponx spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...