Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am using wp_dropdown_pages() function to show my all pages in drop down style, and child pages little indent. But the problem is that when i click on any page it not do any thing. So how i make it in working so that when user click on page it take the user to that page. Here is my code

<li id="mobile_menu">
     <?php wp_dropdown_pages(); ?>
</li>

Thanks

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.