how to display post titles in drop down
-
I have post type Dealers and a taxonomy Manufacturer i have a list of manufacturers and relevant posts. Im trying to display the list of manufacturers in a drop down, when a manufacturer is selected say: Audi and based on the selection i have to populate the post titles related to Audi in another drop down. below is the code
customsearch.php
[code moderated - use the pastebin for any code over the forum limit of 10 lines]
functions.php
[code moderated - use the pastebin]
now what im getting is: when i select the 1st drop down i populate all the taxonomy terms and when i select the 2nd drop down gets populated with the recent post titles but not with the relevant post titles, kindly help me....
- The topic ‘how to display post titles in drop down’ is closed to new replies.