• I need a DropDown Menu for a wordpress theme which works with ‘wp_page_menu’. Or at least one which works dynamically without using any plugins, i have searched all over the internet and i cant find one which works and is not a plugin.

Viewing 10 replies - 1 through 10 (of 10 total)
  • I don’t have an answer for you, but I’m curious:

    What is preventing you from using the wp_nav_menu() function? It’s as easy to integrate as it is versatile.

    It may be better worth your time, effort, and energy learning how to integrate a custom menu into your theme using wp_nav_menu() rather than find a workaround, hack, or perhaps a short-term solution to your problem.

    Thread Starter 1101001

    (@1101001-1)

    I can create a normal menu which displays as a list, but what i want is the child pages to only appear below their parents once the parent is hovered over.. Which is a drop down menu, normally using javascript.

    See the Twenty Ten theme. It does exactly this using wp_nav_menu().

    Ah, I understand. I’m not going to try to convince you to move on to wp_nav_menu();, but what you’re looking to do can be accomplished in with a few lines of code and some CSS. No need for javascript.

    I wasn’t able to find a solution, unfortunately. Good luck!

    Thread Starter 1101001

    (@1101001-1)

    If i put in wp_nav_menu() it doesn’t make it with a drop down, it just makes it into a list. Are you sure twenty ten doesn’t use any javascript to complete this? I am sure you at least have to have a function to replace some
    ‘ul’ tags.
    I am pretty sure it is not all acomplished by simply putting in wp_nav_menu()

    It would be perfect if somebody could tell me how twenty ten acomplishes its drop down menu.

    Are you sure twenty ten doesn’t use any javascript to complete this?

    101% sure. It uses pure CSS.

    Thread Starter 1101001

    (@1101001-1)

    Ok, yes.. It is using pure CSS, i was very confused about making drop downs with CSS, but i have found out how and more interesting features about making wordpress drop down menus from this blog post.

    Hi 1101001.. could you post your findings if possible? i am having similar issues. i themed my site from the Starkers theme and would like to make a drop-down.

    or does somebody know what CSS to pinch for the twentyten theme?
    i would reatly appreciate your help, thanks.

    Thread Starter 1101001

    (@1101001-1)

    I tried to post it before but it didn’t work, so i’ll try again:
    https://kav.in/wordpress-dropdown-menu-wp-nav-menu-css

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Drop Down Menu Using 'wp_page_menu'’ is closed to new replies.