Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter poldenais

    (@poldenais)

    Any help at all please? Im really stuck on this

    Go to your themes header.php file and find where it is adding the menu and replace it with your flash embed code wrapped in a new div.

    Thread Starter poldenais

    (@poldenais)

    Hi, looking at the code below, Im not sure where it is adding the Menu?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    <title><?php wp_title('&raquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />
    <!--[if IE 6]>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie6.css" type="text/css" />
    <![endif]-->
    
    <meta name="robots" content="index,follow" />
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" type="image/x-icon" />
    
    <?php
    if (isset($_SERVER['HTTP_REFERER']) && strpos($_SERVER['HTTP_REFERER'], 'images.google.com'))
    echo '<script language="JavaScript" type="text/javascript">
    if (top.location != self.location) top.location = self.location;
    </script>';
    ?>
    
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php wp_head(); ?>
    </head>
    <body id="home">
    
    <div id="header" class="clearfix">
    
    	<ul id="accessibility">
    		<li><a href="<?php echo get_option('home'); ?>/" title="<?php _e('Go to homepage', 'default'); ?>"><?php _e('Home', 'default'); ?></a></li>
    		<li><a href="#content" title="Skip to content"><?php _e('Content', 'default'); ?></a></li>
    		<li><a href="<?php if (get_option('greenpark2_feed_enable') == 'yes') { echo 'http://feeds.feedburner.com/' . get_option('greenpark2_feed_uri'); } else { echo get_bloginfo('rss2_url'); }?>">RSS</a></li>
    		<?php wp_meta(); ?>
    		<?php wp_register(); ?>
    		<li class="last-item"><?php wp_loginout(); ?></li>
    	</ul>
    
    	<div id="branding">
    		<h1 id="logo"><a href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
    		<div class="description">
    		  <?php bloginfo('description'); ?>
        </div>
    	</div>
    
    	<div id="nav" class="clearfix">
    		<div id="nav-search">
    			<?php get_search_form(); ?>
    		</div>
    		<ul id="menu">
      		<li class="page-item-home <?php if ( is_home() ) { ?> current_page_item <?php } ?>"><a href="<?php echo get_option('home'); ?>/"><?php _e('Home', 'default'); ?></a></li>
      		<?php greenpark_globalnav() ?>
    		</ul>
        <div id="submenu-bg">
          <?php if ( !is_search() && !is_404() ) {
        		if($post->post_parent)
        		$children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");
        		else
        		$children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
        		if ($children) {
        		  echo "<ul id=\"submenu\">";
              echo $children;
              echo "</ul>";
      		  }
          } ?>
        </div>
    	</div>
    
    </div>
    
    <div id="main" class="clearfix">
    Thread Starter poldenais

    (@poldenais)

    any help please? i dont like bumping this but sometimes it has to be done

    Here is the menu

    <div id="nav" class="clearfix">
    		<div id="nav-search">
    			<?php get_search_form(); ?>
    		</div>
    		<ul id="menu">
      		<li class="page-item-home <?php if ( is_home() ) { ?> current_page_item <?php } ?>"><a href="<?php echo get_option('home'); ?>/"><?php _e('Home', 'default'); ?></a></li>
      		<?php greenpark_globalnav() ?>
    		</ul>
        <div id="submenu-bg">
          <?php if ( !is_search() && !is_404() ) {
        		if($post->post_parent)
        		$children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");
        		else
        		$children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
        		if ($children) {
        		  echo "<ul id=\"submenu\">";
              echo $children;
              echo "</ul>";
      		  }
          } ?>
        </div>

    I would try it first putting it between <div id="nav" class="clearfix">

    and </div>

    In your css you will probably have to change the height of the #nav selector to make your flash menu fit

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need Help please: Novice: need to get my Flash logo menu in header’ is closed to new replies.