Results 1 to 3 of 3

Thread: Default permalink displays when selecting from dropdown

  1. #1
    Thread Starter
    Member gibbere's Avatar
    Join Date
    Jan 2011
    Location
    United Kingdom
    Posts
    60
    Thanks
    2
    Thanked 4 Times in 2 Posts

    Default permalink displays when selecting from dropdown

    Hi,

    Can anyone help with this please. I've created a dropdown menu to display child_of category results.

    The actual page and results display without any problems. The issue is that the URL is returning the default permalink i.e.

    www.mydoman.co.uk/?cat=899

    and not

    www.mydomain.co.uk/category/sub-category/

    The strange thing is that if I click on the category link in the breadcrumbs I am given the pretty permalink.

    Here is the code for the dropdown menu:

    <form action="<?php bloginfo('url'); ?>/" method="get" id="searchform" class="form_search">
    <?php $select = wp_dropdown_categories('show_option_all=Select a Category&selected=0&show_count=0&orderby=name&echo =0&class=searchbrands&child_of=898');
    $select = preg_replace("#<select([^>]*)>#", "<select$1 onchange='return this.form.submit()'>", $select);
    echo $select;
    ?>
    <noscript><input type="submit" value="View" /></noscript>
    </form>

    Any ideas why this would happen?

    Many thanks

  2. #2
    Thread Starter
    Member gibbere's Avatar
    Join Date
    Jan 2011
    Location
    United Kingdom
    Posts
    60
    Thanks
    2
    Thanked 4 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    davidhughes3d's Avatar
    Join Date
    Feb 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] images are not displayed by selecting one in the ads
    By vadocor in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: March 11th, 2011, 11:38 PM
  2. Category Widget Displays Sub Categories
    By gomeetpete in forum ClassiPress General Discussion
    Replies: 0
    Last Post: April 9th, 2010, 03:28 PM
  3. SexyBookmarks displays twice.
    By ejikoala in forum Help Using ClassiPress
    Replies: 2
    Last Post: April 4th, 2010, 10:38 PM
  4. SexyBookmarks displays twice.
    By ejiKoala in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: December 31st, 1969, 07:00 PM