116 reputation
14
bio website tcsavage.org
location London, United Kingdom
age 22
visits member for 3 years, 7 months
seen Feb 15 '11 at 14:23

Computer science graduate and Haskell enthusiast.

I'm currently doing time as a front/backend web developer with PHP, but would rather be working on compilers, game engines or developer tools.


Feb
13
awarded  Notable Question
Mar
9
awarded  Popular Question
Aug
25
comment wp_nav_menu() custom container and container_id
Ah ok. For the time being I'll just output the menu to a string and use good old str_replace to make it work.
Aug
25
awarded  Student
Aug
25
revised wp_nav_menu() custom container and container_id
added 222 characters in body
Aug
25
awarded  Editor
Aug
25
revised wp_nav_menu() custom container and container_id
added 155 characters in body
Aug
25
comment wp_nav_menu() custom container and container_id
Curiously, if I change menu_class it alters the div's class (I expected the div to be the container) but changing menu_id does nothing.
Aug
25
comment wp_nav_menu() custom container and container_id
This is a fresh install of Wordpress 3.0.1. No plugins or strange confuguration. The only thing I've changed is the theme.
Aug
25
comment wp_nav_menu() custom container and container_id
Thanks for the answer but wp_nav_menu(array('container_id' => 'topnav' )); still won't work right. Looking at this post (not the Codex) justintadlock.com/archives/2010/06/01/… where it explains the parameters: "container: The element that wraps around the list. The default is div but can be changed to nav if you’ve moved on to HTML 5."
Aug
25
asked wp_nav_menu() custom container and container_id
Aug
25
awarded  Autobiographer