WordPress.org

Ready to get started?Download WordPress

Forums

Changing a tab name (5 posts)

  1. MichelleLaw
    Member
    Posted 1 year ago #

    Hi All,

    I am completely new to all of this, I had someone set my site up for me. Now it has been passed over to me for me to complete and change anything.

    On my tabs at the top I have one that is call news but I want to change this to home. I have looked under Main Index Template
    (index.php), and can't see anything called news to change.

    All I have got under there is;
    <?php get_header(); ?>

    <?php get_sidebar(); ?>

    <div class="sidebar-space">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <!-- Article -->
    <article <?php post_class(); ?> id="post-<?php the_ID(); ?>">
    <header>
    <h1>"><?php the_title(); ?></h1>
    </header>

    <?php the_content(); ?>

    <span class="post-meta">Posted on <?php the_time('F jS, Y') ?> in <?php the_category(', ') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> <?php edit_post_link('Edit Post',' | ',''); ?></span>

    </article>
    <!-- END Article -->
    <?php endwhile; ?>

    <?php include (TEMPLATEPATH . '/nav.php' ); ?>

    <?php else : ?>

    <h2>Not Found</h2>

    <?php endif; ?>

    <!-- Clear Fix -->
    <div class="clearfix"></div>
    <!-- END Clear Fix -->
    </div>

    <?php get_footer(); ?>

    Any idease?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    In the dashboard, can you look under pages and see if you can edit the name of the page?

  3. MichelleLaw
    Member
    Posted 1 year ago #

    Nope I can't change it in there either, in there I have a page and called it home, I then managed to link this to the news page. I can unlink this from the news page but then the news page just sits there with nothing on it. So if I can't change the name of it, then I need to work out how to delete it.

  4. j1derly
    Member
    Posted 1 year ago #

    Try going through you admin panel > appearance > Menu > click "News" and it should expand. Where it says "navigation label" change it to "Home"

  5. j1derly
    Member
    Posted 1 year ago #

    My advice will only change the name of the label, it won't change which page it directs to.

    To physically make it a different page, you'd have to select the one you wish to delete, expand the the box, click remove, then in the lower left-hand corner, select the page you wish to add to the menu board, and then click "add to menu" It will add it to the bottom of the menu list, but you can drag to place it where you want it to be.

Topic Closed

This topic has been closed to new replies.

About this Topic