
|
|||
|
Hi,
To help with the large number of categories I have I want to include a multi select search box where you select box 1 and box 2 is pre-populated based on your decision. I know how to code this and have a version workking but I need some help:
Thanks in advance Graham
|
|
|||
|
I am looking to do something as shown in this image:
screen.gif Essentially I will pull my categories and subcategories into this select form. I want to know how I can place this into the header and give it a look and feel consistent with the site. |
|
||||
|
Okay, I got the basic version of it done. There's no styling, and there isn't a separate drop-down for child categories yet (child categories should be searched along with the parent of it).
![]() If anybody wants this beta version of it, pm me. I'm not releasing it to public yet as I don't think it's ready (even though I've gotten it down to 2 queries, 1 to weed out only the categories, and one for the names) Also, there's a live demo of it on my website if you want to try it out first.
__________________
Last edited by mc2w; 08-24-2008 at 12:34 AM. |
|
||||
|
Heh, just thought of a few reasons why it's not suitable for public release:
Stores ALL terms (including tags) into an array, so that's a problem. Also, it displays categories that have no posts in them, so those seem to be pointless. Lastly, I haven't figured out how to display categories in alphabetical order. I'm trying to find the wp_list_categories function so I can see how wordpress pulls categories from the database, and hopefully cleanse my plugin.
__________________
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search Suggestion | mc2w | Suggestion Box | 2 | 08-17-2008 04:43 PM |