Categories Select Chain in post submit form for a WordPress theme

Discussion in 'Programming' started by WaleedoSlayer, Aug 31, 2010.

  1. #1
    Hi everyone,

    I have a ClassiPress WordPress theme, and want to change how the ads categories are selected when posting an ad..

    The categories drop-down is currently formated this way:

    Parent category 1
    -Subcategory 1
    -Subcategory 2
    -Subcategory 3
    -Subcategory 4
    Parent category 2
    -Subcategory 1
    -Subcategory 2
    -Subcategory 3
    -Subcategory 4

    I want to separate the subcategories from the parent categories, so that when a parent category is selected, its subcategories will populate..

    What I want is just the way categories are selected when posting an Ad in eBay..

    I'm aware that this requires an Ajax code to respond to the change in selection, but I'm just unable to retrieve the categories from the WordPress database, because categories are found in one table, and categories relationships are in another..

    I found a script which is similar to what I'm looking for.. but I still cant integrate it with the WordPress db.. here is a demo of that script:

    http://remysharp.com/wp-content/uploads/2007/09/select-chain.php

    however, the containers should only appear if a parent category is selected..

    for example, if I selected a parent category, another container which contains its subcategories will appear next to it.. and if a category is selected from the 2nd container, a 3rd container containing its subcategories will appear next to it.. and so on..

    I've attached some photos (taken from Dubizzle.com) to illustrate my request exactly..

    I'm offering $10-$15 for anyone who can do this task accurately..

    contact me on MSN: w_qidan@hotmail.com

    Please only serious and professional programmers can contact me

    Thank you
     

    Attached Files:

    WaleedoSlayer, Aug 31, 2010 IP