• I am using
    <li id="categories">Categories:

      <?php dropdown_cats(option_all); ?>

    which gives me a nice dropdown, but when you select a category nothing happens. Do I need a button there?
    Question 2 –
    If I kill the General category, where will posts go? I have some in general, but mainly because they were imported that way (from MT) or because I did not uncheck the box on post and they have other categories.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The code from my blog is

    <li id="categories">Categories:
    <form action="<?php echo $PHP_SELF ?>" method="get">
    <?php dropdown_cats(); ?>
    <input type="submit" name="submit" value="go!" />
    </form>


    so there is a go! button you are missing.

    Thread Starter atmasphere

    (@atmasphere)

    Once again – thanks! That fixed it!

    AFAIK, you can’t delete the General Category. I’ve tried. It won’t let you because it’s the “Default”. Even if you have no posts in it and you make another category “default” it won’t let you delete it. πŸ™
    And I can’t get anything to show up in the dropdown when I try your code. πŸ™

    What version of wordpress are you using? Do you have more than one category? Can you provide a link to the errant blog?

    Oops, you need
    <?php dropdown_cats();
    not
    <?php dropdown_cats(1,'All Categories','name','asc',0,1,0);

    If I do that, though, I have no options. I want all of the categories to show, empty or not, and I want a post count after each one. And, that bit of code without options doesn’t work. All I get is “All” and not even the “General (0)”.

    Categories with no posts in them are not pulled up for display on the main page.
    If you want that to happen, you would have to hunt down the source code for the dropdown_cats() function and change it I guess.

    Thread Starter atmasphere

    (@atmasphere)

    I just don’t use General as a category intentionally, so a few since I switched are in there. My imported posts though I believe also got tagged as they came in from MT.
    I’d like a mass category admin page so you could do bulk filing.

    Okay, well… regardless, the dropdown still isn’t working. Every category but one has tons of posts in it. πŸ™‚ And if categories with no posts aren’t pulled up for display on the main page, why does dropdown_cats offer that as an option?

    hi.. i’m wondering whether it’s possible to have the dropdown_cats function MINUS the “submit” button… so that it would just go straight to the category you land on. how could i go about this?
    any suggestions would be appreciated..

    thank you much, oriecat! πŸ™‚

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘two category questions…’ is closed to new replies.