• I have the following code in home.php that produces the following outcome: https://triplebit.com/wp3.5.1
    Problem is that menu items like About, Contact Us do exist in reality but I can’t see the menu item in the dashboard.
    More info:
    1. using other themes I do see it.
    2. I installed and activated Link Manager

    Can someone help please?
    Regards
    Triplebit

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <title>OpenSource Online Magazine</title>
    
    <style type="text/css" media="screen"> @import url("<?php bloginfo('stylesheet_url'); ?>");</style>
    
    </head>
    
    <body>
    <a></a><!--anchor for top-->
    <div id="container"><!--container goes here-->
    <div id="header">
    <h1>OpenSource Online Magazine</h1>
    <p><em>Using Open Source for work and play</em></p>
    <div id="date"><?php echo date("F Y"); ?></div>
    </div><!--//header-->
    
    <!-- Begin #container2 this holds the content and sidebars-->
    <div id="container2">
    
    <!-- Begin #container3 keeps the left col and body positioned-->
    <div id="container3">
    <!-- Begin #content -->
    <div id="content">
    <h2 class="thisMonth">This Month</h2>
    <!--//start content loop-->
    <?php if (have_posts()) : ?>
    	<?php while (have_posts()) : the_post(); ?>
    		<div class="post" id="post-<?php the_ID(); ?>">
    			<h2><a>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    			<p class="authorName">by <?php the_author_firstname(); ?> <?php the_author_lastname(); ?> for <?php the_category(', ') ?><em><?php the_tags(); ?></em></p>
    			<div class="entry">
    				<?php the_content('Read the rest of this entry ?'); ?>
    			</div>
    
    			<div class="comments"> <div class='commentIcon'><?php
    			//comments_number();
    			comments_number('No Comments','<span class="bigNum">1</span> response','<span class="bigNum">%</span> Comments'); ?></div> <?
    			comments_popup_link('Add Your Thoughts', 'Add Your Thoughts', 'Add Your Thoughts'); ?></div>
    
    		</div>
    	<?php endwhile; ?>
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('? Previous Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Next Entries ?') ?></div>
    		</div>
    	<?php else : ?>
    		<h2 class="center">Not Found</h2>
    		<p class="center">Sorry, but you are looking for something that isn't here.</p>
    		<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    	<?php endif; ?>
    <!--//end content loop-->
    
    </div><!-- //content -->
    
    <!-- #left sidebar -->
    <div id="sidebarLT">
    
    <?php get_sidebar();?>
    
    </div><!--//sidebarLT  -->
    </div><!--//container3-->
    
    <!-- #right sidebar -->
    <div id="sidebarRT">
    
    <?php include(TEMPLATEPATH . '/sidebar2.php'); ?>
    
    </div><!--//sidebarRT --> 
    
    <div id="pushbottom"> </div><!--//this div will span across the 3 divs above it making sure the footer stays at the bottom of the longest column-->
    
    </div><!--//container2-->
    
    <div id="top_navlist">
    <h2>main navigation</h2>
    <!--//start page nav list-->
    <ul id="navlist">
       <li class="current_page_item"><a href="/">The Zine</a>
       <?php wp_list_pages('title_li=' ); ?>
    
    <!--//end page nav list-->
    </div><!--//top_navlist-->
    
    <?php
    //get the footer information from footer.php
    get_footer();
    ?>

    [Moderator’s Note: Use backticks or the code button while posting code. Your code might have been altered by the forum’s parser.]

Viewing 5 replies - 1 through 5 (of 5 total)
  • 1. using other themes I do see it.

    Looks like it’s specific to your current theme. Where did you download it from?

    Also try to update WordPress as soon as possible – you are running a very old version.

    Thread Starter itzik lesher

    (@triplebit2)

    Thanks Krishna
    Actually its pasted from the book “WordPress Theme Design” by Tessa Silver.
    Regarding your saying that its specific to the theme – this is sure but maybe you or some other gentleman could pinpoint the exact problem in the code, since the above code is the only one that is responsible for that.
    Thanks in advance
    Triplebit

    Try changing permalinks from default (your current setting) to custom – /%postname%/, save settings and then look at pages if you can see them.

    Thread Starter itzik lesher

    (@triplebit2)

    Thanks again Krishna
    I can see pages when click on the menu items but problem still exists – the menu item in the dashboard is still missing.
    Regards
    Triplebit

    Temporarily change the theme to a WordPress default theme and see if you can see the menu item in the dashboard.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘can't see the menu item in the dashboard’ is closed to new replies.