Viewing 3 replies - 1 through 3 (of 3 total)
  • Permalinks are created when a person visits your site. In the most basic explanation, when they visit, the browser checks the .htaccess file which instructions the bowser to display the “pretty permalinks” link in the address bar. These are also created, using WordPress’s functions with the “post slug” on the Write Post panel.

    Is the drop down cats function in your actual page set there with a plugin or by the template tag in your template file? Or are you talking about choosing from a drop down menu in your Administration Panels?

    YOu can see more information on this at https://codex.www.ads-software.com/Template_Tags/dropdown_cats

    Thread Starter brittanie

    (@brittanie)

    I am using the exact code from the link you have provided for dropdown without a submit button. So, it’s a template tag, not a plug-in. Take a look at my test site and you’ll see what I mean. If a visitor clicks the category link UNDER the post (i.e. in the post meta data) they get the pretty permalink. But if you select the *same* category from the drop-down in the sidebar, you get the other permalink with the category ID number. THE PAGE DOES NOT CHANGE, only the url in the navigation bar changes. It’s as though one page has two seperate urls, or perhaps there are two identical pages with different urls.

    The codex does not say anything about dropdowns with pretty permalinks. It’s small request, I know, because the drop-down works as intended, but it’s driving me crazy.

    Here is my code:
    <form name="catform" action="/index.php" method="get">
    <select name="cat" onchange="submit(this.form)">
    <option value=''>Select Category</option>
    <?php dropdown_cats('hide=0'); ?>
    </select>
    </form>

    I’m using WP 1.5, and in the code about I have hidden category 0, or “All.’ But this issue began even before I set that parameter.

    did you ever get a resolution for this? it’s driving me mad too…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘pretty permalinks w/ dropdown cats’ is closed to new replies.