Support » Fixing WordPress » Coding for Subpages

  • I’m creating a blog for a friend and I want it to allow her to be able to create subpages if she desires. I’m using a template called voodoo dolly, but I’ve altered it quite a bit to fit my needs. Anyway I can’t figure out how to get the subpages to drop down when the parent page is scrolled over. And it seems like a simple task of just finding the answer online, but I’ve been searching for the last hour now and everything I came up with either didn’t help or was over a year old and the codes posted no longer existed for whatever reason. All I need is for someone to tell me what to type and where. I’m used to CSS and HTML but PHP is totally new to me. If you need any part of my code please tell me what and I’ll post it. Thanks so much in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator cubecolour



    You can use the pixopoint menu plugin to add a drop down menu if your theme was not designed with one originally.

    Hi csisball,

    I guess your theme is using with the wp_list_page of the 2.9 wordpress version. So open your header.php and localize the wp_list page function and change the depth like that:
    <?php wp_list_pages('title_li=&depth=0'); ?>

    Then you ll have to deal with css. to show the child page just when hover.
    Hope it helps,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Coding for Subpages’ is closed to new replies.