Forums

[resolved] Looking for Line of HTML code (15 posts)

  1. mahlerosa
    Member
    Posted 4 months ago #

    I have looked EVERYWHERE to find this line of code. I found it using Firebug but can't find the file I need to edit to change it. It is maddening. Can someone help me out? It is highlighted in blue. "http://www.fundametals.net/images/screenshot.jpg"
    thnx!! Michelle

  2. Sherry Dedman
    Member
    Posted 4 months ago #

    That line of html code is most likely being rendered by the PHP code in the navigation portion of your header.php file. It usually looks something like this:

    <li><a href="<?php echo get_settings('home'); ?>">Home</a></li>

    -Sherry

  3. geeksfolder
    Member
    Posted 4 months ago #

    Hi Michelle,

    So you want to update the home navigation?
    If so, the navigation is usually created in the menu's area,
    you will need to login to your WordPress backend,
    and go to Appearance > Menus.

  4. mahlerosa
    Member
    Posted 4 months ago #

    Sherry
    Would it be under my theme?
    Thnx!

  5. Sherry Dedman
    Member
    Posted 4 months ago #

    Yes, it would be in the header.php file for your theme. Either go to 'Appearance', 'Editor' and click on header.php, or go to your theme's folder via FTP ( wp-content/themes/your-theme/header.php )

    -Sherry

  6. ChristiNi
    Member
    Posted 4 months ago #

    Hi mahlerosa,

    The HTML you are seeing is generated by WordPress, so there's not really "HTML code to change." If your theme supports custom menus, you can create a custom menu and use that instead of the default navigation menu. Look for Custom Menus under Appearance > Menus.

    If your theme does not support custom menus, you could use a plugin like Exclude Pages or a plugin that adds the custom menu functionality like WordPress Navigation List or Multi-level Navigation Plugin

    Hope this helps!

  7. mahlerosa
    Member
    Posted 4 months ago #

    When I go to Appearance, Editor my header is not even listed to choose from.
    When I go to the actual file wp-content/themes/your-theme/header.php....no word "Home".
    When I do to Appearance, Menu...no Home to choose from.
    It shouldn't have to be so hard.

  8. Sherry Dedman
    Member
    Posted 4 months ago #

    Which theme are you using?

    -Sherry

  9. mahlerosa
    Member
    Posted 4 months ago #

    When I go to Appearance, Editor my header is not even listed to choose from.
    When I go to the actual file wp-content/themes/your-theme/header.php....no word "Home".
    When I do to Appearance, Menu...no Home to choose from.
    It shouldn't have to be so hard.

  10. mahlerosa
    Member
    Posted 4 months ago #

    I have a custom theme.

  11. Sherry Dedman
    Member
    Posted 4 months ago #

    You'll have to contact the author of your custom theme and ask how to make this change, then. There are a few different ways of coding things - without knowing how he/she did it, I don't know where to tell you to go to look for it.

    -Sherry

  12. deepbevel
    Member
    Posted 4 months ago #

    are you simply trying to change the nav label of your home page so it says something other than home?

    I think you have to use a static page as your posts page, then you can name it whatever you like. But if you still get a rouge "home" tab as well,(which has happened to me) you probably have to use a custom menu.

  13. ChristiNi
    Member
    Posted 4 months ago #

    Hi mahlerosa,

    It's much easier to simply use a custom menu for your navigation. Have you checked under Appearance > Menus to see if your theme supports custom menus?

    Thanks!

  14. mahlerosa
    Member
    Posted 4 months ago #

    ChristiNi
    THANK-YOU...it was very easy! THANK-YOU! Michelle

  15. ChristiNi
    Member
    Posted 4 months ago #

    Glad to hear that Michelle!

    If you have time, please mark this topic as resolved.

    Thanks!

Reply

You must log in to post.

About this Topic