The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Dropdown_cats permalink bug (6 posts)

  1. Arlo
    Posted 11 years ago #

    I'm using dropdown_cats in my sidebar, and it works fine, save for one problem: It only works from the main url. If I'm on any pages with a nice permalink, it tacks the cat_ID onto the end of that url and just returns me to the same page.. Example:

    "www.foo.com/cat=10" works fine, but if I'm at "www.foo.com/category/bar/" it tacks "cat=10" onto the end of the permalink, which of course doesn't work.

    Any ideas how to fix this?

    Oh also- I thought the default behavior was for dropdown_cats was to show the category name of the category you're currently viewing, but this doesn't seem to work either. The Codex says "Sets the default selected category ID number. Defaults to current category."..or am I misunderstanding that?


  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

    Your WP version please ?

  3. Arlo
    Posted 11 years ago #


  4. Arlo
    Posted 11 years ago #

    podz-- have a chance to look at this?

  5. Arlo
    Posted 11 years ago #

    I promised myself I wouldn't be the type to bump a post, but this bug is a big problem for me. Can anyone confirm this problem, and/or suggest a solution? I assume the problem is that dropdown_cats has a problem with permalinks, but I would think that WP would account for this in the tag...no?

    D'oh- nevermind. The codex has a hack fix (I'm hoping someone is working on a more elegant fix that preserves permalinks)

  6. davejenbarnes
    Posted 11 years ago #

    I just fixed this myself just mere moments ago... for anyone else running into this problem, check out the fix here:


    though I had to replace the mentioned /index.php with /wordpress/ since I have multiple templates for different pages and not all of them refer to index.php

Topic Closed

This topic has been closed to new replies.

About this Topic