Daniel’s DropDowns 2.1 - WordPress Plug-In

Version 2.1 of Daniel’s DropDowns has been released. This fixes a problem introduced with the 2.5-series of WordPress - the output of the WordPress tag changed, so the search-and-replace portion that added a “Select Category” entry didn’t work. This has been fixed in version 2.1. I also corrected a small bug that caused the first entry in the category list to be selected if a default wasn’t specified.

It can be downloaded from the WordPress Plug-In Directory. Enjoy!

7 Comments »

  1. Boris Badenof said,

    May 10, 2008 at 6:37 pm

    Hi Daniel,

    I am trying to place the category function of the drop down Wordpress plugin on my side bar. I am using the following code:

    The small problem I am having is with the width of the drop down box. It’s slightly to wide at least appearance wise for my side bar. Is there an easy way to reduce the width? If you have a response I would be grateful if you could respond to my email. Thanks for the great plugin!

  2. Daniel said,

    May 10, 2008 at 8:22 pm

    Your code got eaten in the comment, but that’s OK. I had the same issue with one of my themes. Put something like the following in your style.css for your theme.

    #ddd_category_form select {
        font-size: 90%;
    }
    

    You can also style the button by using “#ddd_category_form button” and the archive dropdown, if you’re using it, by using “#ddd_archive_form select” and “#ddd_archive_form button”.

    You can play with that percentage to make it fit. Keep in mind that IE6 will probably require a smaller font size to make it fit than Firefox or IE 7 do, if you care about that.

    I hope that helps - let me know if you need more help. :)

  3. Brian Jarrett said,

    June 2, 2008 at 11:05 pm

    Great plugin, very well written. Easy to install and configure and helped me shrink my category list down considerably. Thanks!

  4. Jon said,

    July 29, 2008 at 5:19 pm

    hello,

    is it possible to save state of what user had chosen? and display it in select box when the page is reloaded.

    and one more thing, is it possible list posts like this?

    thank you!

  5. Daniel said,

    August 4, 2008 at 7:23 am

    Jon,

    I’ll have to look at that and see. One would think that you should be able to access the “current” category or month and define it as selected, but I haven’t tried that yet. As far as a list of posts, sure, anything’s possible - but again, I’d have to look into it to see if there’s an easy way to do it. Are you looking for something like a dropdown that always shows the last 10 (or some number of) posts, or are you looking for a tiered dropdown system, where you pick the top-level, then the next level loads with the posts that would have been returned on the page?

  6. Monika said,

    November 12, 2008 at 4:53 pm

    Hi your plugin shows tags as cats how can I use your plugin only for cats ?

    thanks a lot

    Monika

  7. Monika said,

    November 12, 2008 at 5:08 pm

    oh my dear -please delete my comment above — I have copied the false function -sorry ;)

RSS feed for comments on this post · TrackBack URL

Leave a Comment