• Hello again!

    I have 3 parent categories: Online, Offline + Broadcast.

    I have child categories attached to each of those (half a dozen for each).

    What I would like to do is display the 3 parent categories as 3 radio buttons. Once clicked/search is submitted the relavant child categories will display as radio buttons (I guess I’m asking for conditional statement support).

    Any help would be appreciated.

    Thanks,

    Carl

    https://www.ads-software.com/extend/plugins/ajax-wp-query-search-filter/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TC.K

    (@wp_dummy)

    The easiest way that I can think of, is create search form for each child category, and display the form upon search by parent catagory clicked. Of course, you have to use javascript and maybe ajax to control the conditional statement.

    Thread Starter MrCarlLister

    (@mrcarllister)

    Hey thanks for the reply,

    I have another question around this situation: can I just display the parent categories?

    At the minute it is displaying the parent and child categories all together. If I can hide the children ones I may be able to work around it.

    Cheers,

    Carl

    Plugin Author TC.K

    (@wp_dummy)

    So far, you will have to editing the plugin in order to do this. It is not recommended for future update sake.

    I will add a filter for it if in the next release so that you can easily do what you want.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘'Category' – Parent and Child’ is closed to new replies.