Support » Fixing WordPress » How do I get rid of this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • seems to be the general pages menu;

    in header.php:

    <div id="nav">
    		<ul>
    			<li <?php if(!is_page()) echo 'class="current_page_item"'; ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    			<?php wp_list_pages('title_li='); ?>
    		</ul>
    		<a href="<?php bloginfo('rss2_url'); ?>" id="feed">Subscribe</a>
    	</div>

    if you want to keep the ‘subscribe’ button, then just delete this section:

    <ul>
    			<li <?php if(!is_page()) echo 'class="current_page_item"'; ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    			<?php wp_list_pages('title_li='); ?>
    		</ul>

    Thanks.

    Only problem is that I lose the HOME button when I do the above.

    I just started using the theme today and I like it.

    Clicking on the line that we want to get rid of just goes to an article that’s a couple of years old and clicking on ‘subscribe’ leads to an unformatted page.

    Having just the HOME button would be best.

    Michael

    The link directs to a page and I’m not using one.

    I’ve added this in the meantime – <meta HTTP-EQUIV=”REFRESH” content=”0; url=http://misconceptions.us”>

    Only problem is that I lose the HOME button when I do the above.

    that was not clear from the initial question;

    luckily, this is easy because the ‘home’ button is code separately into the menu;

    just leave all this:

    <div id="nav">
    		<ul>
    			<li <?php if(!is_page()) echo 'class="current_page_item"'; ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    		</ul>
    	</div>

    It works of course, thanks!

    A couple of weeks ago I made a concentrated effort, for several days to better understand CSS but with little success.

    A broad understanding, “yes”, but not much more than that.

    If I find CSS difficult then how about PHP?

    Either the time wasn’t long enough or programming is simply not something that I will find easy.

    But I will keep trying!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I get rid of this?’ is closed to new replies.