Results 1 to 8 of 8

Thread: Main Nav Menu and footer disappeared

  1. #1
    Thread Starter
    stever's Avatar
    Join Date
    Aug 2012
    Location
    United States
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Main Nav Menu and footer disappeared

    I was trying to get my child theme to work and I was also removing one of the search bars from the header.php file. Not sure exactly when it happened but when I activated the chile them my nav bar disappeared. I couldn't figure it out so I deactivated the child theme and erased the files. I re activated the parent vantage theme and the nav bar appeared to be back. Then about an hour later I noticed it was gone. I was editing the header.php file, but don't know if that is what did it, although I suspect I did something stupid.

    It might be something easy that anyone who knows how php works can spot right away. Here is the file. See anything that might cause my Nav bar to go away?

    Here is the site if you need it http://bankruptcy.getoutofdebt.org

    Thanks

    <div id="masthead" class="container">
    <div class="row">
    <hgroup>
    <?php va_display_logo(); ?>
    </hgroup>
    <div class="advert">
    <?php dynamic_sidebar( 'header' ); ?>
    </div>
    </div>
    </div>
    <div id="main-navigation" class="container">
    <div class="row">
    <div id="rounded-nav-box" class="rounded">
    <div id="rounded-nav-box-overlay">
    <?php wp_nav_menu( array(
    'theme_location' => 'header',
    'container_class' => 'menu rounded',
    'items_wrap' => '<ul>%3$s</ul>',
    'fallback_cb' => false
    ) ); ?>
    <?php if ( !is_page_template( 'create-listing.php' ) ) : ?>
    <form method="get" action="<?php bloginfo( 'url' ); ?>">
    <div id="main-search">
    <div class="search-location">
    <label for="search-location">
    <span class="search-title"><?php _e( 'Search For an Attorney by City ', APP_TD ); ?></span><span class="search-help"><?php _e( '', APP_TD ); ?></span>
    </label>
    <div class="input-cont h39">
    <div class="left h39"></div>
    <div class="mid h39">
    <input type="text" name="location" id="search-location" class="text" value="<?php va_show_search_query_var( 'location' ); ?>" />
    </div>
    <div class="right h39"></div>
    </div>
    </div>

    <div class="search-button">
    <!-- <input type="image" src="<?php echo get_bloginfo('template_directory'); ?>/images/search.png" value="<?php _e( 'Search', APP_TD ); ?>" /> -->
    <button type="submit" id="search-submit" class="rounded-small"><?php _e( 'Search', APP_TD ); ?></button>
    </div>
    </div>
    <?php if ( '' != $orderby = va_get_search_query_var( 'orderby' )){ ?>
    <input type="hidden" name="orderby" value="<?php echo $orderby; ?>" />
    <?php } ?>
    <?php if ( '' != $radius = va_get_search_query_var( 'radius' )){ ?>
    <input type="hidden" name="radius" value="<?php echo $radius; ?>" />
    <?php } ?>
    <?php if ( isset( $_GET['listing_cat'] ) ){ ?>
    <?php foreach ( $_GET['listing_cat'] as $k=>$listing_cat ) { ?>
    <input type="hidden" name="listing_cat[]" value="<?php echo $listing_cat; ?>" />
    <?php } ?>
    <?php } ?>
    </form>
    <?php endif; ?>
    </div>
    </div>
    </div>
    </div>

    <div id="breadcrumbs" class="container">
    <div class="row">
    <?php breadcrumb_trail( array(
    'separator' => '&raquo;',
    'before' => '',
    'show_home' => '<img src="' . get_template_directory_uri() . '/images/breadcrumb-home.png" />',
    ) ); ?>
    </div>
    </div>

  2. #2
    Veteran annonse's Avatar
    Join Date
    Jun 2011
    Location
    Norway
    Posts
    439
    Thanks
    58
    Thanked 62 Times in 44 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    stever's Avatar
    Join Date
    Aug 2012
    Location
    United States
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    laura's Avatar
    Join Date
    Apr 2010
    Location
    Michigan
    Posts
    2,594
    Thanks
    60
    Thanked 279 Times in 254 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    stever's Avatar
    Join Date
    Aug 2012
    Location
    United States
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    stever's Avatar
    Join Date
    Aug 2012
    Location
    United States
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    laura's Avatar
    Join Date
    Apr 2010
    Location
    Michigan
    Posts
    2,594
    Thanks
    60
    Thanked 279 Times in 254 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    Veteran annonse's Avatar
    Join Date
    Jun 2011
    Location
    Norway
    Posts
    439
    Thanks
    58
    Thanked 62 Times in 44 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. The topNav menu has disappeared
    By thebaht in forum Report JobRoller Bugs
    Replies: 6
    Last Post: February 20th, 2012, 03:35 AM
  2. [SOLVED] Wordpress 3.2.1 Primary Menu & JobRoller Main Menu
    By techwhirl in forum Report JobRoller Bugs
    Replies: 14
    Last Post: October 15th, 2011, 08:26 PM
  3. Alignment of footer - the footer menu is not aligned propperly
    By sonofspider in forum Clipper General Discussion
    Replies: 5
    Last Post: July 21st, 2011, 05:02 AM
  4. Search Box Under Menu Disappeared
    By michaeldante in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: November 29th, 2010, 02:46 AM
  5. Replies: 1
    Last Post: July 25th, 2010, 10:17 AM