WordPress.org

Ready to get started?Download WordPress

Forums

how to display post titles in drop down (2 posts)

  1. henry2rhyme07
    Member
    Posted 2 years ago #

    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....

  2. henry2rhyme07
    Member
    Posted 2 years ago #

    the complete code is listed here
    http://pastebin.com/zfRd6eHQ

Topic Closed

This topic has been closed to new replies.

About this Topic