WordPress.org

Ready to get started?Download WordPress

Forums

Navigation Bar Submenus & Slider on Homepage are no longer working (3 posts)

  1. Pinacoladachk
    Member
    Posted 2 years ago #

    Hello:

    I recently updated all of my wordpress plugins and initially I had tried to insert two metag values into the header.php file (this was as of 08/21/11). These were the only two changes I made to the theme. The next day I realized that the sub-menus for the navigation bar no longer appear in addition to the slider for the homepage no longer functioning. After noticing this, I completely replaced the header.php file with its original code created by the theme's developer.

    Even after the code has been replaced to its default (i.e. metag values removed) I still experience these two problems.

    I appreciate any and all feedback, before I make the move of uninstalling and reinstalling the theme.

    Here is the header.php file code as it currently exists (which is the default code, originally provided in the theme).

    <?php
    global $color_theme;
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

    <head>
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php wp_title(' | ', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/prettyPhoto.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/tipsy.css" type="text/css" media="screen" />
    <!--[if IE]>
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie.css" type="text/css" media="screen, projection" />
    <![endif]-->
    <!--[if IE 7]>
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie7.css" type="text/css" media="screen" />
    <![endif]-->
    <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', TEXTDOMAIN), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', TEXTDOMAIN), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <?php
    wp_enqueue_script('jquery-cycle', get_bloginfo('template_url')."/js/jquery.cycle.all.min.js", array('jquery'));
    wp_enqueue_script('jquery-nivo-slider', get_bloginfo('template_url')."/js/jquery.nivo.slider.pack.js", array('jquery'));
    wp_enqueue_script('jquery-easing', get_bloginfo('template_url')."/js/jquery.easing.1.3.js", array('jquery'));
    wp_enqueue_script('jquery-prettyPhoto', get_bloginfo('template_url')."/js/jquery.prettyPhoto.js", array('jquery'));
    wp_enqueue_script('jquery-jcarousel', get_bloginfo('template_url')."/js/jquery.jcarousel.min.js", array('jquery'));
    wp_enqueue_script('jquery-tipsy', get_bloginfo('template_url')."/js/jquery.tipsy.js", array('jquery'));
    wp_enqueue_script('jquery-arrowFade', get_bloginfo('template_url')."/js/jquery.arrowFade.js", array('jquery'));
    wp_enqueue_script('jquery-custom', get_bloginfo('template_url')."/js/jquery.custom.js", array('jquery', 'jquery-ui-tabs'));

    wp_enqueue_script('cufon', get_bloginfo('template_url')."/js/cufon-yui.js");
    wp_enqueue_script('cufon-Waukegan', get_bloginfo('template_url')."/js/waukegan.font.js");
    wp_head();
    ?>
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/jCarousel.css" type="text/css" media="screen" />

    <style type="text/css">
    p, li, address { color:<?php get_color('color-text') ?> }
    a { color:<?php get_color('color-link') ?> }
    a:hover { color:<?php get_color('color-link-hover') ?> }

    body { background-image:url('<?php get_image('bg') ?>') }
    #logo a { background-image:url('<?php get_image('logo') ?>') }
    #slider { background-image:url('<?php get_image('slider-light') ?>') }

    #footer { background-color:<?php get_color('bg-footer') ?>; background-image:url('<?php get_image('bg-footer') ?>'); background-position:bottom center }
    #copyright { background-color:<?php get_color('bg-copyright') ?> }

    #nav li { border-left:1px solid <?php get_color('border-left-nav') ?>; border-right:<?php if(get_color('border-right-nav', false) != '0') echo '1px solid '.get_color('border-right-nav', false); else echo 'none' ?> }
    #nav a { color:<?php get_color('color-nav') ?> }
    #nav a:hover { color:<?php get_color('color-nav-hover') ?> }
    #nav span { color:<?php get_color('color-nav-descr') ?> }

    #nav-slider, #top-slogan { background-image:url('<?php get_image('nav-slider') ?>') }
    #nav-slider a:hover, #nav-slider li:hover a, #nav-slider li.active a, #nav-slider li.current a { color:<?php get_color('color-nav-slider-hover') ?> }
    #nav-slider .arrow { background-image:url('<?php get_image('arrow-up') ?>') }

    #slider .panel h1, #slider .panel h2, #slider .panel p, #slider a, #slider li { color:<?php get_color('color-nav-slider') ?> }

    #content { background-color:<?php get_color('bg-body') ?> }

    #footer p, #footer li, #footer address, #footer span, #copyright, #footer a.contact strong { color:<?php get_color('color-footer') ?> }
    #footer a, #copyright a { color:<?php get_color('link-footer') ?> }
    #footer a:hover, #copyright a:hover { color:<?php get_color('link-footer-hover') ?> }
    #footer h3 { color:<?php get_color('title-footer') ?> }
    #footer .menu li, #footer .menu li.first, #footer .menu li.last, #footer address { border-color:<?php get_color('border-footer') ?> }
    #footer .flickr img { background-color:<?php get_color('bg-flickr') ?>; border-color:<?php get_color('border-flickr') ?> }
    </style>

    <!-- [favicon] begin -->
    <link rel="shortcut icon" type="image/x-icon" href="<?php echo get_option('bl_favicon'); ?>" />
    <link rel="icon" type="image/x-icon" href="<?php echo get_option('bl_favicon'); ?>" />

    <script type="text/javascript">
    Cufon.replace('h1, h2, h3:not(#footer h3, .title-blog), h4, h5, h6, table th', {fontFamily: 'Waukegan'});
    //Cufon.replace('.sidebar-nav a', {fontFamily: 'Champagne', hover: true});

    jQuery(document).ready(function($){
    $("a[rel^='prettyPhoto']").prettyPhoto({
    theme: '<?php echo get_option('bl_portfolio_skin_lightbox') ?>'});
    });
    </script>

    <?php echo get_option('google_analitics_code') ?>
    </head>

    <body <?php body_class('no_js') ?>>

    <div id="top-space"></div>

    <!-- START HEADER -->
    <div id="header">

    <div class="inner">

    <!-- START LOGO -->
    <div id="logo">
    " title="<?php bloginfo('name') ?>"><?php bloginfo('name') ?>
    </div>
    <!-- END LOGO -->

    <!-- START NAV -->
    <?php
    $color_menu = 'black';
    if(get_option('bl_color_dropdown') AND get_option('bl_color_dropdown') != '') $color_menu = get_option('bl_color_dropdown');
    $options = array(
    'theme_location' => 'nav',
    'container' => 'div',
    'container_id' => 'nav',
    'menu_class' => 'level-1 ' . $color_menu,
    'depth' => '3',
    'fallback_cb' => null,
    'walker' => new description_walker()
    );

    wp_nav_menu($options);
    ?>
    <!-- END NAV -->

    <div class="clear"></div>

    </div>

    </div>
    <!-- END HEADER -->

    Thanks!!

  2. Pinacoladachk
    Member
    Posted 2 years ago #

    I forgot to mention that the website is http://www.re-nuble.com

    Much appreciated for your help on this.

  3. Pinacoladachk
    Member
    Posted 2 years ago #

    This has been resolved. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic