• g_sula

    (@g_sula)


    I use this code <?php wp_list_pages(‘sort_column=menu_order&depth=2&title_li=’); ?> to show child pages, but there is one problem: the child pages are shown permanently under their parent page but I’d like them to appear when rollover and disappear when rollout the parent menu.

    has anyone any advice?
    thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • davidandre

    (@davidandre)

    Hi g_sula,
    i think an easy way would be to use css with a{visibility:hidden}
    and a:hover{text-decoration,font-size,color….}

    i am sure there is an other way but this one should work

    Thread Starter g_sula

    (@g_sula)

    Where Should I put this style? I cannot find css concerning child categories in styles.

    davidandre

    (@davidandre)

    check this plugin: wp-dTree;
    might help

    Thread Starter g_sula

    (@g_sula)

    I’d like subpage buttons in header menus to appear when rollover and disappear when rollout the parent page button.
    With wp-dTree I didn’t get what I want. Is there any other ways to do it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘parent and child pages’ is closed to new replies.