WordPress.org

Ready to get started?Download WordPress

Forums

How do I get rid of this? (6 posts)

  1. eagerwatcher
    Member
    Posted 1 year ago #

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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>
  3. eagerwatcher
    Member
    Posted 1 year ago #

    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

  4. eagerwatcher
    Member
    Posted 1 year ago #

    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">

  5. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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>
  6. eagerwatcher
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic