Quantcast
Channel: Comment feed for "How to add support for navigation menus to your WordPress theme"
Browsing all 62 articles
Browse latest View live
↧

Comment on "How to add support for navigation menus to your WordPress...

Don't be to exited about the new menu system. It is is intentionally incomplete. For example there is NO filter to filter the generated array of menus items. So, say goodbye to sub-menu and portions of...

View Article


Comment on "How to add support for navigation menus to your WordPress...

Yeah. I'm really disappointed by the menu system. I've worked with it for maybe 30 minutes and found several flaws and omissions. The method I describe in the post is useful because users who want to...

View Article


Comment on "How to add support for navigation menus to your WordPress...

Lox - I believe the developers addressed that isssue in 3.0.

View Article

Comment on "How to add support for navigation menus to your WordPress...

Yeah, I think this is the relevant last minute changeset. It's not like somebody is intentionally trying to make the nav menu system imperfect ;-)

View Article

Comment on "How to add support for navigation menus to your WordPress...

How can we get the menu array or object to customize it the way we want. like we could do get_pages() to get pages is there any function like get_nav_menu().??

View Article


Comment on "How to add support for navigation menus to your WordPress...

wp_nav_menu() can return instead of printing. If you'd rather get some data structures, a quick look at the source seems to indicate that one of the wp_get_nav_menu*() could do what you want.

View Article

Comment on "How to add support for navigation menus to your WordPress...

add_theme_support( 'nav-menus' ); has changed to add_theme_support( 'menus' );

View Article

Comment on "How to add support for navigation menus to your WordPress...

Thanks John! Looks like this has changed before the 3.0 release. I updated the article. nav-menus still works but it apparently has been removed from the docs.

View Article


Comment on "How to add support for navigation menus to your WordPress...

Do you have links to a better description of add_theme_support () -- i.e. information about where this actually is useful? Can we add our own functionality in here? For example, could a plugin define...

View Article


Comment on "How to add support for navigation menus to your WordPress...

The only docs I'm aware of are http://codex.wordpress.org/Function_Reference/add_theme_support and the source of course http://phpxref.ftwr.co.uk/wordpress/nav.html?_functions/add_theme_support.html...

View Article

Comment on "How to add support for navigation menus to your WordPress...

hi, very promessing! especially since i'm planning to call anchors with submenu items (which works in ten twenty). to get it into my theme didn't work yet. i included what you say goes into the...

View Article

Comment on "How to add support for navigation menus to your WordPress...

i solved the problem: put this at place for menu

View Article

Comment on "How to add support for navigation menus to your WordPress...

Hrm. Sorry about this, but WordPress isn't smart enough to encode tags in comments etc, it just deletes all of that silently :-( I'll look into fixing that.

View Article


Comment on "How to add support for navigation menus to your WordPress...

This is highly annoying. WordPress doesn't simply hide tags it doesn't like, it deletes them from the database as well. No way to recover your comment. Anyway, it should be fixed now <?php...

View Article

Comment on "How to add support for navigation menus to your WordPress...

thank you for your quick reply! here again the code at pastepin: http://wordpress.pastebin.com/eyuRMJYH

View Article


Comment on "How to add support for navigation menus to your WordPress...

Ah, I see. I have updated the article, your pastebin doesn't use the custom function that I created for backward compatibility, but it will work if you don't need that.

View Article

Comment on "How to add support for navigation menus to your WordPress...

Thanks Nicolas. It worked great for me ... "straight out of the tin" and just what I was looking for. I was able to add a 2nd menu to the theme I was using in moments! I really appreciate the info! Ian

View Article


Comment on "How to add support for navigation menus to your WordPress...

That's great Ian! I'm glad I could help.

View Article

Comment on "How to add support for navigation menus to your WordPress...

Why won't it work to simply have the wp_page_menu call after the else rather than a new function? I gave it a try and it doesn't work. Can anyone shed light on this for me? Thanks...

View Article

Comment on "How to add support for navigation menus to your WordPress...

How does it not work? Also, the fallback is explained in the post.

View Article
Browsing all 62 articles
Browse latest View live