category permalink with dropdown (2 posts)

  1. Roy
    Posted 7 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
    Posted 7 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:

    	<form action="<?php bloginfo('url'); ?>/" method="get">
    	$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>

    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