• Hi,

    I am trying to change the header of theme Nature 3.17.4 from all the futures like Archives, Recently, RSS to regular pages.
    In Short, I want that the header will be regular menu.
    I know that this menu is in nav.php and I am asking for your help to change it.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hard to say what to change without seeing the code in header.php or nav.php

    Without seeing it all I can say is remove the code you dont want. Save and test. Basically trial and error.

    Save an original copy first in case you need to revert back.

    Thread Starter yoroga

    (@yoroga)

    You can see my test site at: https://www.taiga.co.il/wordpress

    nav.php :

    <div id=”nav”>

      <?php wp_list_pages(‘title_li=’ ); ?>

    <li class=”Largenav”><h2><?php _e(‘Archives’); ?></h2>

    • <?php get_calendar(); ?>

    <li class=”Largenav”><h2><?php _e(‘Recently’); ?></h2>

      <?php wp_get_archives(‘type=postbypost&limit=5’); ?>

    <li class=”Largenav”><h2><?php _e(‘Topics’); ?></h2>

      <?php wp_list_cats(‘sort_column=name&hide_empty=0&optioncount=0&hierarchical=1’); ?>

    <li class=”Largenav”><h2>“><?php _e(‘RSS’); ?></h2>

    </div>

    header.php :

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;
    <head profile=”https://geotags.com/geo”&gt;

    <title><?php wp_title(”); if (function_exists(‘is_tag’) and is_tag()) { ?>Tag Archive for <?php echo $tag; } if (is_archive()) { ?> archive<?php } elseif (is_search()) { ?> Search for <?php echo wp_specialchars($s,1); } if ( !(is_404()) && (is_search()) or (is_single()) or (is_page()) or (function_exists(‘is_tag’) and is_tag()) or (is_archive()) ) { ?> | <?php } ?> <?php bloginfo(‘name’); ?></title>

    <meta http-equiv=”content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>”/>
    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen”/>
    <link rel=”shortcut icon” type=”image/ico” href=”<?php bloginfo(‘template_url’); ?>/favicon.ico”/>
    <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’); ?>”/>

    <script type=”text/javascript”>
    <!–
    function expandIt(getIt){
    getIt.style.display=(getIt.style.display==”none”)?””:”none”;
    }
    //–></script>
    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php wp_head(); ?>

    </head>
    <body>
    <div class=”row”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <?php include (TEMPLATEPATH . ‘/nav.php’); ?>
    </div>
    <hr />

    Thank you.

    Thread Starter yoroga

    (@yoroga)

    I success to change the header menu to the one that I want but I can not see the text because it is black on black.

    that I did is to change the nav.php to:

    <div id=”nav”>
    </p>

    <ul id=”nav”>

    • /”><font color=”#ffffff”>Home</font>
    • <?php wp_list_pages(‘title_li=’); ?></font>

      </div>

      I add the font color but it change only the “Home” test and not the rest of the menu.
      You can see it here

      Ant idea how to change the rest of the menu to white?

      Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Header change’ is closed to new replies.