WordPress.org

Ready to get started?Download WordPress

Forums

category permalink with dropdown (2 posts)

  1. Roy
    Member
    Posted 5 years ago #

    I have posted about the same subject quite some time ago. It was solved, but came back after upgrading from 2.6.1 to 2.6.2.

    When I choose a category from the category widget dropdown, not the "pretty permalink" is displayed, but what looks like a default permalink and it doesn't work (the page reloads). When I "manage" "permalinks" to default and back to custom, the dropdown works for a short while only to return to the problem a little later. When I don't use the dropdown, there is no problem.

    Any ideas?

  2. Tammy Hart
    Member
    Posted 5 years ago #

    I am having this same exact problem here: http://www.bahairights.org

    No matter what category I choose, I get this page: http://www.bahairights.org/category/

    When i tried entering it without the widget with this code:

    <li>
    <h2>categories</h2>
    	<form action="<?php bloginfo('url'); ?>/" method="get">
    <?php
    	$select = wp_dropdown_categories('show_option_none=Select Category&show_count=1&orderby=name&echo=0');
    	$select = preg_replace("#<select([^>]*)>#", "<select$1 onchange='return this.form.submit()'>", $select);
    	echo $select;
    ?>
    	<noscript><input type="submit" value="View" /></noscript>
    	</form>
    	</li>

    I still got the same result.

    When I change the permalinks to the default, the dropdown works. This widget works on other sites without any problems. Can anyone help?

Topic Closed

This topic has been closed to new replies.

About this Topic