Can’t find the code to replace in the header file – now have two menus live!

Forums Forums Menus Can’t find the code to replace in the header file – now have two menus live!

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1426
    aimeelogan
    Member

    Hi,

    I’ve been searching and trawling through all of the support forums but can’t find anything that answers my question so have resorting to starting a new topic! Hope you can help!

    I am using THATGolf theme and I am struggling to find the menu bar code that I need to replace. I ahve inserted the code give by you for the new menu but this just appears as text links above the original menu.

    Here is all of the code in the Header.php file that I can edit in WP admin and you will see the pixopoint code I have entered 8 lines from the bottom.

    Can someone please highlight exactly what i need to replace and what i need to take out and put in etc.

    Many Thanks in advance!!!

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
    <html xmlns="http://www.w3.org/1999/xhtml"&gt;
    <head profile="http://gmpg.org/xfn/11"&gt;
    <title>
    <?php bloginfo(‘name’); ?>
    <?php wp_title(); ?>
    </title>
    <meta http-equiv="Content-Type" content="<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>" />
    <meta name="generator" content="WordPress <?php bloginfo(‘version’); ?>" />
    <!– leave this for stats please –>
    <link rel="stylesheet" href="<?php bloginfo(‘stylesheet_url’); ?>" type="text/css" media="screen" />
    <!–[if lte IE 6]>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo(‘template_url’); ?>/ie6.css" media="screen" />
    <![endif]–>
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo(‘rss2_url’); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo(‘rss_url’); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo(‘atom_url’); ?>" />
    <link rel="pingback" href="<?php bloginfo(‘pingback_url’); ?>" />
    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>
    </head>
    <body>
    <div id="header">
      <div class="title">
        <h1><a href="<?php bloginfo(‘url’); ?>">
          <?php bloginfo(‘name’); ?>
          </a></h1>
        <h4>
          <?php bloginfo(‘description’); ?>
        </h4>
      </div>
    </div>
    <?php if (function_exists(‘pixopoint_menu’)) {pixopoint_menu();} ?>
    <div id="main_navigation">
      <ul>
        <li><a <?php if (is_home()) echo(‘class="current" ‘); ?>href="<?php bloginfo(‘url’); ?>">Home</a></li>
        <?php wp_list_pages(‘depth=1&title_li=’); ?>
      </ul>
    </div>
    <div id="wrapper">

    #8500
    &quot;aimeelogan&quot; wrote:
    … just appears as text links above the original menu.

    That sounds like you aren’t loading any CSS for the menu.

    Here is all of the code in the Header.php file that I can edit in WP admin and you will see the pixopoint code I have entered 8 lines from the bottom.

    Can someone please highlight exactly what i need to replace and what i need to take out and put in etc.

    Many Thanks in advance!!!

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
    <html xmlns="http://www.w3.org/1999/xhtml"&gt;
    <head profile="http://gmpg.org/xfn/11"&gt;
    <title>
    <?php bloginfo(‘name’); ?>
    <?php wp_title(); ?>
    </title>
    <meta http-equiv="Content-Type" content="<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>" />
    <meta name="generator" content="WordPress <?php bloginfo(‘version’); ?>" />
    <!– leave this for stats please –>
    <link rel="stylesheet" href="<?php bloginfo(‘stylesheet_url’); ?>" type="text/css" media="screen" />
    <!–[if lte IE 6]>
    <link rel="stylesheet" type="text/css" href="<?php bloginfo(‘template_url’); ?>/ie6.css" media="screen" />
    <![endif]–>
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo(‘rss2_url’); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo(‘rss_url’); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo(‘atom_url’); ?>" />
    <link rel="pingback" href="<?php bloginfo(‘pingback_url’); ?>" />
    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>
    </head>
    <body>
    <div id="header">
      <div class="title">
        <h1><a href="<?php bloginfo(‘url’); ?>">
          <?php bloginfo(‘name’); ?>
          </a></h1>
        <h4>
          <?php bloginfo(‘description’); ?>
        </h4>
      </div>
    </div>
    <?php if (function_exists(‘pixopoint_menu’)) {pixopoint_menu();} ?>
    <div id="main_navigation">
      <ul>
        <li><a <?php if (is_home()) echo(‘class="current" ‘); ?>href="<?php bloginfo(‘url’); ?>">Home</a></li>
        <?php wp_list_pages(‘depth=1&title_li=’); ?>
      </ul>
    </div>
    <div id="wrapper">

    [/quote]
    [code:3f1ck0ov]<div id="main_navigation">
      <ul>
        <li><a <?php if (is_home()) echo(‘class="current" ‘); ?>href="<?php bloginfo(‘url’); ?>">Home[/url]</li>
        <?php wp_list_pages(‘depth=1&title_li=’); ?>
      </ul>
    </div>[/code:3f1ck0ov]

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.