• i’ve been so looking forward to taking advantage of the new custom menus function in the new release but now find that my theme doesn’t nativey support it. aaaaaaaaaaaahhhhhh!!

    i’ve spent so much time on this theme i can’t turn back, but still really really need the custom menus.

    my categories currently reside above my logo on the left hand side of the header, and the pages exist below.

    what i’m looking to have is a mixuture of pages and categories in each line so that it looks like this:

    top: home….videos…..articles…..about

    bottom: latest…..events…..connect…..evolve…..portal

    http://www.transformingscotland.com

    can ayone please offer some help or advice? it would be greatly appreciated as the site launch date is coming up soon and i’m so hoping to have this worked out having spent days on it already

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter Ronnie

    (@ronniesblog)

    good spotting, thanks for your time
    i get the same message however

    Thread Starter Ronnie

    (@ronniesblog)

    does anyone know of any plugins that may help?
    i’ve search and searched but haven’t found any

    Hi Guys!

    I am just diggin’ into the menus too, and am having the same issues as ronniesblog.

    However, I found Justin’s article to be just what I needed to get this working. Check out his helpful and thorough post on this here:
    http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus

    Specifically adding this code to the functions.php page:

    add_action( 'init', 'register_my_menus' );
    
    function register_my_menus() {
    	register_nav_menus(
    		array(
    			'primary-menu' => __( 'Primary Menu' ),
    			'secondary-menu' => __( 'Secondary Menu' ),
    			'tertiary-menu' => __( 'Tertiary Menu' )
    		)
    	);
    }

    So my final looks like this:

    <?php
    add_theme_support( 'nav-menus' );
    add_action( 'init', 'register_my_menus' );
    
    function register_my_menus() {
    	register_nav_menus(
    		array(
    			'primary-menu' => __( 'Primary Menu' ),
    			'secondary-menu' => __( 'Secondary Menu' ),
    			'tertiary-menu' => __( 'Tertiary Menu' )
    		)
    	);
    }
    ?>

    Hope that helps πŸ™‚

    How do i put both ‘Primary Menu’ and ‘Secondary Menu’ in a horizontal meny under one another? I want no dropdown like in theme 2010. When i mark a menu item in primary i want secondary to show childs of the primary menu. Can’t find info anywhere. Thanks for help.

    I’ve been able to get the menus to appear individually with this code in the header.php
    <?php wp_nav_menu( array( 'theme_location' => 'primary-menu' )); ?>

    or

    <?php wp_nav_menu( array( 'theme_location' => 'secondary-menu' )); ?>

    but I can’t make a drop down menu. How should I tweak it so that the secondary-menu appear on hover?

    @1721media: assuming your menu is correctly setup in appearance|menu (ie., with a second level) the “drop down” functionality is a feature of your site styling and maybe some js.

    Read up on superfish and friends… but that is really outside the scope of this thread…

    @1721media: assuming your menu is correctly setup in appearance|menu (ie., with a second level) the “drop down” functionality is a feature of your site styling and maybe some js.

    So what you’re saying is that creating drop-down menus is handled exactly the way it was before the custom menu option, i.e., create that functionality yourself with CSS or JS, use a plugin, etc. THAT part is still work-intensive. Yes?

    I was hoping that part of the whole process would be handled by the Custom Menus too, but that may very well come later and besides, this new innovation is already an awesome work-saver. πŸ™‚

    So what you’re saying is that creating drop-down menus is handled exactly the way it was before the custom menu option, i.e., create that functionality yourself with CSS or JS, use a plugin, etc. THAT part is still work-intensive. Yes?

    Incorrect. Use wp_nav_menu with the default fallback of wp_page_menu and the dropdowns/flyouts can be handled using pure CSS.

    @esmi: Yes, of course. But you still have to style/create the CSS functionality or grab it from whatever resource you use, yes? (I often save time by relying on Stu Nicholls’ programming genius at cssplay.co.uk instead of slogging through things myself.)

    I had found the Shailan Dropdown Menu Widget to be pretty quick and easy – I was hoping I’d still be able to use it. Will that be the case, do you know? Will the usual widgets still work?

    You can still use whatever menu plugins you like but most (all?) won’t work with custom menus. The usual widgets and template tags still work as per usual.

    ok everyone. I hope someone can help with this.
    i have worked out how to get my tertiary menu to appear on my blog pages only (which was my goal)
    however, i don’t know how to make it look like my main nav menu (same look and feel. all menu items in a nice row rather than listed one below the other)
    is there a tutorial on this anywhere?
    thanks!

Viewing 11 replies - 16 through 26 (of 26 total)

The topic ‘wordpress 3 – custom menus’ is closed to new replies.