WordPress.org

Support

Support » How-To and Troubleshooting » How do i get child pages into sub menus/dropdown?

How do i get child pages into sub menus/dropdown?

  • jackOscripts
    Member

    @jackoscripts

    I am new to wordpress and currently developing a theme where i am using the code below to call dynamic menus

    <ul>
    <?php wp_list_pages("title_li="); ?>
    </ul>

    when i do this the child pages also appear in the menu.I want to put the child pages in the sub menu as dropdown. How should I go about this?

  • The topic ‘How do i get child pages into sub menus/dropdown?’ is closed to new replies.