fuzzles128 Posted May 10, 2013 Share Posted May 10, 2013 Hi, I'm having troubles with my PHP Navigation for a website that I'm creating using a WP CMS. The PHP Navigation Code is Generating the Pages that I haven't added to my Website yet. Even though these pages did originally exist in my HTML. Any help would be greatly appreciated. The Navigation is also linking to a page known as /history1 on my website which doesn't exist within my CMS either.Any Help is greatly appreciated.Thanks! header.php To inspect the site yourself you can see blueribbonchocolate.net footer.php front-page.php index.php style.css Quote Link to comment https://forums.phpfreaks.com/topic/277867-php-wordpress-problems/ Share on other sites More sharing options...
managerstats Posted May 10, 2013 Share Posted May 10, 2013 When you are logged into your site, look under Appearance > Menus. You may be fetching the Nav from there. Which is essentially the best place to control your sites navigation as opposed to your header.php file Quote Link to comment https://forums.phpfreaks.com/topic/277867-php-wordpress-problems/#findComment-1429497 Share on other sites More sharing options...
fuzzles128 Posted May 16, 2013 Author Share Posted May 16, 2013 Hi, There is isn't a menu option in WordPress under Appearance. Any other suggestions? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/277867-php-wordpress-problems/#findComment-1430347 Share on other sites More sharing options...
QuickOldCar Posted May 16, 2013 Share Posted May 16, 2013 (edited) in your footer.php file change the href links to go to your same urls as your top navigation does, I'll include your home_url() to make sure it will always go there <a href="<?php echo home_url(); ?>"><img src="<?php bloginfo( 'template_directory' ); ?>/_/img/menu_home.png"/></a> <a href="<?php echo home_url(); ?>/history"><img src="<?php bloginfo( 'template_directory' ); ?>/_/img/menu_history.png"/></a> <a href="<?php echo home_url(); ?>/benefits"><img src="<?php bloginfo( 'template_directory' ); ?>/_/img/menu_benefits.png"/></a> <a href="<?php echo home_url(); ?>/products"><img src="<?php bloginfo( 'template_directory' ); ?>/_/img/menu_products.png"/></a> <a href="<?php echo home_url(); ?>/contact"><img src="<?php bloginfo( 'template_directory' ); ?>/_/img/menu_contact.png"/></a> Edited May 16, 2013 by QuickOldCar Quote Link to comment https://forums.phpfreaks.com/topic/277867-php-wordpress-problems/#findComment-1430376 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.