WordPress.org

Ready to get started?Download WordPress

Forums

Header Page Tabs Disappeared All Of A Sudden (15 posts)

  1. bodylovewellness
    Member
    Posted 2 years ago #

    Hi there,

    It's hard to explain this problem, but basically all of my tabs (about, contact, etc.) are gone. The links work, but they don't say what they are, and after each link is a link to something that doesn't exist.

    It's easier to see if you check it out here: http://www.bodylovewellness.com.

    I'm running wordpress 3.3 with a modified Femme Flora theme.

    Any help is appreciated!

    Thanks,
    Golda

  2. Jonas Grumby
    Member
    Posted 2 years ago #

    You links are coming up as (for example):

    http://www.bodylovewellness.com/about/%3C/a%3E%3C/li%3E%3Cli%20class=

    The source code looks like this:

    <li class="page_item page-item-2 other"><a class="" href="http://www.bodylovewellness.com/about/" title=""><a href="http://www.bodylovewellness.com/about/</a></li>

    Basically you somehow have an open-ended anchor tag inside an anchor tag. Do you have URLs as page titles or something? What happens if you switch to the Default permalinks structure?

  3. deepbevel
    Member
    Posted 2 years ago #

    That is weird, the css isn't being recognized somehow, this is what I see in Firebug:

    *:before, *:after {
        white-space: pre-line;
    }
    w3-reset.css (line 132)
    *:before, *:after {
        white-space: pre-line;
    }
    w3-reset.css (line 132)
    #menu a:link {
        text-decoration: none;
    }
    style.css? (line 497)
    #menu a {
        color: #FFFFFF;
        display: block;
        float: left;
        height: 24px;
        margin-bottom: 0;
        padding: 8px 10px 2px;
        text-align: center;
    }
    style.css? (line 485)
    a:link, a:visited {
        color: #005580;
        text-decoration: underline;
    }
    style.css? (line 342)
    :link, *:visited {
        text-decoration: underline;
    }

    However I get no changes when I alter it in a preview.
    Is it a custom menu? I'd just try redoing it.

  4. bodylovewellness
    Member
    Posted 2 years ago #

    Thanks for your quick response! I tried setting the permalinks to the default, but it had no effect.

    I have no idea how I got open ended anchor tags inside anchor tags. I don't have URL's as page titles. I've had this site for years and it just happened out of nowhere. I haven't made any changes to the theme or anything. I'm wondering if it's a result of upgrading to wordpress 3.3.

  5. bodylovewellness
    Member
    Posted 2 years ago #

    @Deepbevel -- Thanks for your quick response.

    It's not really a custom menu. I'm using page lists plus, which is a plugin that has worked fine all this time. I don't think I can do a custom menu for the header tabs with the theme I'm using. Do you have any other suggestions?

  6. deepbevel
    Member
    Posted 2 years ago #

    Maybe get rid of the Page Lists Plus, it may not be compatible with the latest WP. Fall back to your theme's default nav and see what happens.

  7. Jonas Grumby
    Member
    Posted 2 years ago #

    The three things that you should always test first are, permalinks, plugins and your theme. So, always try resetting the permalinks, deactivating all plugins, and switching to the default theme to narrow down what could be causing the problem.

    Page lists plus has not been updated in about a year and a half and is (of course) not necessarily compatible with WP 3.3.

    You can easily tell if your theme supports Custom Menus by looking under Appearance in admin. It seems like Custom Menus essentially make the Page lists plus plugin obsolete, which may be why it's no longer being updated.

    It's also not difficult to add Custom Menu functionality to your theme if it doesn't already support it.

  8. deepbevel
    Member
    Posted 2 years ago #

    best answer.

  9. bodylovewellness
    Member
    Posted 2 years ago #

    When I turned off List Pages Plus, all I got was the header image and nothing below that. It could be the culprit, but I'm not sure how to set things up now so that my site will work without it. I think I had to change the header.php when I first installed the plug in, but now I can't find it, and when I downloaded the theme again the header.php was totally different.

    My theme doesn't support the custom headers. Now I'm thinking I may need to scrap this theme and just start over.

    Thank you both for your help.

  10. deepbevel
    Member
    Posted 2 years ago #

    If you want to give your theme one more chance try putting this in functions.php

    add_theme_support( 'menus' );

    you can then add to header.php:

    <?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>

    it should add custom menu functionality in your theme, which you configure under Apperance/menus.

  11. bodylovewellness
    Member
    Posted 2 years ago #

    @deepbevel, Does it matter where I add these things? Does it need to be after or before anything? Thanks.

  12. deepbevel
    Member
    Posted 2 years ago #

    Sorry, I can't remember. I know I used it before and it worked once, another time I couldn't get it to work. With the header tag it may not matter. just back up and try it.

    I know that with any new function, you should put it at the end of "functions.php", right before the last "?>". Very Important as it can crash your whole site if not placed right.

  13. deepbevel
    Member
    Posted 2 years ago #

    opps, wrong thread.

  14. bodylovewellness
    Member
    Posted 2 years ago #

    Just wanted to let you both know that I ended up changing my theme and starting from scratch and it's working now. But THANKS SO MUCH for trying to help. :)

  15. deepbevel
    Member
    Posted 2 years ago #

    good solution:) good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic