Menu Links Not Working
try re-saving your permalinks
dashboard – settings – permalinks
Samuel B, thanks I re-saved the permalinks, but the program still exists. The menu, for example ABOUT is linked to http://www.the6thfloor.com/about/. When someone clicks on ABOUT it goes to a blank page, as do all the other menus I originally had working before the upgrade. Any other ideas?
seems some problem in page.php in theme file as all other template is working fine. please post code of page.php.
Pankaj, here is the page.php code:
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ get_header(); ?> <div id="container"> <div id="content" role="main"> <?php /* Run the loop to output the page. * If you want to overload this in a child theme then include a file * called loop-page.php and that will be used instead. */ get_template_part( 'loop', 'page' ); ?> </div><!-- #content --> </div><!-- #container --> <?php get_sidebar(); ?> <?php get_footer(); ?>
page.php looks fine when we click on any page server is returning only
<!DOCTYPE html> <html dir="ltr" lang="en-US"> <head> <meta charset="UTF-8" /> <title>
check code after that in header.php which is not rendering properly
Not being familiar with php, what should I be looking for in the header.php or should I post that as well? I tried a quick upgrade to the Twenty Eleven Theme and had the same issue…
I can’t even view the pages when I go to the PAGES section on the Dashboard. I can edit and quick edit and trash, but view won’t open the page it, still ends up going to http://www.the6thfloor.com/about/ and it’s an empty page.
After further thought and fiddling with the web site. It’s not a link issue, but a page issue. The last thing I can think of is to remove the created page and add it as a new page to see if is able to be seen when the link is clicked on.
- The topic ‘Menu Links Not Working’ is closed to new replies.