WordPress.org

Ready to get started?Download WordPress

Forums

How do i get child pages into sub menus/dropdown? (1 post)

  1. jackOscripts
    Member
    Posted 3 months ago #

    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?

Reply

You must log in to post.

About this Topic

Tags