Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDevin Gray
39,261 PointsMenu Structure Not Showing in WordPress 4.0
I notice when Zac is adding pages to his menu he can drag around the order of the pages. But I've been using WordPress 4.0 in this example and that option doesn't display, but it says that I can drag the order around to my liking. If it matters, I'm using the latest version of Google Chrome and I'm developing WordPress on my local Mac. Is this a problem or am I just overreacting?
7 Answers
Devin Gray
39,261 PointsFound it, it was my autofill plugin for google chrome. once I disabled it the menu started displaying again. Thank you all for your help! :)
Justin Estrada
34,995 PointsDo you have this code in your functions.php file?
add_theme_support( 'menus' );
Devin Gray
39,261 PointsI've been in this forum and in the wordpress support forums, my add_theme_support( 'menus' ); is in my functions.php file, I've tried everything I've found online, I've added define('CONCATENATE_SCRIPTS', false); to my wp-config.php file, i've tried creating an if statements to load my javascript and jquery conditionally because it's supposed to be a jquery problem when the menus don't show up, I've tried plugins that are supposed to work, I've even reinstalled wordpress, both from my dashboard and downloading a completely new copy. I have no idea why it isn't working, I'm about to give up on this and just install a regular theme.
Zac Gordon
Treehouse Guest TeacherWhen you switch themes does it work? What if you remove the other code from your functions.php file?
Devin Gray
39,261 PointsI haven't tried removing the other code from my functions.php file, but I have tried switching themes and it doesn't work when I switch themes either. Even when I re install it with another theme active the menu would still have problems. I was going to try again when I got home from work but I haven't really found any solutions online that have worked, especially with the latest version of WordPress.
Devin Gray
39,261 PointsOkay I finally broke down and just installed a brand new WordPress configuration, new config file, new db, everything, so I added a couple pages to that site and the drag and drop menu still doesn't show up for me to move the page order around, I haven't added any plugins or custom themes or anything yet, just created some empty pages to test the menu feature.
Justin Estrada
34,995 PointsAt that point the only thing I can think that would not allow you to use the WP drag and drop functionality would be that you have Javascript disabled or your operating in an old version of IE. Right Click the page and view page info, to see if you have Javascript disabled.
Devin Gray
39,261 PointsWell it says that my JavaScript is allowed by default. And I cant find any support for a version of wordpress newer than 3.6. Is there another way to organize my menus other than the drag and drop?
Devin Gray
39,261 PointsUgh I feel so stupid!!!! After being unsuccessful with editing the menus in chrome, I had the bright idea of testing it in safari and it works!!! so Now I have to wonder what was keeping the menus from loading in chrome. Any ideas?
Devin Gray
39,261 PointsSame goes for firefox, it works there too :/ I'm a dummy
Justin Estrada
34,995 PointsJustin Estrada
34,995 PointsI'm so glad you fixed it! :) Yes, it's quintessential to developing to look at multiple browsers since they all interpret the code a tad differently. I'm so happy for you and you just opened my eyes to take into account browser plugins, since I hardly every troubleshoot turning them off & on.
I learned from this discussion as well. :) Cheers!