• omjn

    (@omjn)


    hi,
    I’m running 1.01, with the drop-down hacks found here, as they were the only way I could get drop down categories to work. Now however, the ‘All’ category seems to have disappeared, and selecting the first category doesn’t actually take me to that category, it does, well, nothing. I can’t seem to find consistent information about drop down categories in the support archives, so I was hoping someone might be able to point me in the direction of how to get them to work, or whether I should wait unitl 1.2 is released in the hope that they might work as documented. anybody?

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

    (@carthik)

    I use a nightly build of 1.2

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

    this works fine for me.
    http://blog.carthik.net
    is where you can see it working.

    shirasade

    (@shirasade)

    Thanks for that code – I’m completely new to WP and not very good with php, but this even I manage… Now I was wondering if it’s possible to create dropdown menus (or lists, for that matter) of just the subcategories of one certain category. For example I have
    – Books
    — fantasy
    — historical
    and so on, and would like to have a list or drop-down menu of all subcategories for the category ‘Books’. How would I go about that? Thanks in advance!

    carthik

    (@carthik)

    the dropdown_cats(); function in itself cannot do that for you. You will have to write some of your own code to do exactly that. It’s fun learning php, give it a shot, and when you solve the problem, share it, so others don’t have to do it all over again. I really wish I could do it, but I am sorry I can’t write that up right now. Have fun 🙂

    Thread Starter omjn

    (@omjn)

    thanks for the reply. by blog is sort of mission critical so to speak, so I am reluctant to run alpha code for now. I guess I’ll just wait for the beta to come out and then maybe give it a whirl. thanks again.

    shirasade

    (@shirasade)

    Thanks – I’ll see if I can find a solution and be sure to share it if I do!

    2fargon:
    Where did you get your sortable archives page? I’m very interested in implementing something similar on my site…

    http://dinki.mine.nu/weblog/b2-img/narchives.phps
    that’s the “nicer archives” file. Save that as narchives.php on your blog-root and you are ready to link to it.

    Lilandra : that sounds like something the author of narchives.php did not account for. I think that’s okay though since you can’t read the private posts anyways. If you want to hide those links from displaying, the code will need to be modified a little.

    as someone who has poured through this forum for about an hour and tried to figure this stuff out – can i just say THANK YOU laughinglizard for making my life EASY. a little more tweaking and i’m done. you are officially my new best friend 😀

    okay, now i have a question. if you look here you’ll see the archives stuck into a psuedo template and for whatever reason they only show the current month.
    but if you look here, which is just the code from above in a php doc, they show. anyone have any ideas as to why?

    no one have a clue at all huh?

    The pseudo-template is a php file, and it might include some file, or have some code in it that limits the posts displayed to those of the current month, in other words, it could be restricting what can be displayed. Look for the answer in the template you included this into…

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘drop down categories – status?’ is closed to new replies.