• Resolved elysiayuen

    (@elysiayuen)


    Hi,

    I’m trying to edit the main top navigation menu on my employer’s website. The theme I’m using is twenty eleven. When I go to the ‘Menu’ option in the dashboard, I add pages so that it says they will be subpages under the ‘Enroll/Parent’ tab and then save it. When I check to see it, nothing has changed. I tried looking at the header.php file and can’t find anything that looks odd and searching the web for help and can’t seem to find a solution. I’m not the most proficient with wordpress and my coding skills are minimal. Please help!

    The link to the page is http://guadalupeschoolslc.org/

    The drop down menu is ‘Enroll/Parents’ and there are supposed to 4 sub items in a drop down menu.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator cubecolour

    (@numeeja)

    There looks like there is some malformed markup in the menu. Due to the errors in the markup it almost doesn’t look like this menu was added using the custom menus facility, but may have been entered directly into a php file.

    example:

    <ii><a href="http://guadalupeschoolslc.org/capital-campaign/">Capital Campaign</a></li>
    <li> <a href="http://guadalupeschoolslc.org/parentsstudents" id="menu-last"> Enroll/Parent Information</a>
    <ul>
    
              </li>
    
            </ul>

    Can you check the theme files to see whether might be the case?

    Thread Starter elysiayuen

    (@elysiayuen)

    I found this code in the PHP file. Is that where the problem is? I have a feeling that this is where it would be, but I don’t for sure and how I should go about editing these menus.

    div id="menublock">
        	<div class="menu">
        	<ul id="menu-main-menu">
    
    <li> <?php if ( ! dynamic_sidebar( 'Top Menu : Home' ) ) : ?>
    				<?php endif; // end sidebar widget area ?>
              </li>
    <li> <?php if ( ! dynamic_sidebar( 'Top Menu : About Us' ) ) : ?>
    				<?php endif; // end sidebar widget area ?>
              </li>
    <li> <?php if ( ! dynamic_sidebar( 'Top Menu : Results' ) ) : ?>
    				<?php endif; // end sidebar widget area ?>
              </li>
    <li> <?php if ( ! dynamic_sidebar( 'Top Menu : Programs' ) ) : ?>
    				<?php endif; // end sidebar widget area ?>
              </li>
    <li> <?php if ( ! dynamic_sidebar( 'Top Menu : Ways to Give' ) ) : ?>
    				<?php endif; // end sidebar widget area ?>
              </li>
    <li> <?php if ( ! dynamic_sidebar( 'Top Menu : Get Involved' ) ) : ?>
    				<?php endif; // end sidebar widget area ?>
              </li>
    <li> <?php if ( ! dynamic_sidebar( 'Top Menu : Parents/Students' ) ) : ?>
    				<?php endif; // end sidebar widget area ?>
              </li>
        	</div>
        </div><!--menublock-->

    Moderator cubecolour

    (@numeeja)

    You need to ask the theme developer what they were trying to accomplish with that code and point out the errors highlighted earlier in my previous post as they seem to have employed a strange non-standard way of building the menu.

    Thread Starter elysiayuen

    (@elysiayuen)

    Thanks for the input. Unfortunately I can’t ask the theme developer because the person who developed it disappeared off the face of the earth. Is there no other way to figure out how to resolve the issue? Please let me know. Thank you so much for your willingness to help!

    Moderator cubecolour

    (@numeeja)

    I’m afraid I don’t think this can be done within the scope of the support these forums can provide as the person correcting this will need full access to the site to make and test changes made in several places.

    There is documentation on custom menus in the codex starting at http://codex.wordpress.org/Navigation_Menus if you want to have a go at fixing this yourself. If this is beyond your level of experience you will probably need to hire an experienced and competent developer to look at the existing code and implement the menu correctly.

    Thread Starter elysiayuen

    (@elysiayuen)

    Thank you for all of your help!

    I figured it out. The menu actually needed to be edited through a PHP widget.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Sub Menu Items Not Appearing.’ is closed to new replies.