0

I needed to change the twentyeleven theme folder name, so I activated the default theme, changed the twentyeleven folder name to X, then reactivated it. Everything worked except the menus were all in the wrong places. I figured out they needed to be redefined in Menus>Theme Locations. But now, there's an extra sitemap listing in the footer.. I didn't put it there and can't figure out how to get rid of it. It's listing out the sitemap in ul tags, twice. Any suggesions?

2
  • 2
    A URL would be helpful, so we can see the issue. Also: have you disabled all Plugins? Commented Sep 4, 2012 at 15:04
  • 1
    Please follow your old questions. Comment, make progress. Thanks.
    – kaiser
    Commented Sep 4, 2012 at 15:55

1 Answer 1

2

Try going to Dashboard -> Appearance -> Menus and re-applying your custom menus to the appropriate Theme locations.

By changing the directory name, you've impacted the theme_mods, including custom menus. To WordPress, /wp-content/themes/twentyeleven/style.css and /wp-content/themes/X/style.css are two different Themes, even if all the files are the same.

2
  • this was exactly the problem, thanks! Also, to get rid of the sitemap in the footer I went into footer.php and deleted: <?php wp_nav_menu( array( 'theme_location'=> 'footer2' ) ); ?> not sure why it wasn't doing anything BEFORE I changed the folder name, or I would have changed it sooner. but, it's fixed now!
    – jamie
    Commented Sep 4, 2012 at 15:04
  • @jamie If this answer fixed your problem: tick the green checkmark ✔ on the left side. Do the same on your other questions that are solved by answers. That’s an easy way to make people happy. :)
    – fuxia
    Commented Sep 5, 2012 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.