WordPress.org

Ready to get started?Download WordPress

Forums

wp_dropdown_pages (1 post)

  1. NazarA
    Member
    Posted 1 year ago #

    Hi all!

    I cant figure out the issue with this function, I have it implemented into my website (www.blueharlequin.com) and although it shows, it wont link me to the pages. Looking at the source code generated by the browser it shows that none of the titles are linked to anything.

    Browser shows this:

    <select name='page_id' id='page_id'>
    	<option class="level-0" value="5">About</option>
    	<option class="level-0" value="13">Contact</option>
    	<option class="level-0" value="2">Home</option>
    	<option class="level-0" value="7">Portfolio</option>
    	<option class="level-0" value="17">Services</option>
    </select>

    To view it, reduce the width of the browser till you hit the 800px mark (The website is responsive)

    Also how do I show the pages in order of their value? I would like the lowest value to show first, so it'll look like "2,5,7..."

    Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic