3 reputation
2
bio website fb.com/meibi.shashin
location Indonesia
age
visits member for 11 months
seen Nov 7 '13 at 1:19

Smartphone (iPhone and Android) programmer from Indonesia. Well versed in C#.


Sep
24
awarded  Autobiographer
Nov
7
accepted How do I programatically insert a new menu item?
Nov
5
awarded  Scholar
Nov
5
comment How do I programatically insert a new menu item?
It didn't work because I didn't have a user defined menu. After I created my own menu, it works. Thanks
Nov
5
comment How do I programatically insert a new menu item?
OK, now it works after I created a user-defined menu. Thanks a lot!
Nov
5
comment How do I programatically insert a new menu item?
I'm using wordpress's theme (twentytwelve) and what I'm trying to do is to change the theme's top menu. So the menu appears in the final HTML with links to my pages as its menu items, but I need to put my own menu item programatically.
Nov
5
comment How do I programatically insert a new menu item?
Thanks, but nothing happens. I even tried to put your code verbatim just before my theme's wp_nav_menu call, and still no effect.
Nov
5
comment How do I programatically insert a new menu item?
Thanks, but it only changes <div class="nav-menu">...</div> to <div class="menu">...</div> So I still couldn't put my contents because wordpress already spits the end of the menu
Nov
5
asked How do I programatically insert a new menu item?