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

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

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 "Post: How to add support for navigation menus to your...

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 "Post: How to add support for navigation menus to your...

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

View Article

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

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 "Post: How to add support for navigation menus to your...

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 "Post: How to add support for navigation menus to your...

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 "Post: How to add support for navigation menus to your...

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

View Article

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

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 "Post: How to add support for navigation menus to your...

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 "Post: How to add support for navigation menus to your...

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 "Post: How to add support for navigation menus to your...

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 "Post: How to add support for navigation menus to your...

i solved the problem: put this at place for menu

View Article

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

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 "Post: How to add support for navigation menus to your...

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 "Post: How to add support for navigation menus to your...

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

View Article


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

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 "Post: How to add support for navigation menus to your...

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 "Post: How to add support for navigation menus to your...

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

View Article

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

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 "Post: How to add support for navigation menus to your...

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

View Article

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

Oh, it is making the call to the fallback in the wp_nav_menu parameters. No problems with that then. The code works for me as it is. Was what I needed actually... thanks.

View Article


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

:-)

View Article


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

the first tutorial (of three) that worked... :)

View Article

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

Hello Dear i read your blog, its really nice i have a query and i know that you know the answer of this i am using wp nav menu to show 6 navigation menu in header here http://...

View Article

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

Hello Vaseem, If you need general wordpress support I'd recommend you check out http://wordpress.org/support/ or http://codex.wordpress.org/IRC

View Article


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

Do you have any ideas why my wp nav function will not accept parameters? I don't think it has anything to do with your function because even if I add it directly to the header.php without worrying...

View Article

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

I'd guess that you haven't defined the nav menu in the admin properly and that wordpress falls back to listing pages.

View Article

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

One way to adjust so not have to list separate classes for container in wp_nav_menu and wp_page_menu is this: function mytheme_fallback() { $output = '<nav class="pagemenu">'; $output .=...

View Article

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

Hello Nicolas Iam a newbie, but I want to figure out, is it possible to make a custom Nav Menu inside our Post? I mean there is a Nav Menu on my Post. if its possible, please get me there .. Thanks...

View Article



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

You might be able to do this by writing a custom shortcode and calling wp_nav_menu or one of the related functions in it. Something that returns markup and doesn't output it... good luck!

View Article

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

plz check it menu option will not appear on my dash board in word press.

View Article
Browsing latest articles
Browse All 62 View Live