• Resolved annakristine

    (@annakristine)


    My blog: hoperoadblog.com

    I just installed a new theme and upgraded to WordPress 2.8, and I have 2 problems.

    1) There is no option in the widgets menu for me to add a categories widget. I tried a couple of different themes and neither of them had this option.

    2) The “Home” page link in the header changes when I navigate to a different page. When I navigate to the “About” page, the link to “Home” changes from hoperoadblog.com to hoperoadblog.com/about. I don’t know how to fix this.

    Any help would be much appreciated. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • 1. There’s a Categories widget in WP by default, so it’s unlikely to be a problem with your new theme. Had you used this widget previously with an older theme? Have you tried deactivating all of your plugins to see if that resolves the problem?

    2. That does sound like a theme-related issue in either header.php or sidebar.php. Do you have any idea which file in your new theme contains the code for your navigation menu?

    Thread Starter annakristine

    (@annakristine)

    1. I had used this widget before the upgrade. I just deactivated all of my plugins and the widget was still not available.

    2. Here is the navigation code from header.php:

    <ul> <li class="pagenav-home"><ul><li <?php /* If this is the frontpage */ if ( is_home()) { ?> class="current_page_item" <?php } ?>><a href=".">Home</a></li></ul></li> <?php wp_list_pages('title_li=<h2>Pages</h2>'); ?> </ul>

    1. Can you switch back to the theme you were using just before the upgrade? There was a problem with widgets and theme changes in WP 2.7 that caused the odd widget to go AWOL. Whilst that shouldn’t be a problem now that you’ve upgraded, it might be worth a try. If you can reactivate your old theme, check to see if the widget re-appears. If it does, remove it from the sidebar (or whatever). Then switch back to your new theme and see if it’s re-appeared there too.

    2. I can see a problem in that code for your navigation. Try:

    <ul> <li class="pagenav-home">
    <ul><li <?php /* If this is the frontpage */ if ( is_home()) { ?> class="current_page_item" <?php } ?>><a href="<?php bloginfo('url'); ?>">Home</a></li></ul>
    </li> <?php wp_list_pages('title_li=<h2>Pages</h2>'); ?> </ul>

    instead.

    Thread Starter annakristine

    (@annakristine)

    The page navigation is fixed. Thank you!

    I reactivated my old theme and there was no Categories widget there either. Not quite sure where to go from here.

    Thread Starter annakristine

    (@annakristine)

    I’m marking this resolved because I fixed it with a “patch” – installing the Extended Categories plug-in.

    Thanks for your help, esmi!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No Categories Widget Option Broken Link’ is closed to new replies.