WP Front Page Static (2 pages shown)?

2 replies
  • WEB DESIGN
  • |
When I set my wordpress front page to static, there is a problem because it will show 2 url's in the pages menu.

One to the "Home" and One to the name of the new page "Welcome To My Site"

So I have 2 links on my homepage both pointing to the homepage.

How do I delete one of these?
#front #page #pages #shown #static
  • Profile picture of the author mywebwork
    The "Home" link can be removed by editing your theme, in most themes it's in the "header.php" file. Look for a line similar to this one:

    Code:
    <a href="<?php get_option('home'); ?>">Home</a>
    If You delete this line you will remove the "Home" link - the other one will still be there.

    Let me know if you need any assistance with this.

    Bill
    {{ DiscussionBoard.errors[1144732].message }}
    • Profile picture of the author Intrepreneur
      Originally Posted by mywebwork View Post

      The "Home" link can be removed by editing your theme, in most themes it's in the "header.php" file. Look for a line similar to this one:

      Code:
      <a href="<?php get_option('home'); ?>">Home</a>
      If You delete this line you will remove the "Home" link - the other one will still be there.

      Let me know if you need any assistance with this.

      Bill
      I found it, I'd never seen this happen before and only realised after I made this post that it must be hard coded.

      Thank You.

      Regards
      Mark.
      {{ DiscussionBoard.errors[1144947].message }}

Trending Topics