ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Taxonomy Picker Plugin for WordPress

Updated on March 1, 2013

Allow Readers to Build Queries from Your Custom Taxonomies

Taxonomy Picker is a widget which you can include in your sidebar to help visitors build complex queries using categories and your custom taxomies. Full details are listed below.

For example on my site I use it to allow users to:

  • Find all posts containing the word Egypt within the Books category
  • Find all posts within the Magazine category which match "Valley of the Kings" in my "Where?" custom taxonomy which also include the word Tutankhamun

The example image shown is from a live implementation at Egyptological Online which you can use as a demo site to try it out in practice. In this site, I only show the plugin on certain pages - the example shown here is from the main Find page.

Taxonomy Picker Admin Screen (v1.8)
Taxonomy Picker Admin Screen (v1.8)

Custom Taxonomies Shown

Configuration of your widget

The Taxonomy Picker WordPress plugin includes a widget which can be displayed in any widget area on your site which shows a combination of your custom taxonomies and category. Each is shown as a dropdown so that your visitors can pick any value. Queries are built by combining these as an "and" operation. The widget also includes a free text search box.

The title of the widget is free text - just enter whatevet text of HTML you wish shown. The title you enter will be displayed within tags of class "widget-title". As of v1.8, you can also hide the text search box if you don't want it.

The widget itself can be configured to show or hide category and each custom category. Just tick the items you wish to show in the widget. The picture shows the top of the configuration panel for the widget in the WordPress admin dashboard. All your custom taxonomies will be shown in the list and available for you to pick but any can be hidden from your visitors.

As of v1.8 you can set a value for any taxonomy which will be the initial value for the widget. If the taxonomy isn't shown in the widget the value will still be passed and will be fixed so it becomes a fixed part of the final query with the reader only choosing from other taxonomies. If you scroll the section to the right, you can also set the sort order for the terms displayed for that taxonomy

Choose which categories are avialable to your visitors
Choose which categories are avialable to your visitors

Category Restrictions

On many sites you will want all categories to be available to your visitors and shown in the widget. Jus pick the "All" option. On segmented sites, you might want to select just certain categories in which case use the "Incl" option and enter a comma separated list of the category IDs you wish to show. For instance, if you have a News category you might wish to restrict the widget shown on this part of the site to query this category only.

Equally, I usually have a categeory of test posts which I wish to exclude. To do this use the "Excl" option and enter the IDs of the categories you do not want to be shown as a comma seprated list of IDs.

Pages are selected in a similar way but the idea is different: this controls where the widget is shown. If you want it to shown everywhere select All but you can also enter a list of page IDs to restrict display to certain pages. I use this to show different configurations of the widget on different parts of my site. If you need more than this you should consider using a plugin like Widget Logic.

Filter Hooks

I have started adding hooks, mostly by special request. I will probably move the documentation for these and the styling elsewhere sometime soon as this page is getting too big, but for now there is just one filter

tpicker-search-text

Use to set the text of the label for the search text. It should only be needed if you don't want it to the same as the text on the Search button (e.g. if you want to set that as Submit in the admin panel), or to override translation. It is applied immediately before application. Example:

add_filter('tpicker-search-text', 'my_tpicker_search_text');

function my_tpicker_search_text( $text ) {

    return 'Keyword Search Text';

}

Taxonomy Picker Highlights

Allow your readers to use dropdowns to build a custom query from your WordPress custom taxonomies

Taxonomy Picker Admin Screen - v1.5 admin screen

Taxonomy Picker Admin Screen (v1.5)
Taxonomy Picker Admin Screen (v1.5)

You will find the Taxonomy Picker admin screen in the new Kandie Girls section at or towards the bottom of the admin menu.

Pre-pack Taxonomies

If you are used to coding then you will now how to add your own custom taxonomies. The plugin will work with any you add.

As of v1.8, if you don't code then there is an option in the Admin to turn on an additional admin screen on which you can enable custom taxonomies just by ticking boxes. When saved, these will be available across your site. Hierarchical ones work like Categories; flat ones like Tags. Select the type you want.

Of course the exact name you want might not be avaialble in the pre-pack list. Chose the closest alternative and add a label of your own, which is what the user will see. For instance, I used the "writer" custom taxonomy for Photographer on one of my sites.

The admin screen for this section is very ugly at present. I will tidy it up but I wanted to get the functionality released and worry about prettfying it later.

Version History

Log of major changes

Version 1.13.8

Fixed bug in basic widget which was not working correctly on empty searches with included categories. It now shows a search with the included categories like the premium version. (It is debatable whether this is the obvious behaviour or not and maybe the premium version ought to have an option to ignore included/excluded categories on an empty search and use the specified URL instead.)

Version 1.12.0

Major changes to the beta/premium widget both to improve the code and remove bugs, but also to add post_type support. Also adds a [colophon] shortcode option - separate Colophon Plugin imminent for those who want it.

Version 1.10.1

Add tree view and a beta widget

Version 1.9.3

Add classes to items in term list. Top items have the class 'parent'; other items 'child'.

Version 1.9.2

Add filter 'tpicker-search-text' (see above)

Version 1.9

Fix post count bug. Add stylesheet.- but I haven't had chance to get everything into the stylesheet or do documentation yet - v1.9 was released early.

I have reworked the search text to add support for accents and rework the use of spaces. There may be further enhancements I can make to improve the basic text search - I will investigate over the next few days.

Version 1.8

A major update with several additional widget options incuding the ability to hide the search box. The order of taxonomies in the widget on the front site has been changed and is now alphabetical by label (rather than slug). In the widget you can now select the sort order of the terms for each taxonomy. You can chose between label (name) and slug, or even count, and whether ascending or descending.

The bigger change is that you can now set a value for each taxonomy. If the taxonomy is displayed it will be used as the initial value. If the taxonomy is not displayed it will be transparently passed through to the final WP query and restrict the final search. It means it is now possible to restrict your widget to search entirely within a value in another taxonomy.

Version 1.7.3

Admin screen now has override text for the Search button and for the ** All ** text to aid internationalisation. The bug with two words in the search text has been fixed, along with a number of other bugs.

Version 1.5.2

The plugin now comes with an options screen in Admin which allows you to define:

1) Whether the query is remembered - if you select this option then the combox boxes will populate with the query which has just been run (so long as the widget is displayed on the results page, e.g. is in a sidebar throughout your site).

2) The text used for ** All **. This includes using the taxonomy names as an options so if your taxonomies are Size and Color then you could have All Sizes and All Colors instead of the ** All ** used by the first version.

3) Whether to show the count alongside items. This isn't recommended (yet) for very large sites as I am not caching the query. That will come in v1.6 It works just fine and should be sufficient unless you have hundreds of posts and many entries in your taxonomies. So v1.5 good for hobby sites but if you are running an online shop you might prefer to wait for v1.6 for performance reasons - try it and see.

4) There was a problem that when ** All ** was selected everywhere that it depended to display a 404 Not Found on some sites. You can now specify the URL to use "URL if no selection" to use when ** All ** is selected for all options. Pick whatever best suits your site.

NB I had problems with the upload to the WordPress repository which skipped some new files. I have pushed out minor releases to catch them. Sorry if you have been affected. If you have v1.5.2 and still have problems, please delete the plugin and re-install from the Respository.

Version 1.3

Multiple bug fixes

Version 1.3

Fixes multiple keywords in the search and accented characters

Version 1.1*

Verson 1.01 was incompatible with WP3.1. This has been fixed in version 1.1 which adds no extra functionality. That will be for the next spot release over the next week or so.

Version 1.01 - not stable with WP 3.1

Fixed a PHP warning.

Added code to make all displayed text in the widget translable

Beta Premium Widget & Trees

(A toe in the water)

Updated 6 March 2012

Progress is continuing on the beta widget. My live site Egptological is now running the beta widget to increase the real world testing. I do keep finding and eliminating bugs so just be slightly cautious of the beta version still. If you ask for support and are using the beta version please say so.

When fully tested and complete then the additional options in the beta widget will become paid for items as part of a premium package including support. So only use the beta widget if you need it or are interested in a premium version. I stilll need to test all the combinations of settings.In the medium term I would like to develop the premium widget ideally by removing the search results from the URL and using cookies instead.

There is a tree option but it is problematic - I have terrible performance issues with it. I don't recommend the use of the tree option at present unless your taxonomies are very trivial and short.

About Kate Phizackerley - Intrudcing the author of your WordPress plugin

If you have any extra information or questions about this lens you can contact Kate Phizackerley, the lensmistress, using the contact form I have provided.

Subscribe to RSS

You can also follow Kate's business blog Kate Phizackerley on Business on Twitter or subscribe to an RSS newsfeed of her recent Squidoo updates.

Subscribe to RSS

Kate has written many Squidoo lenses. Please visit her full lensography, sample Kate's top lenses, or read her Squidoo Diary to keep up to date with her recent publications.

And if you would like to know more about Kate then please visit her personal lens on Squidoo or Kate's main personal hub and web site. You may also enjoy her personal blogs News From the Valley of the Kings or PT Phiz; or perhaps visit her Flickr photostream.

Version 2.1

Please do not contact me by email with any queries. Any support questions or requests for enhancement should please be included below. (No HTML is allowed and will be removed.) You don't need to be a member of Squidoo to leave a comment.

Donations are appreciated - please use the PayPal link above.

Feedback and Support

    0 of 8192 characters used
    Post Comment

    • profile image

      anonymous 6 years ago

      Hello,

      your plugin looks nice but is it translable ? (as my visitors are mainly french people)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      Hi

      It's partial. The widget at present uses the entries from your own site, including taxonomy names, so if your site is in French the widget will be in French, but not if you have created them in English. The Submit button itself is, however, translabale and will use translated text if any is available.

      It is a clear weakness so I'll release a new version of the plugin next week which makes all displayed text in the widget translable. If your need is more urgent than that, then post again and I will move it up my priority list. Obviiously, making the widget fully translable will only help if you have translations available of your category and taxonomy names.

      Hope that helps

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: No, I don't need it for the moment. I have a blog about WP plugins (http://www.li-an.fr/wpplugins) and before making a post about your plugin, I wanted some more informations. And perhaps use it :-)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I believe (version 1.01) that I have added the code to make all text displayed in the Widget translable but I cannot easily test it.

      I haven't (yet) made the admin dashboard translable

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: OK, I will have a look at it.

    • profile image

      anonymous 6 years ago

      I'm using WP 3.0.2 and cannot get the Taxonomy Picker widget to save.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: HI Gabe,

      When you say you cannot get it to save, do you mean that the settings in the Admin panel don't save?

      Kate

    • profile image

      anonymous 6 years ago

      Am I missing something with this plugin? You say:

      "WordPress 3.0 cannot handle query across multiple custom taxonomies so this plugin cannot handle them either"

      So basically it doesn't work? So how do you get it working on your demo site?

      It's frustrating because on the face of it, it looks like the perfect solution for me right now, but the custom queries don't work (even with the "Query Multiple Taxonomies" installed and activated on my site).

      What I don't understand is how we have a plugin that uses features that WP doesn't actually support yet?

      Help!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: OK

      The plugin works but building a URI. It does nothing to parse the URI. It is just a front-end. It makes it easy for visitors to build a query but it doesn't extend which queries WordPress can process. At present WP cannot process queries which included a simultaneous search across multiple custom taxonomies. That restructiom should, I hope, go away when WP3.1 is released.

      In the meantime, you can have multiple custom taxonomies, but each search can only use one at a time. They can already be combined however with searching across category and text so for instance a built URI of this sort of form would be parsed by WP

      ?taxonomy=Custom1&cat=Category2&search=Text3

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: Hi Kate,

      Thanks heaps for the quick reply - at least now I can stop digging for functionality that isn't there yet - makes sense.

      I'm finding that even a search term across a single taxonomy value doesn't return the expected result (a post assigned to one, and not the other taxonomy was returned in the results for both taxonomy searches).

      However, the burning question is, how on earth did you achieve a working example on http://egyptological.com/find ?

      Cheers & Seasons greetings :)

      Dan

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: Hi Dan,

      If you'd like to take the discussion to email, I can take a look at your site and try to work out what is going wrong. You can contact me via http://katephizackerley.wordpress.com/about-me/con... (sorry I don't want to post an email address in public but once in contact we can exchange emails.)

    • profile image

      anonymous 6 years ago

      Hi, First of all I wanted to say thanks for your plugin. I'm having trouble saving the widget on WP 3.0. I would drag it to the widget area and change the settings but after I leave the widgets page, the Taxonomy Picker widget is gone again from the widget area. Seems that WP is not saving the widget location. Hope you can help. Thanks!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I'm not sure about that. I used it OK on WP 3.0 so there is no reason why it shouldn't be working, Did you try it in a different widget area?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: Hi within the plugin you can set it to appear only on certain pages, or on all pages. My first guess is that you have it set to only appear on certain pages but that the pages specified are writing. If that isn't the problem, please get back. A screen print of the configuration of the widget and a link to your site would be ideal

      I have just tested it with custom post formats but not custom post types. I haven't tested it with Buddypress.

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: I am having the same problem. Other widgets work, but when i add and save taxonomy picker and refresh the page its not there anymore.

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: I'm having the same problem but I do have the widget set to appear on all pages. Has this issue been resolved yest?

      Thanks

    • profile image

      anonymous 6 years ago

      I am having the same problem as Caramel and Gabe. When I add the widget to my sidebar I select my custom taxonomy and "all" for categories and pages. After saving, when I refresh the widget page, the Taxonomy Picker widget is gone. There is also no sign of it on the front-end pages. I am using both a custom taxonomy and custom post type, Wordpress 3.1 and the Genesis framework. I'd really like to make this work, as I haven't found any other way to search my custom taxonomy.

      Thanks.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      There is cleary a problem. My first guess is that there is a naming conflict so I will try renaming key functions. I have also just bough the Justin Tadlock book on plugins, so I will see if that has any tips for me. I have built a brand new WP3.1 site and installed it successfully so it has to be either a conflict or reliance issue.

      Sorry guys. I will address it.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      There is cleary a problem. My first guess is that there is a naming conflict so I will try renaming key functions. I have also just bough the Justin Tadlock book on plugins, so I will see if that has any tips for me. I have built a brand new WP3.1 site and installed it successfully so it has to be either a conflict or reliance issue.

      Sorry guys. I will address it.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      There is clearly a problem. My first guess is a naming conflict so I will check all names are prefixed. I have also bought Justin Tadlock's plugin book so I will see if that has any suggestions. Sorry guys, I will get it sorted. I'll try to get another version out late next week.

      Kate

    • profile image

      anonymous 6 years ago

      Hi Kate,

      I am using your plugin on a client's website and finding it very useful indeed. I am just wondering how to change the query slightly.

      At the moment for example I have posts tagged by clothing type, (for example Jumpers, Trousers, Shorts), and by colour (white, red, blue etc). If I search for Jumpers and white, it returns all posts that are tagged jumpers, and additionally all items that are white (including trousers, shorts, etc).

      Can the plugin be customised to return all posts that are tagged with BOTH jumpers And posts, instead of returning posts with either tag? Hopefully this will let the shopper narrow down the results even further.

      All the best, and look forward to hearing from you soon

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: Hi Robert

      It should be doing that already. For instance on my site it builds this URL

      http://www.egyptological.com/?cat=10,7,44,8,53,9,5... which acts as an intersection of the chosen options.

      Is there any chance you could post a link to your site and I will take a look at the queries it is building? Essentially that is all it does. It turns the query into a standard WordPress URL which WordPress then handles using its internal engine as usual. So the question is whether the plugin is building the wrong query or is, for some reason, WordPress not handling the query correctly on your site.

      WP 3.1 made major changes to the queries WP can handle. I notice that I should now allow multi-select so that somebody could choose Jumpers AND red or white. I'll do that in the next version.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      Reported failures have been fixed in version 1.1. Now release to follow in next few days with some extra functionality.

    • profile image

      anonymous 6 years ago

      That's great news. I did think of a few improvements as I have now got the multi search working on my site. It would be good when doing a search where the plugin is featured on the results page (in my case) if the select dropdowns could show what you selected; to check the $_GET request maybe. This would make it easier to modify the next search as what you have selected last time would already be there. Only a nice to have thought!

      Also to make the plugin validate would also be a nice to have - only a few slight changes needed.

      Thanks for helping me out,

      Rob

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I had a problem with the upload to WP. Just tried again with a new version 3.12. Can email a .zip if necessary. (I hate the WP software for uploading.)

      The obvious thing would be to show what was selected but there is a problem.

      The form sends a post to WP which processes the $_GET, translates it to a URL and redirects to that URL clearing the $_GET. So by the time the widget is displayed, the $_GET is no longer available

    • profile image

      anonymous 6 years ago

      @anonymous: Same for me. I am using WP3.1.1

      Any solution?

    • profile image

      anonymous 6 years ago

      @anonymous: Same for me. I am using WP3.1.1

      Any solution?

    • profile image

      anonymous 6 years ago

      It appears that when you use the search feature at the top it will search the entire site (pages, categories, etc.) shouldn't you be able to restrict it to just the taxonomies that you choose from the dropdowns? I've excluded the pages and categories from the widget options but still no dice. Thoughts? Thanks,

      Mark

    • profile image

      anonymous 6 years ago

      What does the widget use as a search results page and is it possible to send it to a customized page? I'd be interested in having the results sorted by subcategory or tag or taxonomy.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I need to take a look. It was working in 2.9 but this could have changed in WP3.0. I've been busy launching a site so sorry to be slow.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: There is no search results page - it will go back to the page your theme uses for the query built. So if a word search, then it might go to a search form, but if you build a category query then it will go to a category archive.

      The orderby is a good idea. I'll add that to the next release. It is certainly doable.

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: Thanks. I am using it for a category search so I can probably build orderby into the category archive template

    • profile image

      anonymous 6 years ago

      Hi! Thanks for this pluggin. I was previously using it on an english website without any troubles, but when I started using it on a french website in which some of the categories contain accents, I started getting 404 error. For example if I have a category name "école" the pluggin seems to look for the term "cole" completely ignoring the first letter.

      I don't know if it's a setting somewhere on my blog or if the pluggin wasn't designed to handle special character but I thought i would let you know.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I had't tried it with accented characters so probably the plugin. I have checked the code and nothing is explicitly stripping accents so I will need to see. i suspect I need to convert HTML characters - I need to look how WorPress hanldes accented charcters in queries. I will look further tomorrow to see whether there is an easy fix or not.

    • profile image

      anonymous 6 years ago

      As a follow up on the accents stuff. I think the best way to deal with them would be to ignore them completely. I'm not savvy enough to do it myself but by testing a few search query I think adding the <?php remove_accents( $string ) ?> function to all your input should solve the issue.

      Anyway thanks again for this great pluggin

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I believe the offending line is line 18 in taxonomy-picker-process. If you change the existing line to the new one, I think it should work.

      Old:

      // $custom_query .= ( ($custom_query) ? '&' : '' ) . str_replace(' ','-',$data); // eg add &writer=Kate-Phizackerley

      New:

      $custom_query .= ( ($custom_query) ? '&' : '' ) . strtok( $data, '=' ) . '=' . sanitize_title(strtok("=")); // eg add &writer=Kate-Phizackerley

      I don't want to release that as I shouldn't be creating the slug from the text: I should be passing the slug itself. That will be much more robust. Unfortunately I don't have time today to test that as my own site is due to launch. I have tested the above line with accented characters in a taxonomy name and it now works, so hopefully it will fix the problem. If you are not confident about making the edit, contact me and I can email you the revised file.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @Kate Phizackerl1: Sorry, the // in the old aren't there - I just copied and commented it out.

    • profile image

      anonymous 6 years ago

      Hi, I'm trying to show my categories hierarchically, and I've added the option here:

      $terms = get_terms($taxonomy->name,'hierarchical=1');

      But now that the hierarchy info is stored, I can't figure out how to then display it. Any help? Thanks!!

    • profile image

      anonymous 6 years ago

      Hello,

      It's working great with wordpress 3.1.1 but there is no way to make the field for keywords work with a search with multiple keywords ?

      If I try with 2 words separated by a space (with or without quote), the search fails saying there is no match for "keyword1keyword2" with no space between them.

      The WordPress native search field is accepting this kind of search.

      It's not possible to have all the options (2 keywords with a space, a selected category, a selected taxonomy) working together ???

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I think I have fixed this. I just now have to wrestle with the WordPress plugin repository which is where I always struggle. Hopefully you should get version 1.3 soon.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: Version 1.3 includes this fix.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I haven't spent much time on hierarchical taxonomies. I will have a play but it will be weeks rather than days.

      I am starting to plan the next versions. For bigger sites, this simple flat approach gets overloaded. Hierarchical is one solution but I am also looking to impose some additional structure of flat taxonomies to enable a multi-tiered drill down.

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: Thanks for your answer and your work. I can't wait for the update ! :-)

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: I haven't seen the 1.3 version was already published. Just tested and it's working fine ! Just a remark : in the widget you have 2 times on line 117 and 118, I don't think it's necessary. Thanks again.

    • profile image

      anonymous 6 years ago

      @anonymous: I try again with spaces : < / u l > is repeated twice

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: Wow! Thanks again for the pluggin and for the fast support.

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: Great - thanks so much!!

    • profile image

      mike5259 6 years ago

      Hi. Is there any way to make the taxonomies in a dropdown box dependant on another dropdown. For example, I am developing a site for car sales. What I would like is for a user to choose say "Ford" from the car make dropdown, and the dropdown after this would only display models for Ford, e.g. Fiesta, Mondeo etc.

      Thanks

      Mike

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @mike5259: At present, no. It could be done using categories and the Taxonomy Picker Plugin by combining it with Widget Logic and having a separate widget for each make of car and displaying that on the relevant car category archive.

      Not ideal at all. I need drill down as well. It is firmly in the schedule for v2 but that is several weeks away as it isn't top of my must do list. If you *really* need it, come back at me and I will think whether there is a simple workaround - I'd need to know the structure of you taxonomies.

    • profile image

      anonymous 6 years ago

      Thanks for your plugin.

      Does it have an API for using as template functions and not as a widget?

      I wish to implement this inside a special search page template and not as a widget, is is possible?

      Thanks

      b.t.w what plugin do you use for the comments here? Working really nice.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: It didn't have and you caught me just before a holiday weekend so this was a rush in an hour before bed. Visit http://www.egyptological.info/tpicker where I have put up an alpha version of version 1.5 of the plugin for download. I have added a shortcode which I assume is easiest for you. The formatting isn't anything because I didn't have time to do that so you will need your own CSS for now. I will add a nice containing box for release.

      The functionality was all I could manage in an hour, so you can specify the taxonomies you want by slug as [taxonomy-picker taxonomies='category,size,color'/] but that's all. There is no option to exclude categories - sorry I just didn't have time.

      I will tidy this up a lot before formal release, but it should get you going. I will add a function call as well, for now if you need a function standard WP do_shortcode() with the appropriate arguments.

      I will try to look in over the weekend but no promises.

      In haste

      Kate

      PS It's on a test site so there is very little content and the whole site is a mess but I didn't have time to put it anywhere else.

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: Thanks Kate for your quick response and effort to add partial support.

      Meanwhile I was breaking my head with another issue (of adding support for archive template with orderby post_type and some more). With the search issue I can wait a bit it's not a rush, but anyway I will check your alpha 1.5 during weekend and see how it works for me.

      Many thanks,

      Maor

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: Grab it quickly as I have just started a domain transfer and the site will then be down for a time - I can pop it up elsewhere if you miss it.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: Remembering what was set is coming in v1.5

    • profile image

      anonymous 6 years ago

      @Kate Phizackerl1: Tried now, but the site appears to be already down. Anyway, I will wait for tor your other updates in the plugin, not in a rush..

      Thanks :)

    • profile image

      anonymous 6 years ago

      Hi, Thanks so much for creating this plugin! I am having trouble with some things. When I search all I get a page not found. Also do you know a way to echo selected terms on the results page? i.e. If I select the a taxonomy terms planning, behavioral health, and articles I want the Search Results page to say "Your Search Results for planning, behavioral health, and articles:" Here is the URL of my example: http://www.pushdesign.net/kchc/document-library

      thanks in advance!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I will fix the first issue in v1.5. The problem is that for "all" everywhere no actual search has been selected.

      Echoing the selected terms on the results page is hard because I have no idea how the chosen theme will choose to display the results. It is one reason why theme isn't an issue for me. However, I will be carrying the chosen inputs through into the final results so that the plugin can be pre-populated with the previous search so I can probably use that to offer shortcode to echo the selected terms. Querying the URL is insufficient as it often goes through a redirection in many themes which strips out the selected terms.

    • profile image

      anonymous 6 years ago

      i see you plan to implement a feature that will re-populate the current search terms in the boxes after searching, any idea when that may come about or how i could do it myself?

    • profile image

      anonymous 6 years ago

      This plugin is pretty awesome, there is however 2 things that makes it impossible for me to use it 1) It doesn't really seem to support custom variables that usually is standard, for instans you could do "'show_option_all=&exclude=30,1&hide_empty=0&show_count=1&hierarchical=1&order=ASC'" inside the standard WordPress function "wp_dropdown_categories", that would be really powerful to do in this plugin to. 2) The standard value for searching everything from the dropdown is "** All **", in the Widget settings i choose to show "Categories" and a custom taxonomy called "Location", but that just makes stuff weird, there is now 2 dropdowns in my widget area, that's great, but there is no way for my visitors to know which dropdown is which, all it says is ** All ** on both of them, if i change this in the theme files to say "All categories" obviously that doesn't work for the "Location" taxonomy dropdown, i want to be able to change the standard value for searching everything separated from each other so one could say "All categories" and the other one "All Locations", this doesn't seem possible right now?

      It's a real shame, i have been trying for ages to find a way to search both categories and custom taxonomy in the same search, this is the closest plugin by far but these 2 things i mentioned above makes it really hard to use for me.

      Great job anyway, really impressive :P

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I got sidetracked. It is working already in the development version and will be included when I ship version 1.5 - within the net week or so if I don't get sidetracked again.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: I got sidetracked by an urgent document which has delayed v1.5 but I am back on it today. That is a bigger release than originally planned because I am adding an options page for the Plugin. That means I can address your second point. I cannot sensibly squeeze more options on to the widget, but something like point 2 is better set sitewide anyway. Watch for the release of v1.5 - hopefully in the next week if I don't get sidetracked.

      For the most part, I don't plan to address your 1st point. Sort order is something I do wish to offer, but it isn't presently in the plans for v1.5 The rest just doesn't fit the concept. The idea is that it is simple and easy for site visitors and overloading the display with options for them isn't something that feels right to me. There is also the problem that I don't know how the site's theme will display the query so adding in something like a count could cause problems if the theme cannot cope with paginating complex queries.

      The "exclude" is already implemented in terms of categories. Within the shortcode I plan on extending that to taxonomies as well, possibly in v1.6 I agree it would be useful in the widget but screen space is tight which means major changes to make the widget admin screen dynamic. It will probably happen, but not for sometime, especially as anybody who needs it can use the shortcode instead. Show count and hide empty make sense site wide so they *may* get included within v.1.5 this week.

    • profile image

      anonymous 6 years ago

      Hi!, I could`t activate the plug in in a fress instalation of wordpress:

      Fatal error: Cannot instantiate non-existent class: directoryiterator in /home/pabiglie/public_html/web/wp-content/plugins/taxonomy-picker/kandie-library/kandie-foundation.php on line 202

      Hope you can help me!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 6 years ago

      @anonymous: That is a class which is only in PHP5 so my guess is that you are using PHP4. WordPress 3.2 will change the standards and require PHP5 so I am ahead of the curve by a month but it seems sensible to go with the new.

      You should be able to see in your hosting package what verson of PHP is installed. Some like 1&1 UK have an option which allows the choice of PHP4 or PHP5 - and 1&1UK seems to default to PHP4.

      If you do have PHP5 and it still isn't working then say please and I will investigate further but sorry, I don't wish to add different code in for PHP4.

    • profile image

      anonymous 5 years ago

      Updated the plugin but the category inclusion feature isn't working. I entered only one category ID into the widget. When I search, it returns results in that category first but then lists results in other categories as well. Am I missing something obvious?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      Hi Walton,

      I use that feature all the time as I have categories with test data I wish to omit fom the search so I know it works. Firstly, did you select Incl on the line below, or is that still set to All (i.e. all categories). That is the most obvious.

      If the plugin is working you should see a URI like this:

      http://www.egyptological.com/?cat=66,10,7,74,48,62...

      Look for the cat= If that is there and is showing the right category the plugin is working. It's then down to your theme to show the right items.

      Hope this helps. If there is then please get back but I would be surprised.

      Kate

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: My URL doesn't have the ?cat=. It's just: http://www.englishadvantage.info/level/beginner/ when I try to search with the plugin. I have clicked Incl and have the cat ID correct. And I put the slug into the Title box on the Widget

    • profile image

      anonymous 5 years ago

      AWhat a GREAT plugin, it saves me so much times : THANK YOU !

      (btw can't wait for the 1.6 and maybe multiple keywords query + ability to exclude a category to be listed ? :))

      Adrien

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Thanks.

      You can already exclude categories - I just didn't extend it to other taxonomies because the input screen would be almost impossible to use and so far I cannot visualise a solution to that. (It should be in the shortcode version though.)

      I don't like multiple select in comboboxes. I think it is ugly and hard to use. The other problem is that WP seems to OR multiple selections whereas visitors usually want AND of them. At present the only way I can see offering AND reliably would be if somebody was logged in.

      It's odd. Progress is partly made against what I need - or what other people have been asking for - but the other key is identifying a neat way of being able to do it.

      What I will consider is adding a set of radio buttons as an alternative to a combo box. That would allow selection of multiple for anybody who has small taxonomies - and some people do. It would probably be a OR to start with. Not sure. I will ponder that.

      Thanks. Feedback really does help me work out where to take the plugin.

    • profile image

      anonymous 5 years ago

      hello, your plugin is great, I have been looking for something like this for long.

      just a question, the sorting order of the drop down menu for the categories and tags is fine for me but i would like to reverse it for a custom category that i use to assign my posts the number of the magazine issue they have been published in. so that the first item of this custom taxonomy drop down menu will be not the first numero of the magazine but the last which is currently number 133 !

      Is that possible ?

    • profile image

      anonymous 5 years ago

      hello, your plugin is great, I have been looking for something like this for long.

      just a question, the sorting order of the drop down menu for the categories and tags is fine for me but i would like to reverse it for a custom category that i use to assign my posts the number of the magazine issue they have been published in. so that the first item of this custom taxonomy drop down menu will be not the first numero of the magazine but the last which is currently number 133 !

      Is that possible ?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: You'd have to hack the code. I don't recommend it. It's also not easy in the current version. If I can squeeze an Asc/Dec option into the widget admin then I will add it in the next version.

      The other alternative which I haven't tried but which should work is to copy the HTML from the live page with the widget into an HTML widget. It should still work. You could then manually re-order the SELECT statements in the HTML. If course it would need to be updated if you update the taxonomies and I cannot guarantee it will contnue working in every upgrade.

    • profile image

      anonymous 5 years ago

      Hi, I am using your plugin on a site I am building. Forgive me if I am missing something obvious. I have the widget setup and working, except for one thing. When I use the widget to build a query using two custom taxonomy terms and there are no matches, I get a blank category archives page instead of the expected Nothing Found page. If I add a keyword to the same search, I get the Nothing Found page. Can you point me in the right direction?

    • profile image

      anonymous 5 years ago

      @anonymous: Figured it out. Theme not plugin. The plugin is working great - thanks!

    • profile image

      anonymous 5 years ago

      @anonymous: Figured it out. Theme not plugin. The plugin is working great - thanks!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Good. Sorry to be slow - I was away.

    • profile image

      anonymous 5 years ago

      Hi Kate, thanks for this plugin. Is it possible to use this in a template file rather than adding it as a widget in the back-end?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Not easily at present. You would have to follow generic instructions for adding an abitrary widget to the themplate file. It's something I am adding in v2.0 - as soon as I get around to that. (I also want to add hooks.)

      If necessary though you could always add another widget area to your theme which is relatively easy.

      Sorry.

    • profile image

      anonymous 5 years ago

      great job kate,

      i was looking for a plugin like a lot until i found your which is exactly what i wanted. However, i didn't find it easily mostly because in google i search under key words like "search filter for wordpress" or "search by category plugin" and so on. this is a powerful plugin and i truly believe that more people should be aware of it.

      i have one question though, i have categories and subcategories showing in a drop menu. i was trying to look into the code to hack it so it will show categories and under each categories it will show its subcategories. right now it displays all categories and subcategories in ABC order. can you give a hint where i should look for it in the code? is it possible?

      thank you and good luck with the next version and other projects

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Yep, it is hard to find and I am not sure what to do about that.

      The 'sorting' is done by line 73 in taxonomy-picker-widget.php which reads:

      $terms = get_terms($taxonomy->name);

      The second (missing) parameter controls things like sorting, or would if it was supplied - instead it defaults to ascending names. See http://codex.wordpress.org/Function_Reference/get_...

      It should be possible to add a second paramter of 'orderby=term_group' (including the quotes, so

      $terms = get_terms($taxonomy->name, 'orderby=term_group');

      I haven't tried it. Warning though that this is all scheduled for a re-write as one of the requested editions is a reverse sort - I will look wihether term group can go in that. As things stand I am on top of other jobs again so unless something comes up, I hope to get back to v2.0 over the next couple of weeks (but if I don't finish it then, I know mt August is looking busy so it could slip badly again).

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: many thanks to you. was pretty easy, i changed the line and it did the magic. i have one more thing i have tried to do for while but i couldn't figure it out. is there a way to exclude certain taxonomy from search ? that is what i need: i have two pages in my site. one that display post from taxonomy 1(example: taxonomy 1 is cars category) and page who display post from taxonomy 2 (bikes category). in page one i want to search only within taxonomy 1 and same as in page 2 only for taxonomy 2. now, on page 1 i configure the widget to search by taxonomy 1. it will search within it only if i choose a category from the drop down menu. but if the drop down is set to "all" it will display all results from taxonomy 1 but also from taxonomy 2.

      is there a way to archive what i want?

      thank you.

      and i am waiting to see what's coming for the next version of the plugin. hopefully soon.. :)

      keep up with the great job.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Remember that you will need to replicate this if you upgrade.

      If you are not using categories, you could have a category for bikes and a category for cars and set each widget to return only the specific category. Otherwise I cannot see a way of achieving it as there is no obvious way to pass the query via the URL - and ultimately the plugin is a tool for building a URL query. If you can identify a URL which would give you what you want, I can help you tweak the plugin to build that type of URL.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks again for the quick replay.

      now, after your explanation i understand better how this plugin works. and i guess it want be easy to get what i wanted with hacking the code. However, i got it done by creating "All Categories" category in each taxonomy. then, for every post i will select the categories it belongs to and also for the "all categories".

      in the widget php file i took out this line:

      `

      echo "". taxonomy_picker_all_text($tax_label) ."";

      `

      which creates the default option " ** all ** and now my first option is my "all category" that will display all categories for only the current taxonomy.

      works as i wanted (for the moment. hopefully it want hit me back somewhere else). if still you have any other suggestion i will be happy to hear it.

      about the updated . i know i will have to change it again after upgrading. but it is only 2 or 3 lines that i am changing so it is ok.

      how about the latest update of wordpress 3.2.1. is the plugin going to work fine with it?

      thank you

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: So far as I am aware it is fine with 3.2.1 That is what I am running on my development site - although I haven't upgraded my main live sites yet.

      I suggest that you change this line:

      $fn_txt = "kandie_admin_combobox('taxonomy-picker-options','all-format',array('** All **','All Items','Everything','Every {name}','All {name}', 'All {name}s', 'N/A'));";

      It is in taxonomy-picker-admin.php and I added the ,'N/A' into the list at the end. I have made the change in the master. You can now set the All option in the admin panel to be N/A. The next version of the code will suppress the All line in the comboboxes if this option is chosen - again code already added to the master development copy. If you set the option now, it should kick in automatically for you when the upgrade is released (and your hack works for now).

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: The thing is that no matter what i choose from this menu if the user leave it as it is and search a keyword it will display results from the entire categories and taxonomies of the site. second, i want to have the option to search all categories but only for single taxonomy.

      my site is going to be a directory site. its going to have listing page to list businesses and a coupons page to list coupons for the business. i am working with "directory" plugin. it uses custom post and it uses taxonomy name "listing categories" where i add all categories and subcategories for listing(restaurants ,food....) and same thing for coupons. homepage will be listing directory page and another page for coupons. in my home page i want to use the taxonomy widget to search a keyword within "directory listing" taxonomy. If i will leave the default ** all ** or anything else from the default menu and search for "33314" it will display all listing and coupons under zip code 33314. which i don't want to happen. same thing i need for coupon page. that is why i was trying to exclude a taxonomy in each page so i could search only within the one i needed.

      sorry for the long replays. :)

    • profile image

      anonymous 5 years ago

      Hello Kate! I must say this is an amazing plugin, it is exactly what I was looking for my site, but I have a question (maybe it's really simple but I'm kinda new with this)

      The plugin is working fine, but I own a site in Spanish so I was wondering if I can translate the options that say "Everything" "All" and so on.. I already figured where to change the text of the search field, but it looks weird because now it's in "spanglish"

      Thank you!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Wait until tomorrow. I have just uploaded a v1.7. Hopefully that will work but I hate uploading plugins to the repository so I may have to try it again. As soon as it is there, I will try downloading it myself and test that.

      Anyway, once v1.7 is there, and assuming I have uploaded it correctly, there is a new option in the admin panel which you can use to override the text used for all. Either just enter text like Toutes les chooses (yes, I know that is French but I don't know Spanish) or Toutes les {name}s which would put the taxonomy name into your text. {name} or {name}s must go at the end. There is now help text as well.

      Check back if you have any problems!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Just tested the update of v1.7 to my live site and it seems right. I also upgraded to WP3.2.1

      Should give you what you need.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thank you for your quick reply! :D I downloaded the upgrade but when I activate the plugin it shows this error:

      Plugin could not be activated because it triggered a fatal error.

      Warning: require_once(kandie-transients.php) [function.require-once]: failed to open stream: No such file or directory in /home/solcer2/panarepuestos.com/wp-content/plugins/taxonomy-picker/kandie-library/kandie-foundation.php on line 17

      Fatal error: require_once() [function.require]: Failed opening required 'kandie-transients.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/solcer2/panarepuestos.com/wp-content/plugins/taxonomy-picker/kandie-library/kandie-foundation.php on line 17

      Do you know what is this? :/

      Thank you!!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: My mistake. I struggle with the upload to the repository and it missed a file. I have pushed v1.7.1 which should fix it. Sorry.

      Kate

    • profile image

      anonymous 5 years ago

      I'm not sure if i've done something wrong but i've set up a custom taxonomy with various categories within it however, when i choose that drop down in the plugin/widget none of my categories are showing up.

      Any idea what i've done wrong?

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks for letting me know! now the is working great, once again thank you so much, this plugin just made my site perfect :D

    • profile image

      anonymous 5 years ago

      Hi, this is an amazing plugin

      I have this problem that when I use 2 o more keywords in the search field the plugin doesn't works, for example if I try "Kurt Cobain" the search result page shows "KurtCobain" and no results.

      I've seen in previous comments that this problem was fixed, do you know how can I fix this?

      Thank you kate!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Do you have any posts attached to your taxonomies?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: No, that's a new bug - and it is a bug. It is trivial to fix so i will get it done over the weekend.

      Sorry

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @Kate Phizackerl1: Fixed in 1.7.3 which I have just released. It's not the neatest fix because it was surprisingly troublesome, so I may tidy it up further in a future release. Still it works and that is what counts most.

    • profile image

      anonymous 5 years ago

      I'm confused about where the "What, where when who" options came from? I can't add any additional ones, but I would like to have multiple pickers for different categories and childs of parent categories. Am I missing something?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Sorry to be slow. I think I understand what you need - a way of fixing a taxonomy value for the search. I re-wrote the widget admin code yesterday to allow that. I am about to re-write the display code tonight. Not sure when I release as there are other major changes in this version so I am not sure whether to release a version with your change and some of the others, or whether to push on for a mega-release later.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The What? Where? When? etc are custom taxonomies which have to be set up in code. However you are in luck because your comment prompted me to do something I have been planning for some time. The next version of the plugin when I release it - probably in the next week or so but not guarantees, includes a set of custom taxonomies you can use on your site without needing to do any code - I added a second set up screen for the plugin. That bit is written and working on my test site. I could have released it last night but am in the process of adding another big new section.

      Your second request for multiple pickers for children of parent categories is drill down and has been on everybody's wish list for months - including mine. I have now found a couple of JQuery plugins which may do what we want to my task is to try those out and see whether one (or more) of them offer what people want. I'd keep following things here or take the next upgrade of the plugin when available.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: That's great. How does the demo site do it? I don't mind hacking up the code if you can share theirs' i'm sure a lot of us could learn from it and get what we need done.

    • profile image

      anonymous 5 years ago

      This is just what I've been looking for, but I have a problem I'm tryin gto figure out.

      I am writing a rental properties site, and would like to have two options:

      Minimum Price

      Maximum Price

      Each of these will have pre-defined prices shown. Is there a way to show all posts which come between the minimum & maximum?

      Thanks :o)

    • profile image

      anonymous 5 years ago

      Is it possible to have the search without the actual search box?

      So users can just select the options from the drop-down menus, and it will then show all the posts which link in with that so, for example, if the user selected the following, it would show them all 3 bedroom houses to rent which cost up to £800 per month:

      Number of Bedrooms

      3

      Maximum Price

      £800

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I have added the option to remove the text search box to the widget in v1.8 which I will upload later tonight if I can finish testing it. (95% of the coding is now done)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I have added the option to remove the text search box to the widget in v1.8 which I will upload later tonight if I can finish testing it. (95% of the coding is now done)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It's in v.18 which hopefully I will upload later tonight. Just select the option to allow the pre-pack custom taxonomies, pick the ones closest to your needs and give them the label you want.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It's in v.18 which hopefully I will upload later tonight. Just select the option to allow the pre-pack custom taxonomies, pick the ones closest to your needs and give them the label you want.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: That means writing your own queries - and writing your own widget as well. Very bad news unless you can find an alternative plugin.

      That's why almost no site does it that way! You'll notice most sites don't allow users to enter amounts but have present bands. Done that way, you can use the plugin. Have a price custom taxonomy (one of the prepacks in v.1.8) and have values for low (up to $500) mid ($500 - $,1000) and high (over $1,000). Obviously you can have your own bands,whatever you want and as many of them as necessary. Do that and you can use the plugin without needing code.

      Your one wish will be that the plugin allowed people to select multiple price bands. The current version doesn't allow multi-select. It's something I will add one day but it's quite a big change as I need to adjust the processing as well as the widget display.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Amazing! Thank you Kate will be looking forward to this and give you any feedback. Thanks for supporting your software

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Amazing! Thank you Kate will be looking forward to this and give you any feedback. Thanks for supporting your software

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks, that'll be the way I'll do it then. No need to make life too difficult, especially when I just discovered that having a knack to bake cakes gives me a bit less time to do coding :)

    • profile image

      anonymous 5 years ago

      1.8 looks like great, many more options.

      However, I'm having a few problems.

      When I select to 'show all' but don't use the search box, whether it is shown or not, it takes me to a page somewhere (I haven't figured out which page it is showing yet), but doesn't show any posts. If I do the same thing, but select one of the options in the drop-down, it takes me to a 404 page.

      If I do type something that is available in the search box (for example - test), then it works ok.

      This was the same with previous versions, so it isn't a new bug.

      You can see what I mean here:

      http://homes.inhampshire.com

      At some point, would it be possible to rename the the label that is shown? So, for example, on my site above, I could rename the text that says 'Maximum Cost'.

      Thanks again for a great plugin.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The plugin builds a query based on the inputs by adding them to the URL of your site. So if somebody selects Rental Price of 1500 it adds ?rental_price-1500 to your basic URL of homes.inhampshire.com to give http://homes.inhampshire.com?rental_price=1500

      That is then handled normally by your theme. Any errors at that point (if the URL is built) are beyond the Taxonomy Picker Plugin and lie in your theme; however, so far as I can tell it is working although you don't have much test data. I am not getting a 404 page.

      Now if the readers doesn't add anything nothing is added to the URL so it will redirect to your basic URL of http://homes.inhampshire.com. That probably isn't what you want so in the admin set up at the bottom left you can set an alternative URL which will be used instead *ONLY* when nothing has been selected in the taxonomies or text search. That will probably be whatever URL shows all of your current propertise.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: As to the text "Maximum Cost" that is the label of the customy taxonomy you are using. If you don't like it, just change the label where you set up your custom taxonomy.

    • profile image

      anonymous 5 years ago

      hello

      you are developing fast !

      i've read that there is a way to sort the order of how the taxonomies ares displayed but i can't find it in the settings pane.

      Another problem i have is that if i do a search with 2 words, for example "jane doe" there are no results because is searching for "janedoe" !!

      is this normal ? is the plugin designed for one word search only ?

      thank you

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I added options within the widget to sort terms within the taxonomy. At present the list of taxonomies is displayed alphabetically with no options. I may be able to change that in the next release but I need to check I can do it efficiently - maybe or maybe not.

      Searching on two words is possible. Don't use quotes. That's code scheduled for improvement too but it does work. That is not the same as searching on a phrase. That is certainly not possible. Whether it could be added I don't know. I can only handle queries WP can handle via URLs. That's very poorly documented and I don't know whether WP can handle phrases. I need to investigate.

    • profile image

      anonymous 5 years ago

      I'm sorry but I don't understand:

      is this possible to change the sorting order ? i would like to display a custom taxonomy with a descending order... Do I have to change something in your code ?

      "In the widget you can now select the sort order of the terms for each taxonomy. You can chose between label (name) and slug, or even count, and whether ascending or descending." "

      and about the search on 2 words, if it is possible, how can i do ? i have to put a + sign in between ?

    • profile image

      anonymous 5 years ago

      @anonymous: Fabrice, you can select label, slug , etc in the widget. There is a drop-down beside each taxonomy name.

    • profile image

      anonymous 5 years ago

      Hello again, and thank you but i'm not sure to understand !

      In the version 1.8, you say that "In the widget you can now select the sort order of the terms for each taxonomy. You can chose between label (name) and slug, or even count, and whether ascending or descending." That's exactly what i need ! but do i have to hack your code for this ? what do you mean by "I added options within the widget to sort terms within the taxonomy" ?

      and about the search on 2 words, if it is possible, and if i'm not supposed to use quotes, what do i use, a "+" sign ?

      sorry but i'm confused... I'm even wondering if i'm missing options in the settings pane !!!

    • profile image

      anonymous 5 years ago

      Sorry I got it, it was just not on my screen !!! and the horizontal scroll bar didn't appear and is acting quite weird (safari with lion)...

      Thank you.

    • profile image

      anonymous 5 years ago

      Hello me again !

      I'm testing... if I do a search in the text box on all of my categories, tags and numero (custom taxonomy) over a word with an accent, the url it passes is truncated from the accent. example: éthique gives this url: http://www.vivre-ensemble.ch/vivre-ensemble/?s=thi...

      the "é" is gone...

      and then if I do the same with 2 words like "tribunal" and "fédéral", the resulting url is http://www.vivre-ensemble.ch/vivre-ensemble/?s=Tri...

      the accents are gone and it sticks the 2 words together.

      is the sticking normal.

      I saw Jared commentary below (Jared Jul 28, 2011 @ 12:43 pm -

      I have this problem that when I use 2 o more keywords in the search field the plugin doesn't works, for example if I try "Kurt Cobain" the search result page shows "KurtCobain" and no results.

      and Kate's replies (Jul 28, 2011 @ 4:12 pm

      and Jul 28, 2011 @ 5:46 pm) saying that this is fixed.

      So is this fixed in 1.8 or is it my theme or something else ?

      Sorry to insist...

      Thanks anyway

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I notice some other widgets expand out of the narrow width of the sidebar in the admin screen which is a better way. I will look to copying it.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Just wondering if this feature made it in v.18? I downloaded and installed but it wasn't clear, perhaps I'm missing something.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The multiple word stuff was working but it was using JQuery which clearly wasn't working for you in your browser. I didn't like it anyway, so I got to the bottom of it, recoded it and remove the scripts. I think the double word search should now work.

      I had not test accented characters. Done now and fixed at the same time I think, although I don't really have much to test it with - but it seems to generate the right URL now.

      I had intended to put a bit more in v1.9 but have uploaded it now. Try it when it is available and it should fix most or all of your problems. Sorry, no more tonight as I am shattered. I will test it more tomorrow on the live site when I take the upgraded plugin there because I have much more data for testing.

    • profile image

      anonymous 5 years ago

      Hi - first of all thanks for the great plugin!

      Since I updated to 1.9, I can't figure out how to change just the word search on the search box without also changing the word search on the submit button. I would like it to read "Keyword:" above the search box and then the button to say "Search" or "Submit". Is this possible? Thanks!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Indeed, I'm impressed ;-)

      Lots of thanks !

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Indeed, I'm impressed ;-)

      Lots of thanks !

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Upgrade to v1.9.1 in a bit when I upload it. I have added a filter for the search text so set "Submit" in the options screen and in your theme/site functions.php add the filter text:

      add_filter('tpicker-search-text', 'my_tpicker_search_text');

      function my_tpicker_search_text( $text ) {

      return 'Keyword Search Text';

      }

      Obviously, you can change that text.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @Kate Phizackerl1: Sorry, make that v1.92 as I forgot to apply the filter only to the first text.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: did this feature get in? i/m not seeing it in 1.8

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks - that worked perfectly!

    • profile image

      anonymous 5 years ago

      Your plugin is EXACTLY what ive been looking for! Since nobody else seems to having this issue, im guessing its my theme, but i figured id see if you have any thoughts what's causing it. I am using the jobroller theme by appthemes. Using your plugin, querying multiple taxonomies, it returns results for ANY of the selections, instead of all of the selections. my site is not live yet, but if i search two taxonomies for example, this is the query string i get: ?job_cat=web-developer&job_type=part-time&kandie_tpicker=job_cat=web-developer!and!job_type=part-time ....which is returning to me any jobs that match the web developer category (there are no part-time in that category) any ideas would be greatly appreciated!

    • profile image

      anonymous 5 years ago

      Your plugin is EXACTLY what ive been looking for! Since nobody else seems to having this issue, im guessing its my theme, but i figured id see if you have any thoughts what's causing it. I am using the jobroller theme by appthemes. Using your plugin, querying multiple taxonomies, it returns results for ANY of the selections, instead of all of the selections. my site is not live yet, but if i search two taxonomies for example, this is the query string i get: ?job_cat=web-developer&job_type=part-time&kandie_tpicker=job_cat=web-developer!and!job_type=part-time ....which is returning to me any jobs that match the web developer category (there are no part-time in that category) any ideas would be greatly appreciated!

    • profile image

      anonymous 5 years ago

      @anonymous: ok,it was my theme, and i got it worked out :-) one last question though....is there any way (even if it involves my editing the code) of determining, in the select list, if the option is a parent or sub category? maybe setting parent categories as optgroups? i want to make them bold, but i see in the file it seems to be outputting them as one list with no control.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Sorry, been a bit busy.

      I am too tired to do upload it tonight but I have made the change in the master and will release a new version of the plugin for you in the next few days. I have modified the output to add a class to each option: parent if it is top level, and child if it has a parent. That should do what you want.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: you are AWESOME, thanks! Looking forward to it!

    • profile image

      anonymous 5 years ago

      Hi. The text on the submit button has disappeared. I hid text search and then the text on the submit button disappeared too.

      I tried adding an alternative text for "search" to no avail.

      Only be re-enabling the text search does the text on the button appear again.

    • profile image

      anonymous 5 years ago

      Hi. The text on the submit button has disappeared. I hid text search and then the text on the submit button disappeared too.

      I tried adding an alternative text for "search" to no avail.

      Only be re-enabling the text search does the text on the button appear again.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Hi, I wil take a look over the next few days. If it is a bug it will be trivial to fix and released as an immediate patch.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Fixed an uploaded as 1.9.4. My apologies. Nothing else in that version

    • profile image

      anonymous 5 years ago

      Hi, love this plugin, thanks very much for it. Was wondering how to hide the text search box - can't seem to find an easy way to do it, thanks!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: There is an option right at the top of the widget in the Admin "Hide text search"

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: thank you Kate - can't believe I didn't see that!! Feel dumb. Anyway, I was also wondering if there is a way to get the "post tags" that is showing between the search fields to go away. You can see what I mean here:

      http://usatodayeducation.com/reading/#standards

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Easiest is probably a bit if CSS try:

      .taxonomy-list li label {display:none;}

      I can't try it, but that I think that should work for you. I suspect you already have something similar.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      BTW last night I finished the revised widget. It will be buggy for a few weeks so in the next release I will offer the old and the new as alternatoves so people can transition slowly - and I can fix the bugs. I will be released as a beta option within the plugin,

      I am now trying to get JQuery working. I know it is possible - I am just struggling. When that is working, I can offer drill down within a taxonomy hierarchy. Whether the first attempt will be ideal remains to be seen. The plan is an option (added) in the widget allowing a choice of the present flat list, or drill down - and I may add two or three alternatives over the next few months.

      Not here yet, but drill down is coming to a beta near you soon - or at least as soon as I can manage to get it working.

    • profile image

      anonymous 5 years ago

      Hi Kate,

      Great progress with the plugin. one thing i would love to see is the "depth" parameter for the "tree" view. right now if i display my categories in a "Tree" view one cannot tell which are the categories and which are the subcategories.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Yep. At present you can only style .taxonomy-picker .child {padding-left:10%} to get one level of indent. BUT try the development site at http://egyptopaedia.com/photo/ (apologies if you hit a time when I am working on it!) and the When? taxonomy. That has a new Pruned Tree which illustrates drill down and stepped indent for all the levels. (Plain Trees with everything shown are still available - it's just a class difference to change the CSS applied.)

      It may be a few weeks before I extend that to categories - because of the Incl and Excl option for categories it is quite complicated. Theoretically the new code already handles trees for categories but I need to change the interface in the widget admin to allow people to select it.

    • profile image

      anonymous 5 years ago

      One more thing,

      lets say i have category name "Food" and subcategory name "meat". when i create a post, if i will attach it only to the subcategory "meat" and not to the category the plugin will not display the category or its subcategories (in "tree" view) since the category "Food" is basically empty (it doesn't count the subcategory and its posts). means i have to attach every post to its category and the subcategory. is that how it supposed to work?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It's not supposed to. It's using the defaults from http://codex.wordpress.org/Function_Reference/get_... I have exposed the sort and orderby. It should be using hierarchical = true. I can expose more of the defaults as options in the admin - just give me 2 or 3 days and I will do it for you. (I need to make the change in the old and new code so not a tonight job.)

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: now i see.... i am working on my mac now and i am using Chrome and the .taxonomy-picker .child css doesn't show. Not in chrome nor safari but it does show in firefox. that is why i posted this comment. i need to see later if it has the same effect on PC or not. do you have any suggestion how to make it work on chrome and maybe safari ?

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Great ,Thank you!!

    • profile image

      anonymous 5 years ago

      Hi again :-) I was wondering...i see you have a way to restrict the categories that are searched....is there any way of restricting by custom post type? i want only the results to show from one post type. i could probably implement the code if sent in the right directions...thanks!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The plugin works be building a URI and leaving standard WP to handle that URI. So far as I am aware it is not possible to pass a post_type via a WordPress URI. Even if I added it to the plugin, I don't think WP would know what to do with it.

      The approach would be to amend the files in your theme to change how they handle queries to add the post_type restriction. If you don't want to do that for all queries, then if you have remember turned on you can test whether the $_GET variable kandie_tpicker is non-empty to see when you are handling something from Taxonomy Picker. Look up query_posts in the WordPress Codex or take a look at something like this http://boring-group.com/blog/2010/05/28/wordpress-...

      In the very long term I want to look at whether I can extend such things from within the plugin by filtering the standard queries but sorry that's not on the immediate plans

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Yeah, ive been examining it a little more closely and noticed that other search functionality in my theme restricted searches like that with $_GET. Im only dealing with 2 post types of concern, so i took a little of a back door and created another version of your plugin, instructing it to append ?resume_search (my "resume" post type) to the query. that's working, so im just going to make the further edit to the other version to search only my "jobs" post type. Thanks for the great support, and code which has proven invaluable. This is for a client project, so as soon as i get paid on it, ill be sending a donation your way :-)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I have added

      $blog_url = apply_filters('tpicker-built-uri', $blog_url);

      just before the 302 redirect in taxonomy-picker-process.php. If you wish to amend the URI then that is they way I would suggest doing it. (I will upload the patch later tonight.) In due course I will probably move where the processing is done from out of the 'init' filter into a separate .php file so using the filter will be more robust.

      I'm just adding the things I said I would do for Eyal.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I can duplicate it. Chrome and Safari refuse to apply padding to tags. I will need to re-write the code to avoid using tags :-( I will add it to the list - close to my top priority but it will only get done in the new beta widget because the old code is just horrible at that point - it's largely why it was re-written.

      Sorry I had't spotted this.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Depth parameter now working in the beta widget (with trees and pruned trees) but only i FireFox - see comment below.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I have just notice the donation. Thank you.

    • profile image

      anonymous 5 years ago

      Hi, great, great plugin, kudos!!

      What does the "Pages" option stand for? I have only categories, and when I'm setting up the plugin, under the options for categories there's a section with options for pages, and I can't figure out what's that for - especially since there's no mention of pages in plugin.

      Thanx!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I added that for me! (That's why this plugin exists.) I want it to appear only on certain pages, and not on others and don't wish to have to use another plugin for that. That's where the "pages" option comes in. If you want it on all pages, then ignore it. If you want a special "search" page, then pop the page ID in and select INCL so it only shows on that page.

    • profile image

      anonymous 5 years ago

      Thank you kate for the update, However still have the problem of the empty categories. the plugin still hides categories that have no post assign to it even when its subcategories have posts. my idea was to attach posts to subcategories rather than its categories. but really its not a big issue as i can just assign the posts to the category and the subcategory it belongs to.

      thank for the great support

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: After programming for 30 years, you would think I had learned my lessons but I made the unforgiveable mistake of treating categories differently in the first version. The code treats categories entirely differently and it's hard to make any changes. That's why it is being re-written.

      I would suggest that you either a) specifiy the categories you want as INCL or b) try using the beta version. (I don't recommend both as that is the bit of the beta version which is going to change.) I am about to build a live site with the beta version.

      If you use the beta version, then I suggest that each time you upgrade the plugin you re-save your settings in the widget itself as they need to change. It's why I have opted for a beta widget as the other will eventually be relegated as a legacy version for anybody who really wants to keep the old stuff.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: well, i am not sure what i did. i guess i just switched between the beta and the none beta but my problem was fixed and it work fine with the either one. thank you so much :)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Good. I had put a bit of it into the old code, just not sure it was enough for you. No need to say thank you - it was a bug, (To be fair, I suspect it is a WordPress bug and that WP isn't using the defaults the Codex claims, but not to quibble.)

    • profile image

      anonymous 5 years ago

      Hi Kate!

      I've read through this, and not sure what I'm missing.. How do you add new custom taxonomies?

      On mine, under Taxonomies it says "Categories" and "Post Tags" with no option I can find to add a new taxonomy.. http://awesomescreenshot.com/0c8k9mbb9

      I'm using Wordpress 3.2.1..

      Thanks!

    • profile image

      anonymous 5 years ago

      Hi Kate!

      I've read through this, and not sure what I'm missing.. How do you add new custom taxonomies?

      On mine, under Taxonomies it says "Categories" and "Post Tags" with no option I can find to add a new taxonomy.. http://awesomescreenshot.com/0c8k9mbb9

      I'm using Wordpress 3.2.1..

      Thanks!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: If you don't have any custom taxonomies, then they won't show in that list.

      But if you want to add some without coding you can. On the Taxonomy Picker admin screen (within Kandie Girls), tick the box which says "Add pre-pack taxonomy support". That will add another admin screen. It comes with some sample taxonomies you can chose from - and the labels are editable so find the one closest to your needs, enable it, change the label if you want to and say whether it it hierarchical (like categoriies) or like tags.

      You can add several. It's how I know add them to my own site these days.

    • profile image

      anonymous 5 years ago

      Thanks for plugin!

      I'm modifying 1 little peace of code - line 186 taxonomy-picker-library.php

      ksort( $taxonomy_name ); //Put taxonomies into alpha name order

      I do this because I need custom sort order of my taxonomies.

      Maybe you add this option(custom sorting) in new update.

      Good luck!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Ahh there it is.. thank you very much, and thanks for this plugin!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: One more question.. I was wanting mine to work even if user doesn't enter anything in the search field, in the same way that I can just select "Colloquy" on your Egypt site without a search and it will show everything in that tag. My fresh install of this plugin with taxonomies created only has that functionality if 2 taxonomies are chosen.

      It occurred to me this could easily be fixed by passing a blank space in the search field if user doesn't input anything there. Is there an easy way to do that, or do you know what I'm doing wrong that user must choose 2 options for something to show?

      Site is here: http://ozarkscivilwar.org/photographs... "Testing Post with all Taxonomies" and "Artillery Post (Contains all taxonomies)" should show no matter what

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: One more question.. I was wanting mine to work even if user doesn't enter anything in the search field, in the same way that I can just select "Colloquy" on your Egypt site without a search and it will show everything in that tag. My fresh install of this plugin with taxonomies created only has that functionality if 2 taxonomies are chosen.

      It occurred to me this could easily be fixed by passing a blank space in the search field if user doesn't input anything there. Is there an easy way to do that, or do you know what I'm doing wrong that user must choose 2 options for something to show?

      Site is here: http://ozarkscivilwar.org/photographs... "Testing Post with all Taxonomies" and "Artillery Post (Contains all taxonomies)" should show no matter what

    • profile image

      anonymous 5 years ago

      @anonymous: I found a work-around to this "2 taxonomies must be selected" bug. Add another taxonomy category with one select value. In the widget, have that value selected by default. Then, in the widget, uncheck in order to not show that particular taxonomy category.

    • profile image

      anonymous 5 years ago

      @anonymous: Can you explain a bit better what you did here, or paste in the code? I added ksort($taxonomy_name); on line 186 of that file and it just messed everything up. I'm not a php dev.. can you post the full code you used to do this? Thanks!

    • profile image

      anonymous 5 years ago

      @anonymous: Can you explain a bit better what you did here, or paste in the code? I added ksort($taxonomy_name); on line 186 of that file and it just messed everything up. I'm not a php dev.. can you post the full code you used to do this? Thanks!

    • profile image

      davidcobblestone 5 years ago

      Great stuff, Kate. Though I'm pretty experienced with WP, custom taxonomies are still kind of a little mystery to me; so any help with managing them is always a great share. Thanks!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I am reluctant to put this is the code because it would limit the upgrade path. When I get time, I want to add up/down arrows in the widget so that taxonomies can be placed into any order wanted.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Sorry but I cannot see the problem?

      If nothing is selected then the plugin reverts to the URL you specify in the Admin screen - so that you can either direct it to a default results page or to a "not found" page if you prefer

    • profile image

      anonymous 5 years ago

      @anonymous: Was: ksort( $taxies ); //Put taxonomies into alpha label order

      Become: ksort( $taxonomy_name ); //Put taxonomies into alpha label order

      What this trick do: sort taxonomies in search widget by name instead sort by label

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Yeah that's a great idea.. just needing this work around in the meantime... I don't know a client alive that won't have a very specific preference as to the order things are in!

    • profile image

      anonymous 5 years ago

      Am just learning about taxonomies in developing my site - only been on WP a short time - and your plugin looked like it would be really useful. It does look great but for some reason when I use it on taxonomies I get an "Error 404 - Page Not Found" response. It seems to work fine on categories. Not sure where the problem lies as a novice but would be great if it can be solved as I think this would do what I want. Will leave the widget up at www.theologyethics.com if you wanted to try it and see what is happening.

      Thanks for any help you can provide,

      Andrew

    • profile image

      anonymous 5 years ago

      @anonymous: I had a similar issue with mine, and this workaround did the trick: Make a 4th taxonomy. Give it one option, and tag everything with that. In admin, set that one option to be the default picked, instead of **All**. In Wordpress, go to Appearance > Widgets and find your taxonomy widget. Uncheck the new 4th taxonomy so that it doesn't display on the site. See if that works..

    • profile image

      anonymous 5 years ago

      @anonymous: Hey thank you.. I did this and now they're ordered right, but right above the sidebar on the front end I get this PHP error text.. You know what's wrong with it?

      Warning: ksort() expects parameter 1 to be array, string given in /home6/ozarksci/public_html/photographs/wp-content/plugins/taxonomy-picker/taxonomy-picker-library.php on line 371

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It seems to be working for me? Have you sorted it?

    • profile image

      anonymous 5 years ago

      @anonymous: Thanks Jesse. I'm grateful but confused. I tried to follow your instructions and the search then worked but the appearance of that one option in place of "**All**" looked messy and I wasn't sure I'd done what you suggested. I undid it step by step so now appear to be back where started in terms of taxonomy structure but it works! All very mysterious. Will keep developing the taxonomy and adding posts to it and hope all still working OK. Will post again if problems recur but it's now working as I hoped it would which is just great.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Kate, Thanks for reply. Simple answer is "Yes, sort of, but still problem". As explained above I did what Jesse suggested and it seemed to solve it. Even when I rolled back what Jesse suggested so I had "All items" it still worked. However, last night I added a new page (Brueggemann) with new taxonomies and updated the widget to allow search by these as well but it does not recognise the new page on search. It knows the data is there as Brueggemann is listed under authors and he is the 1 listed for Nationality-USA, Index-B etc but when it searches for that 1 is says "not found". To track the problem I then added the 1 of the 3 older pages to the new taxonomies and it knows they are there and also finds them eg searching "Nationality-Irish" yields Abraham. But if you search "Gender-Male" it only gives Abraham not Brueggemann even though it says there are 2 listed. So not sure what wrong. I tried Jesse's workaround again but it didn't work this time.

      The plugin and widget do exactly what I am looking for so it would be great if you had any thoughts on how to get it beyond counting new pages as I add them and actually go to the pages when I search.

      Thanks again for any help you - or Jesse or anyone else - can offer.

      All the best,

      Andrew.

    • profile image

      anonymous 5 years ago

      This is a great plugin. Is there an easy way to display horizontally?

    • profile image

      anonymous 5 years ago

      @anonymous: OK - it looks like it is now sorted. I just added another page (Biggar) and assigned taxonomies and it worked. I then investigated and I think the problem was that after assigning taxonomies to Brueggemann something went wrong in the page so I deleted it and created a new page. I then forgot to add the taxonomies to that but the deleted page's taxonomies still registered as it was in trash. That is why it was showing the right number but not finding the page (as it was in trash). I added the taxonomies to the new page and it was found by the plugin and widget but it was still giving one record too many. When I emptied the deleted page from trash the numbers reduced and the search produced the correct number of pages. So, I THINK all is now OK and I won't bother you any more.

      Sorry - am just learning how all this works!

      Thanks again for help

      Andrew

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Use some CSS.

      I haven't tried it (and it will depend on what you already have) but something like this should be close

      #taxonomy-picker .taxonomy-list li {float:left;width:100px;margin-right:12px;}

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I think that is a known WP 3.2.1 bug. It shouldn't count pages in trash but does. Hopefully it should get fixed in WP 3.3. (Although I thought it had been on the list for 3.2.1)

    • profile image

      anonymous 5 years ago

      Hi kate, I am using 5 of the prepack tax and the search always give no results found if only 1 tax was chosen but it works fine when more than 2 tax was chosen. Can you please help me =( Thanks I think it must be something to do with the comparison? The search results url are as below:

      1 tax search:

      domain.com/who/abc?kandie_tpicker=who%3Dabc

      2 tax search:

      domain.com/?where=xyz&who=abc&kandie_tpicker=where=xyz!and!who=abc

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Hi Ivan,

      It's a theme or permalink problem.

      Taxonomy Picker builds the URL - which is your example 1 would be:

      domain.com/?who=abc&kandie_tpicker=who%3Dabc

      WordPress redirections then re-map this to the URL you quote, and then show the taxonomy archive. If it isn't working, my guess is that your theme cannot handle custom taxonomy archives, although it could a permalinks problem. I am inclined to think theme though. For instance:

      www.domain.com/?who=abc should work if typed in to the address bar, and I am fairly sure it doesn't work.

      It does work here though http://egyptopaedia.com/photo/writer/kate-phizacke...

      It seems to be a problem in a number of themes. I may look at whether I can add an optional query handler to the Plugin. I am afraid even if I do it isn't at the top of the development priorities so it is weeks or months rather than days away. Sorry, but I would rather be honest.

      If if is your theme, try asking about taxonomy archives in your theme support. You could also try a different theme on a demo site to check things out - I tend to use one of Justin Tadlocks themes from http://www.themehybrid.com

      What you could try is adding a dummy category and set the widget to exclude that category. That might be neater than the extra faxonomy others have used to get around similar problems if you read the comments below.

    • profile image

      anonymous 5 years ago

      Hi Kate, this looks like it would be a fantastic plugin if I could get it to work. Unfortunately, when I activate it, I get a bunch of error code all over my admin as follows:

      Notice: Undefined index: beta-widget in /home/creature/www/www/wordpress/wp-content/plugins/taxonomy-picker/taxonomy-picker.php on line 42

      Notice: Undefined index: !BEST LIBRARY!kandie-admin-style.css&dir in /home/creature/www/www/wordpress/wp-content/plugins/taxonomy-picker/kandie-library/kandie-transients.php on line 35

      Notice: Undefined index: !BEST LIBRARY!kandie-admin-style.css&url in /home/creature/www/www/wordpress/wp-content/plugins/taxonomy-picker/kandie-library/kandie-transients.php on line 35

      Notice: Array to string conversion in /home/creature/www/www/wordpress/wp-content/plugins/taxonomy-picker/taxonomy-picker-admin.php on line 98

      And so forth.

      Any ideas?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: If you type in the URL it builds does it work?

      ie domain.com/?where=xyz&who=abc

      Taxonomy Picker builds a URL which your theme then handles.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: If you type in the URL it builds does it work?

      ie domain.com/?where=xyz&who=abc

      Taxonomy Picker builds a URL which your theme then handles.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Are you trying the beta widget? if so that may be your problem, so try disabling it.

      However, it could be the code which picks the best version of the library isn't working with your version of PHP. Give me a week or so to investigate please because you clearly have found a bug - but a very new and novel one

      (PS Squidoo has a nasty habit of adding the captcha into the comment - ouch that was nasty. Glad I saw it and edited out! Sorry if anybody got it before I caught it.)

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: I just installed 1.10.2 as-is from the download link. Theme is twentyten.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Ivan, go to Settings -> Permalinks and save your permalinks again and it should work. You don't need to make any changes, just save.

      Sorry, I will add it to the instructions.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: You have quite a high level of error reporting set up on your system. I have turned strict error reporting on my system and hopefully cleared all of them for you. I hope.

      It's a problem you might have with other plugins. If you do then tell the author to try turning strict error reporting on to see the notices.

      Sorry about that.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate, thanks. I just upgraded to 1.10.3, and now I'm getting the following message:

      The plugin generated 212 characters of unexpected output during activation. If you notice âheaders already sentâ messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate, thanks. I just upgraded to 1.10.3, and now I'm getting the following message:

      The plugin generated 212 characters of unexpected output during activation. If you notice âheaders already sentâ messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I will need to check whether something was corrupted during the upload to the repository but WordPress isn't yet showing an update for me. (Updates are always slow reaching the UK.)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: That helped a lot.

      The plugin has a full error handler within it so that I can debug fully. None of that code should ever get loaded, never mind run, on a production site. It was on yours. I suspect that you have WP-DEBUG set to true in your wp-config.php file. I have changed the plugin so that that doesn't trigger its own debug mode.

      I hadn't tested activation in debug mode. What was happening was that in debug mode it was throwing an error before the HTTP headers had been sent. (Actually it was probably reporting an error in core WordPress which has quite a lot of strict errors.). Just in case, and to do it properly, I have changed that as well so that any errors detected before the standard headers are sent are directed to the error log and not to the screen.

      Hopefully that will fix it but you might wish to check WP_DEBUG in your config file anyway.

      Sorry for the problems you have had

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Up or down arrows to order the taxonomies would be AWESOME as I LOVE this plugin but can't use it when they're in alphabetical order.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Up or down arrows to order the taxonomies would be AWESOME as I LOVE this plugin but can't use it when they're in alphabetical order.

    • profile image

      anonymous 5 years ago

      a fantastic plug in

      i have one question and one issue i came across

      question:

      is there a way to have the Fields layout horizontal or vertical?

      issue:

      if i don't select a category and leave it with the default "All" the search doesn't work, i have to select a category to search from. but... i don't have a category default value

      any idea?

      Arik

    • profile image

      anonymous 5 years ago

      a fantastic plug in

      i have one question and one issue i came across

      question:

      is there a way to have the Fields layout horizontal or vertical?

      issue:

      if i don't select a category and leave it with the default "All" the search doesn't work, i have to select a category to search from. but... i don't have a category default value

      any idea?

      Arik

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      I am sure somebody was asking about a non-alphabetic sort order but I cannot find it. If you were then I have added a filter in 10.7 after the sort so that you can resequence them as needed. Not as easy as arrows, but available now. Shout if you need details

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Oooh, will the filter allow me to control the order in which the taxonomies appear? If so that would totally solve my problem!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: There was a typo so I will upload v1.10.8 in 5 minutes but once you get that, then yes. The array key is labels including punctuation so unless you wish more complex code then I recommend something like this:

      add_filter( 'tpicker_taxonomies', 'my_tpicker_taxonomies' );

      function my_tpicker_taxonomies( $old_taxies) { // Filter taxonomy order

      foreach( array("Topics:", "Colour:") as $tax_label) {$new_taxies[$tax_label] = $old_taxies[$tax_label];}

      return $new_taxies;

      }

      My taxonomies are Colour: and Topics: and this reverses them.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: There was a typo so I will upload v1.10.8 in 5 minutes but once you get that, then yes. The array key is labels including punctuation so unless you wish more complex code then I recommend something like this:

      add_filter( 'tpicker_taxonomies', 'my_tpicker_taxonomies' );

      function my_tpicker_taxonomies( $old_taxies) { // Filter taxonomy order

      foreach( array("Topics:", "Colour:") as $tax_label) {$new_taxies[$tax_label] = $old_taxies[$tax_label];}

      return $new_taxies;

      }

      My taxonomies are Colour: and Topics: and this reverses them.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thank you for this code! The taxonomies do re-order, however, all the items in the dropdown menus go away. All that's left is "All".

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I am mystified because it is working on http://www.egyptological.com/sarah/contact for me (which is a mess because I am working on something else there).

      All I suggest is var_dump($old_taxies); before the foreach and then var_dump($new_taxies); afterwards and see if you can spot a problem.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: PS check you are using the correct labels for your taxonomies in your code.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Kate, using your debugging I found the problem. My labels needed a space at the end. In the setup I thought I had left the punctuation blank, but actually that is a space! Long story short, your code works. Thanks very much for the filter! Do you have a paypal account where I can donate to the cause?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Glad it works, If you would like to donate, there is a button at the top of the help text in the admin screen for the plugin - just drop the help text down and you will see it at the top.

      Cheers

      Kate

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Donation made. Thanks, Kate! Your plugin is a lifesaver.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Thank you

    • profile image

      anonymous 5 years ago

      Kate, I noticed something nice you did on your Egyptological site. If the search criteria are too stringent and the plugin returns no results, you have a message that says "Apologies, but no results were found". When no results are found on my site, I get nothing, not even the default "Sorry, but no results were found" that I get when the standard search function fails. How did you put in your custom "apologies" message?

    • profile image

      anonymous 5 years ago

      Kate, I noticed something nice you did on your Egyptological site. If the search criteria are too stringent and the plugin returns no results, you have a message that says "Apologies, but no results were found". When no results are found on my site, I get nothing, not even the default "Sorry, but no results were found" that I get when the standard search function fails. How did you put in your custom "apologies" message?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It's in the site's theme. When the loop finds nothing in either search.php or archive,php it displays the apology.

      It's actually something that is scheduled for improvement when I get time as it makes sense to display some popular posts to tempt people instead ... Obviously the apology will stay.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Oh, I see. I am using Thesis and it has a default message when the search loop fails. But I'm guessing your results are from the archive loop? So I'll look into a way to modify that loop.

    • profile image

      anonymous 5 years ago

      Hi Kate,

      So I'm making progress; I have the plugin installed and it seems to be displaying correctly on my site http://www.creaturez.org. However, none of the searches seem to be filtering anything. It doesn't seem to matter what I enter as search criteria, the site returns all posts regardless. Also, shouldn't the terms within the posts themselves be links?

      Thanks.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The plugin is working correctly and building the correct URL - which is all it does. So the problem lies elsewhere. I would try saving your permalinks again - that seems to solve many similar problems.

      BTW I would add a .taxonomy-picker {list-style:none} somewhere in your stylesheet. That should work, but you may need a more precise selector.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate,

      Thanks for the suggestions. Tried re-saving permalinks; no go. Also added your snippet, still no dice. Any other suggestions would be welcome.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The snippet was to sort out the style and get rid of the squares next to your selections.

      Try without the plugin typing in URLs to query your taxonomies. My guess is that they don't work. So something like http://www.creaturez.org/wordpress/?periodical_tit... isn't working as it should. It all points to a problem in your theme. In your admin, browse to the area for your taxonomies and see if you can "view" one of the values in one of your taxonomies. If you can, that at least is something and the problem is that WP / your theme, isn't handling the redirection from the longer format (which will make combinations impossible).

      I still think it is a problem in your theme - probably in taxonomy.php if you have one, if not it archive.php. If necessary we could probably patch your archive.php to read the URL string and do what it needs to do.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate, I can indeed browse and view the values correctly. I am using twentyeleven as a theme. Also, I created my taxonomy using another plugin (more taxonomies; http://labs.dagensskiva.com/plugins/more-taxonomie... Not sure if that might have something to do with it?

      Twentyeleven does not have a taxonomy.php file, but here is the content of my archive.php file:

      <?php

      /**

      * The template for displaying Archive pages.

      *

      * Used to display archive-type pages if nothing more specific matches a query.

      * For example, puts together date-based pages if no date.php file exists.

      *

      * Learn more: http://codex.wordpress.org/Template_Hierarchy

      *

      * @package WordPress

      * @subpackage Twenty_Eleven

      * @since Twenty Eleven 1.0

      */

      get_header(); ?>

      <?php if ( have_posts() ) : ?>

      <?php if ( is_day() ) : ?>

      <?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '' . get_the_date() . '' ); ?>

      <?php elseif ( is_month() ) : ?>

      <?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '' . get_the_date( 'F Y' ) . '' ); ?>

      <?php elseif ( is_year() ) : ?>

      <?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '' . get_the_date( 'Y' ) . '' ); ?>

      <?php else : ?>

      <?php _e( 'Blog Archives', 'twentyeleven' ); ?>

      <?php endif; ?>

      <?php twentyeleven_content_nav( 'nav-above' ); ?>

      <?php /* Start the Loop */ ?>

      <?php while ( have_posts() ) : the_post(); ?>

      <?php

      /* Include the Post-Format-specific template for the content.

      * If you want to overload this in a child theme then include a file

      * called content-___.php (where ___ is the Post Format name) and that will be used instead.

      */

      get_template_part( 'content', get_post_format() );

      ?>

      <?php endwhile; ?>

      <?php twentyeleven_content_nav( 'nav-below' ); ?>

      <?php else : ?>

      <?php _e( 'Nothing Found', 'twentyeleven' ); ?>

      <?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?>

      <?php get_search_form(); ?>

      <?php endif; ?>

      <?php get_sidebar(); ?>

      <?php get_footer(); ?>

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Your site is not redirecting properly then for some reason. The only solution is going to be edit your archive.php and add code to build a query from the URL - possible because you have remember turned on. I suggest you contact me via email. You can contact me to start with via http://www.egyptological.com/about/founders/contac... then when we have email addresses we can swap files. I can check archive,php directly in twentyeleven.

      I have a house guest this week and a lot else on so I cannot promise it is something I can do immediately for you - it make take me a few days - but I am willing to help if you wish.

    • profile image

      anonymous 5 years ago

      Hi! I am using a similar process for a sidebar in which I show a list of terms from a taxonomy and limit the related search to a specific post type:

      http://www.mywebsite.com/?post_type=tipo_1&amp...

      the resulting page (archive) shows a different template (specially the sidebar) depending on the post type value passed

      Now, I'd like to add your plugin and I was thinking about adding a scroll down menu for the user to select the post type. I think it could be the solutions many where asking for, but unfortunatelly I don't know how to add this feature to your plugin. Could you give me some help?

      Tank you very much!

    • profile image

      anonymous 5 years ago

      Hi! I am using a similar process for a sidebar in which I show a list of terms from a taxonomy and limit the related search to a specific post type:

      http://www.mywebsite.com/?post_type=tipo_1&amp...

      the resulting page (archive) shows a different template (specially the sidebar) depending on the post type value passed

      Now, I'd like to add your plugin and I was thinking about adding a scroll down menu for the user to select the post type. I think it could be the solutions many where asking for, but unfortunatelly I don't know how to add this feature to your plugin. Could you give me some help?

      Tank you very much!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It is potentially very easy, but I don't have test data set up so I haven't done much to try it. The line which disapplies post type is this one:

      if( ($tax=='link_category') or ($tax=='nav_menu') or ($tax=='post_format') ) continue;

      That is line 133 in taxonomy-picker.widget.php. Remove the last or ($tax=='post_format') and you will get post-types in your widget. That I have checked I hope it then passes all the way through but I haven't had time to check that. Let me know how you get on and I may add it to the standard version.

      One issue there is is that "standard" is not a post-type as such so it isn't listed. In my theme I allow standard to be mapped on to any post-type and for any standard plugin code I would need to do that, I think, and add standard as an option in the drop-down.

      Do please let me know. I am busy this week, so I may be slow resonding.

    • profile image

      anonymous 5 years ago

      Kate, i am using your plugin and i must say, this is just awesome awesome, but it gives me "No search results found" when i keep search text box empty and choose a term from taxonomy drill down, although if i include a blank space in search text box it works fine. Kinda same problem "Jesse" was having from this discussion, am i missing something, is their any workaround??

      Again, thanks for such a good plugin.

    • profile image

      anonymous 5 years ago

      Hi Kate

      is there for your plug in to layout horizontal?

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thank you! I am going to test it and I'll write as soon as possible,

      sorry for being late but I am very busy this week too!

    • profile image

      anonymous 5 years ago

      @anonymous: Here I am as promised.

      I tested it and it works but for a different element :)

      it shows post_format (http://codex.wordpress.org/Post_Formats).

      What I am trying to do is to add a dropdown or an option to pass the custom post type (http://codex.wordpress.org/Post_Types), sorry in my first message something was changed in output. The url I use is like this:

      http://www.mybebsite.info/?post_type=news&...

      or

      http://www.mybebsite.info/?post_type=events&am...

      where category is the regular wordpress category, "catevento" is my taxonomy

      so I thought it could work to add this part of code to your plugin.

      The problem is: it is not a taxonomy, we need to add something more like this (http://wordpress.org/support/topic/limit-search-re...

      Scegli Post typeAllNotizieEventi

      I tested as a widget and it works, as a search box, so I think we are very near!

    • profile image

      anonymous 5 years ago

      @anonymous: Test ricerca per post type

      Pages

      Posts

      Eventi

      Submit

      I tested it as widget, as search box it works. I think we are very near!

    • profile image

      anonymous 5 years ago

      @anonymous: Let's try again.

      The code I tested as widget, search box is this

      < div class="widget-1" >< h2 >Search by post type< /h2 >

      < form method="get" action="< ? php echo home_url(); ? >" >

      < input type="text" name="s" / >

      < label >Pages< /label >

      < input type="radio" name="post_type" value="page" / >

      < label >Posts< /label >

      < input type="radio" name="post_type" value="post" / >

      < label >Eventi< /label >

      < input type="radio" name="post_type" value="eventi" / >

      < button type="submit" >Submit< /button >

      < /form >

      < /div >

      I think this is very near to the solution.

    • profile image

      anonymous 5 years ago

      Hi Kate!

      Thanks for writing this plugin, it is very helpful!

      I'd like to actually display the query string on the search results page. Can you tell me how to do this?

      For example, if I use your widget to let people construct a query like this:

      Category A + Tag B

      Then at the top of the search results page, I'd like it to say something like:

      Search results for posts matching Category A and Tag B:

      I am comfortable coding, I just need to know how to access that information.

      Thanks!

    • profile image

      anonymous 5 years ago

      Right after install received this message:

      The plugin generated 306 characters of unexpected output during activation. If you notice âheaders already sentâ messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

      Got the latest WP version

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I will get back on other comments in the next few days - I had to rebuild the laptop.

      If your PHP error settings are high the plugin reports errors in other plugins - although I thought I was buffering that. The errors are elsewhere but the plugins error handler should be ignoring them.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate, I contacted you via your Egyptology site to ask for some more help. Just wondering if you received my email?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Sorry. Could you please resend. My laptop died and died again and again when rebuilt so I am on a new one. I have a backup of documents but not emails to that address for September. So sorry,

      Kate

    • profile image

      anonymous 5 years ago

      Hi Kate,

      Thank you for the great plugin.

      Can you tell me if it is possible to customise it for use across both pages as well as posts?

      With the capacity to apply a search across everything.

      Many thanks

    • profile image

      anonymous 5 years ago

      Hi,

      Is possible to line up the drop downs in horizontal instead of vertical?

    • profile image

      anonymous 5 years ago

      Does your plugin support shortcodes? Great plugin, BTW.

      Sean

    • profile image

      anonymous 5 years ago

      Hello Kate

      Thanks for your plugin. I'm using it to be able to build query combining text search with categories, keywords and one custom taxonomy.

      It works great with any combination regarding text, categories and custom taxonomy.

      but keywords don't work and never worked ! I don't understand where is the problem as I'm using the last version of wordpress and no particular plugin.

      you can have a look on www.vivre-ensemble.ch if you need.

    • profile image

      anonymous 5 years ago

      Hello Kate

      Thanks for your plugin. I'm using it to be able to build query combining text search with categories, keywords and one custom taxonomy.

      It works great with any combination regarding text, categories and custom taxonomy.

      but keywords don't work and never worked ! I don't understand where is the problem as I'm using the last version of wordpress and no particular plugin.

      you can have a look on www.vivre-ensemble.ch if you need.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Not yet. I keep meaning to add it but haven't jhad time.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: If you use CSS - there is a comment below with some CSS which might work

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Hi John,

      If you are "remembering" the query then the query is left in the URL and just needs unpacking.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: That bit has been re-written so many times. I'd suggest trying updating your permalinks and that may fix it.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It may be possible to add what you want to the output of the widget via a filter. I am back online tonight and will take a look.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: By keywords do you mean tags? If so, I will take a look

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: yes i mean tags...

      you will see that the tag archive works if you click on a post's tag (they are at the bottom of the posts). there are several fake posts with no tags... but this one has several tags: http://www.vivre-ensemble.ch/vivre-ensemble/2011/0...

      the tag "Europe" is attributed to 18 posts: http://www.vivre-ensemble.ch/vivre-ensemble/tag/eu...

      Thank you

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: yes i mean tags...

      you will see that the tag archive works if you click on a post's tag (they are at the bottom of the posts). there are several fake posts with no tags... but this one has several tags: http://www.vivre-ensemble.ch/vivre-ensemble/2011/0...

      the tag "Europe" is attributed to 18 posts: http://www.vivre-ensemble.ch/vivre-ensemble/tag/eu...

      Thank you

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: yes i mean tags...

      you will see that the tag archive works if you click on a post's tag (they are at the bottom of the posts). there are several fake posts with no tags... but this one has several tags: http://www.vivre-ensemble.ch/vivre-ensemble/2011/0...

      the tag "Europe" is attributed to 18 posts: http://www.vivre-ensemble.ch/vivre-ensemble/tag/eu...

      Thank you

    • profile image

      anonymous 5 years ago

      @anonymous: Hi Fab,

      I don't think your issue as to do with taxonomy plugin( I could be wrong).

      I Am using the plugin to search custom fields but as much as I know wordpress search engine doesn't serch in custom fields. I also believe that It doesn't search tags as well but not 100% sure. However , to solve the issue I had with custom fields not being search I installed "search everything" plugin which works perfect. take a Look at the plugin which I believe could solve your issue as well.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Agreed. It doesn't search in custom fields. It should search in tags but there is a bug which I am working on now and hope to fix.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: There is a bug. I can reproduce it and am hoping to fix it.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: In 1.10.9 I have added a function which returns a string of the query. Use as:

      echo tpicker_query_string();

      It might not be the ideal format. If you have suggestions on the best format I can consider enhancing the function

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Tags fixed in 1.10.9

      Sorry you had a problem.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: waoow !

      thanks ! I'll update as soon as it is available...

      you are fast ;-)

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks Kate, I will give it a try!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks Kate, I will give it a try!

    • profile image

      anonymous 5 years ago

      Hello,

      Thank you for your useful plugin. Is it possible to have two categories list? i mean to get search results that meet two different categories. So i need to have some categories in the first search and some others in the second search (instead of Post_Tags lets say). Thank you!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate,

      I tried this and I think I am able to manipulate it to do what I want.

      The only remaining issue that I am having is that the plugin does not always correctly identify "misses" when searching, and will frequently return an empty page rather than redirect to the specified "null search" page.

      Here is an example from the site I am working on:

      http://www.groupmindmedia.com/clients/diggerdeals/...

      Any idea what to do about that?

      Thanks!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate,

      I tried this and I think I am able to manipulate it to do what I want.

      The only remaining issue that I am having is that the plugin does not always correctly identify "misses" when searching, and will frequently return an empty page rather than redirect to the specified "null search" page.

      Here is an example from the site I am working on:

      http://www.groupmindmedia.com/clients/diggerdeals/...

      Any idea what to do about that?

      Thanks!

    • profile image

      anonymous 5 years ago

      i combine the css with other my site css but server contonue to call taxonomy picker css file.

      How can i stop that. Thank you.

    • profile image

      anonymous 5 years ago

      i combine the css with other my site css but server contonue to call taxonomy picker css file.

      How can i stop that. Thank you.

    • profile image

      anonymous 5 years ago

      Hi,

      I use your plugin in my site. I will like to check with you whether is there a possibility to reorder the taxonomy in the form layout, apparently, they are reordered themselves by aphabatically.

      For example, I using it for hotel reviews, I will like the region come first before location, cities. But it seem to display cities first follow by location and region in a-z order.

      Kindly advice.

    • profile image

      anonymous 5 years ago

      Hi,

      I use your plugin in my site. I will like to check with you whether is there a possibility to reorder the taxonomy in the form layout, apparently, they are reordered themselves by aphabatically.

      For example, I using it for hotel reviews, I will like the region come first before location, cities. But it seem to display cities first follow by location and region in a-z order.

      Kindly advice.

    • profile image

      anonymous 5 years ago

      Hi,

      I use your plugin in my site. I will like to check with you whether is there a possibility to reorder the taxonomy in the form layout, apparently, they are reordered themselves by aphabatically.

      For example, I using it for hotel reviews, I will like the region come first before location, cities. But it seem to display cities first follow by location and region in a-z order.

      Kindly advice.

    • profile image

      anonymous 5 years ago

      Hi,

      I use your plugin in my site. I will like to check with you whether is there a possibility to reorder the taxonomy in the form layout, apparently, they are reordered themselves by aphabatically.

      For example, I using it for hotel reviews, I will like the region come first before location, cities. But it seem to display cities first follow by location and region in a-z order.

      Kindly advice.

    • profile image

      anonymous 5 years ago

      @anonymous: Hi,

      sorry for the repeated thread, something wrong with my network that ended up for me to key several time. my apology.

    • profile image

      anonymous 5 years ago

      Hi

      Can we use this plugin for pages? I mean it is only working on posts. How can I make it work on pages?

      Thanks in advance

    • profile image

      anonymous 5 years ago

      Hi

      Can we use this plugin for pages? I mean it is only working on posts. How can I make it work on pages?

      Thanks in advance

    • profile image

      anonymous 5 years ago

      Hi

      Can we make this plugin work for pages? I mean it is now working only on posts.

    • profile image

      anonymous 5 years ago

      @anonymous: Hi Andrew

      Can you help me how to add taxonomy to pages?

      Thanks in advance

    • profile image

      anonymous 5 years ago

      I have a custom type of Jobs, then taxonomies of Type, Location etc..but what if I want to filter by Location Type and then a date range, is this possible ?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The plugin builds a URL. What your site does with that URL is outside the plugin which has no query handling of its own. So the question is whether there is a URL format which would give you the results you want? If there is, then I can show you how to get the plugin to produce it.

      (I wish the Codex would properly document URIs. It may be changing in WP3.3 so hopefully we may get better documentation.)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The plugin builds a URL. What your site does with that URL is outside the plugin which has no query handling of its own. So the question is whether there is a URL format which would give you the results you want? If there is, then I can show you how to get the plugin to produce it.

      (I wish the Codex would properly document URIs. It may be changing in WP3.3 so hopefully we may get better documentation.)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: This was addressed earlier. Eventually I will add sorting into the widget interface but I don't have time for the next couple of months. However, the way to do it now is to add a filter like this to your style functions.php:

      add_filter( 'tpicker_taxonomies', 'my_tpicker_taxonomies' );

      function my_tpicker_taxonomies( $old_taxies) { // Filter taxonomy order

      foreach( array("Topics:", "Colour:") as $tax_label) {$new_taxies[$tax_label] = $old_taxies[$tax_label];}

      return $new_taxies;

      }

      My taxonomies are Colour: and Topics: and this reverses them. You will need your labels (including punctuation), rather than mine.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: HI Alex

      There is an option in the plugin's admin to turn off the stylesheet ("Disable stylesheet?"). Have your tried that?

      (You should also be able to move the stylesheet to your theme folder and that will be used in preference to the one in the plugin folder, but disabling sounds better for you.)

      Just a warning though, if you wish to use any new features in any updates which come along, you may need to update your CSS to take advantage of them.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks for update, understand more now. Think I may have to write custom template page with user inputs. Could use Custom Type Archive plugin widget but that would only do date element.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Sorry, missed yours Andrew.

      Maybe not. I can add a filter to the bottom of the widget to allow you to add the HTML for additional inputs. They should pass through to the final URI so that you would then just need to add that bit to the standard query.

      Let me know if you need the filter

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: One thing your could try is from a comment below, to whih I replied as follows ...

      It is potentially very easy, but I don't have test data set up so I haven't done much to try it. The line which disapplies post type is this one:

      if( ($tax=='link_category') or ($tax=='nav_menu') or ($tax=='post_format') ) continue;

      That is line 133 in taxonomy-picker.widget.php. Remove the last or ($tax=='post_format') and you will get post-types in your widget. That I have checked I hope it then passes all the way through but I haven't had time to check that. Let me know how you get on and I may add it to the standard version.

      One issue there is is that "standard" is not a post-type as such so it isn't listed. In my theme I allow standard to be mapped on to any post-type and for any standard plugin code I would need to do that, I think, and add standard as an option in the drop-down.

      * * *

      That may give you pages as well.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: You mean a query which does and AND of two selected categories? Like category=red and category=large? No. If I add multi-select it will be on an OR basis.

      The best way is to use custom taxonomies instead for one or more of these so that you can then have an AND match - the prepack taxonomies make it easy. Just remember to update your permalinks when you add a new custom taxonomy.

      If you *really* *really* needed it, I could probably add a couple of filters so it wouldn't take that much code to achieve, but I don't really recommend it.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Kate - yes please - that would be awesome to have the additionals at the bottom of the widget.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Will do and advise when done - hopefully this week.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Done in 1.10.10. I haven't tested the filter but it should be in place. The source code is:

      $result .= apply_filters( 'tpicker_form_after_fields', ""); // Filter taxonomy order

      The filter passes a string. Any HTML you return will be included within the HTML.

      You may also need to add something to another filter:

      $blog_url = apply_filters('tpicker-built-uri', $blog_url);

      That plugin passed the selection as a POST to a form. That is used to build a redirection to a URL - the second filter is the full URL which is built and is called immediately before the redirection. I suspect that will be necessary for a date range. You will probably need to strip it from the URL built for redirection but add it back into the query in your theme's archive.php. If you remember the query, the date range should still be saved in the final element of the URL. There are functions to help unpack that, but I am not sure which you will need.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: thank you for your answer! I will do it using custom taxonomies, it works:) thanks again!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks so much for this Kate, I had manually adapted the core files to add a data range input, but have now added the filter.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks so much for this Kate, I had manually adapted the core files to add a data range input, but have now added the filter.

    • profile image

      anonymous 5 years ago

      Hi Kate,

      excuse me for my english and thanks for your excellent plugin.

      I was wondering if it is possible somehow to implement free text search, in substitution of lists: I would like to let users type in a blank field the words they want to search, just choosing the taxonomy or the taxonomies in witch they want to do the searching.

      This could be more practical for long lists of taxonomies.

      Is it or will it be possibile?

    • profile image

      anonymous 5 years ago

      Your plugin is great ! Exactly what I was looking for and works like a charm. Thank you very much for your work.

      One thing though, I'd like to be able to style the widget in a different way that my theme is styled.

      Would you please have some advice on how to do this please ?

    • profile image

      anonymous 5 years ago

      Hi Kate,

      Thanks for this plug-in, really like it. I have lots of categories and sub-categories which means the list gets awkwardly long. Is it possible to have expandable / collapsable taxonomy trees to manage this please? Also is it possible to select multiple options or categories using a check-box instead of a dropdown?

      Many thanks,

      JP

    • profile image

      anonymous 5 years ago

      Hi,

      I'm having an issue on a test site where if i choose the item from a drop down it appears fine but if I do a search for the item it gives a "Sorry, no posts matched your criteria." This doesn't make any sense to me.

    • profile image

      anonymous 5 years ago

      Hi,

      I'm having an issue on a test site where if i choose the item from a drop down it appears fine but if I do a search for the item it gives a "Sorry, no posts matched your criteria." This doesn't make any sense to me.

    • profile image

      anonymous 5 years ago

      You could have a look at http://wp-events-plugin.com/ regarding the update for the slug :)

    • profile image

      anonymous 5 years ago

      You could have a look at http://wp-events-plugin.com/ regarding the update for the slug :)

    • profile image

      anonymous 5 years ago

      What´s the best way to use this if I need it to work in English and French? I have a multilingual site. Just a few words I would like to change and then on the French side I would like to only show the French categories to search. Thoughts?

    • profile image

      anonymous 5 years ago

      What´s the best way to use this if I need it to work in English and French? I have a multilingual site. Just a few words I would like to change and then on the French side I would like to only show the French categories to search. Thoughts?

    • profile image

      anonymous 5 years ago

      This is a fantastic plugin and has helped me achieve a great result for search capabilities. However, despite having a search.php template, which works for a normal search, each time I search through this widget it fires the entry.php template. I have scoured the files, nut can't see a way to get it to use search.php, or, even better, a bespoke search template just for these results.

      Is there any way tho scan be done?

    • profile image

      anonymous 5 years ago

      This is a fantastic plugin and has helped me achieve a great result for search capabilities. However, despite having a search.php template, which works for a normal search, each time I search through this widget it fires the entry.php template. I have scoured the files, nut can't see a way to get it to use search.php, or, even better, a bespoke search template just for these results.

      Is there any way tho scan be done?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It may be possible with filters. Most text now goes through at least one filter so it can be changed programmatically. I keep trying to find time to document the filters and never do, so ask if you need a particular one.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Which template is used is governed by the theme so it is very, very hard to change. What may be possible is to direct it to a page template which you could then customise as needed. I will take a look and see what can be done.

    • profile image

      anonymous 5 years ago

      This is an excellent plugin, and like JP below I'm after a way of either collapsing some taxonomies or perhaps being able to customise which ones appear in a specific search (they're hierarchical). Would love to see a checkbox option on a drop down. Dynamically populated drop down with the child taxonomies would be even better!

    • profile image

      anonymous 5 years ago

      This is an excellent plugin, and like JP below I'm after a way of either collapsing some taxonomies or perhaps being able to customise which ones appear in a specific search (they're hierarchical). Would love to see a checkbox option on a drop down. Dynamically populated drop down with the child taxonomies would be even better!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Dave, even with filters this isn't possible in the latest version.

      I'm sorry but I don't think adding the checkboxes you want are a good idea because new items can get added to taxonomies. The beta version may be better for you when I finish it has it has pruned (collapsed) trees. I am presently having a performance problem with the code which sorts a taxonomy into a tree, which is part of why the beta version is still beta. I need to go hunting for the code which core uses to sort taxonies as trees and embed that.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Dave, even with filters this isn't possible in the latest version.

      I'm sorry but I don't think adding the checkboxes you want are a good idea because new items can get added to taxonomies. The beta version may be better for you when I finish it has it has pruned (collapsed) trees. I am presently having a performance problem with the code which sorts a taxonomy into a tree, which is part of why the beta version is still beta. I need to go hunting for the code which core uses to sort taxonies as trees and embed that.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Looking to change:

      search by

      search selection

      Is it possible to have the filters only show English categories when on English page and only French on the French side?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I would suggest using a plugin like Widget Logic which allows you to display two different copies of the widget in the same sidebar (widget area). Use selection criteria so that one displays in the English version of the site and specifiy your English categories, and similarly for the French site and French categories

      If you are looking to change the search text, it may be possible to use a translation file but I have never tested that - translation is still a bit of a mystery to me. (Note, translation is disabled anyway if you specify search text in the widget admin page.) The other, and probably better option is to use the tpicker_search-text filter which you can use to conditionally change the text.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Really appreciate the help on this. The widget logic was great.

      I still need a bit of help on translating "search selection" and "search by" and the categories are still showing in English.

      http://chrisandlaura.org/chants/?lang=fr

      I can also send you an email to log in to see a bit more, I am not sure how I can filter it to show only the French categories...

    • profile image

      anonymous 5 years ago

      I'm not sure if I'm doing something wrong, but when I do a search, it doesn't find anything.

      I'm adding text that appears in the main body of a taxonomy entry.

      I have 'All' selected on all the taxonomies I have.

      Also, is there a way to do a search without adding anything into the main search box? So, for example, if I just clicked, it would show all the posts in the sections selected.

      One other thing I wondered, is if it is possible to include an option for the user to not include something, so where it has, for example 'All' and 'Taxonomy Category', it would also include 'Ignore' or something similar?

      Thanks,

      Joe

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Joe try on www.egyptological.com/find as it is fully set up

      Text search works on the text on pages, not the text of a taxonomy, and yes you can just select a taxonomy without any text search. As I say, try playing on my site.

      I can't see an easy way I could implement Ignore. There may be a hard way, but for the next few months I don't have time to do the extensive coding it would take, sorry. However, I am not sure I would want to do it if I had time. The danger is that it would make the widget ttoo hard for site visitors to understand. There is a tightrope between simplicity of use and being full-featured. I can't claim to have it right because there is no right in such a balance and everybody will have a different view.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Fantastic - thanks! Do you know if this is incompatible with GD Products plugin - I just added that and all of a sudden I have major issues - as in I cannot access my admin area and I get the white screen of doom?

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Fantastic - thanks! Do you know if this is incompatible with GD Products plugin - I just added that and all of a sudden I have major issues - as in I cannot access my admin area and I get the white screen of doom?

    • profile image

      anonymous 5 years ago

      Hello,

      Can you please tell me how i can change the "reset" button text? Thank you for your reply and for your great plugin!

    • profile image

      anonymous 5 years ago

      Hi Kate,

      I am using your plugin, but I discover one problem. I am creating 2 custom post types like hotelreviews and restaurantreviews where they share the same taxonomy say "location". I place the form in the hotelreviews to sort, and realise that it call out all posts from the 2 custom post types rather than specific to hotelreviews. I realise that the sort string is /url/??cities=singapore&kandie_tpicker=cities=singapore instead of /url/hotelreviews/?cities=singapore&kandie_tpicker=cities=singapore. I am not sure how it is not appending to my intended url instead of the index url.

      I just want to filter by taxonomy for SPECIFIC custom post type say Hotel reviews or Resturant reviews although they share the same taxonomy like "location.

      Any advice on this?

      Wan

    • profile image

      anonymous 5 years ago

      Hi Kate,

      I am using your plugin, but I discover one problem. I am creating 2 custom post types like hotelreviews and restaurantreviews where they share the same taxonomy say "location". I place the form in the hotelreviews to sort, and realise that it call out all posts from the 2 custom post types rather than specific to hotelreviews. I realise that the sort string is /url/??cities=singapore&kandie_tpicker=cities=singapore instead of /url/hotelreviews/?cities=singapore&kandie_tpicker=cities=singapore. I am not sure how it is not appending to my intended url instead of the index url.

      I just want to filter by taxonomy for SPECIFIC custom post type say Hotel reviews or Resturant reviews although they share the same taxonomy like "location.

      Any advice on this?

      Wan

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Kate, do I need to tweak something in the search to make it so searches my custom post type entries? By default it only seems to search "regular" posts.

    • profile image

      anonymous 5 years ago

      Your plugin is great and working nicely with taxonomies. The taxonomy.php file is displaying the pages correctly but I would like the search terms to be displayed in the h1 tags. Currently only the first term it is showing is displaying, but I would like it to show all terms and values from the search. How can I do that?

    • profile image

      anonymous 5 years ago

      Thanks so much for this plugin! Love it.

    • profile image

      themespotter 5 years ago

      Thanks so much for this plugin!

    • profile image

      anonymous 5 years ago

      Hiya,

      thanx ever so much for this amazing plugin!

      There seems to be a problem in the last version, it clashes with nextgen gallery. I get this error when I try to upload images:

      ERROR: image001.jpg : ?

      Fatal error: Call to undefined function kandie_auto_open_help() in wp-content\plugins\taxonomy-picker\taxonomy-picker-taxonomies.php on line 54

      Versions are: NextGen 1.9.0 Taxonomy Picker 1.10.1.0

      It's described here http://wordpress.org/support/topic/plugin-nextgen-...

      Can you help?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I have added i 1.10.11 a filter tpicker_reset which has a string argument and return value - the text to use.

      Sorry to be slow.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I have added i 1.10.11 a filter tpicker_reset which has a string argument and return value - the text to use.

      Sorry to be slow.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It builds a complete custom URL so you cannot change the stem. I can see that would be useful, but I don't have time to add it to the admin right now. However, before it redirects to the built URL, the URL is passed through the tpicker-built-uri filter which you could use to change the base which will be used.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It builds a complete custom URL so you cannot change the stem. I can see that would be useful, but I don't have time to add it to the admin right now. However, before it redirects to the built URL, the URL is passed through the tpicker-built-uri filter which you could use to change the base which will be used.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Firstly, there seems to be a WP3.3 problem in there. On WP3.3 the help text for the plugin isn't autoopening - a change in WP core I need to investigate when I have more time. Doesn't really matter, but it could be related, and needs fixing.

      I don't have time to check against another plugin. My guess is that NEXTGEN is doing something odd in Javascript - but it might be necessary to get around the WP 3.3 strangess.

      WHat I have done is wrapped the offending function call in a function_exists so if the function doesn't exist (not at all sure how that can happen), then it should just move on gracefully. All that will happen is that help text won't display - but for some reason it isn't displaying anyway in WP3.3.

      Hopefully it should fix your problem (when you download v1.10.11). I will try to get to the bottom of the underlying problem in the New Year.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Firstly, there seems to be a WP3.3 problem in there. On WP3.3 the help text for the plugin isn't autoopening - a change in WP core I need to investigate when I have more time. Doesn't really matter, but it could be related, and needs fixing.

      I don't have time to check against another plugin. My guess is that NEXTGEN is doing something odd in Javascript - but it might be necessary to get around the WP 3.3 strangess.

      WHat I have done is wrapped the offending function call in a function_exists so if the function doesn't exist (not at all sure how that can happen), then it should just move on gracefully. All that will happen is that help text won't display - but for some reason it isn't displaying anyway in WP3.3.

      Hopefully it should fix your problem (when you download v1.10.11). I will try to get to the bottom of the underlying problem in the New Year.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanx for the answer, and for the work on it. It wouldn't be the first time that NextGen is doing something odd, but there's no point in complaining since both plugins are free.

      Thanx for helpšing, and for developing this awesome plugin!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Just checked it, and again it errs.

      Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'taxonomy_picker_admin_init' not found or invalid function name in \wp-includes\plugin.php on line 405

    • profile image

      anonymous 5 years ago

      Great plugin!

      Is it possible to have more than one filter at a time? Let's say one of my taxonomy is "number of bedrooms" and the other "guest capacity", i would like users to filter the search for houses with 3 bedrooms and a guest capacity of 9 for example.

      At the moment, the search results either gives me all houses with 3 bedrooms (regardless of the guest capacity selection) or the guest capacity regardless of the number of bedrooms.

      How do i set the search results to include ALL search selections instead of just one?

      Also, i have a problem. My taxonomy "10 guests or more" displays in the list between "1 guest or more" and "2 guests or more".. How do i place it after the option "9 guests or more" instead?

      Finally, is it possible to sort the results by page order rather than date of publising?

      Thanks a lot in advance for your precious help!

    • profile image

      anonymous 5 years ago

      @anonymous: I believe the problem is due to the generation of a wrong url.. When i do a search, the url takes me to the selected taxonomy archive for the first field in the search query (in my case the number of bedrooms), so only this term gets used in the search.

      Here is the url for a search for 5 bedrooms and 8 guests:

      http://prvnce.prod2.webenabled.net/bedrooms/5_bedr...

      Any idea what's going on?

    • profile image

      anonymous 5 years ago

      Kate - I have what are probably a couple dumb questions.

      -What code would I use to include the Taxonomy Picker into a theme file, as opposed to using the widget? I tried: <?php

      echo tpicker_query_string(); ?> but that doesn't seem to be working.

      -Is there a way to get the widget to display each taxonomy horizontally?

      Thanks!

    • profile image

      anonymous 5 years ago

      Any chance you can shortcode support for the plugin?

      Thanks.

    • profile image

      anonymous 5 years ago

      Any chance you can shortcode support for the plugin?

      Thanks.

    • profile image

      anonymous 5 years ago

      @anonymous: This would be most useful for using this on a search page. The place I'd want this placed would be in the content area of the Advanced Search page, not in any widget area.

    • profile image

      anonymous 5 years ago

      Hi Kate,

      I am trying to use this widget multiple times, but different combo of taxonomies. For example, I want to do a massive review site, if for hotel review, I will like to have the combo of taxonomies "hotel type, location, cities, price" and if I am doing for food review, I will like to have the combo of taxonomies be in "cusine, food places, location, price". Somehow, I realise once I create the combo for hotel review, it keep replicate the widget from the hotel review combo, even though I have click different taxonomy in new widget. As I am using headway theme, adding multiple widgets is not a problem. What I need is different widget combo of taxonomies. Is that possible? kindly advice.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: There is some CSS for horizontal display lower down the comments somewhere - sorry I don't have time to hunt for it.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Hi Dustin,

      I want to add shortcode support. I just don't have time at present - I'm really stretched with other things. It's not terribly hard - just a function to build an array from the inputs but it needs the beta widget finishing first and that is a lot of work, and I need to completely redo the documentation for the plugin.

      Sorry, I really want it but I just can't squeeze time at present.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: There are a couple of similar questions so I will answer this one.

      You should be fine. Somebody else was using it that way in combination with Widget Logic to control which plugin was displayed. I haven't tried adding multiple copies which BOTH / ALL display at the same time. Does it work or not?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: There are a couple of similar questions so I will answer this one.

      You should be fine. Somebody else was using it that way in combination with Widget Logic to control which plugin was displayed. I haven't tried adding multiple copies which BOTH / ALL display at the same time. Does it work or not?

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate,

      I tried with widget logic, it is not working as well. What I did is using "is_page(hotel review page id)" to restrict the appearance of my hotel review taxonomy combo, then using is_page(food_review page id) for another combo, but the hotel review combo still appear. It does not work for me. Now I really have a real problem. Any way to fix this?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: If you want it to appear on specific pages only the plugin supports that natively. I don't see why multiple copes of the plugin doesn't work.

      There is an alternative. There is a filter which is called after the taxonomy list has been sorted. Its tpicker_taxonomies The argument is an array of the taxonomies. What you could try is using only one copy of the widget and set it to appear on all relevant pages. Then in the filter use is_page() to deleted unwanted taxonomies from the list of taxonomies. Just be careful because I think the list of taxonomies is after all string processing so I'd suggest you do a var_dump() the first time to get the format. I know, I know, I need to write up proper documentation.

      For what you want to do that is probably a neater and more maintainable approach anyway. I'm pushing really tight deadlines but shout if you hit problems.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: If you want it to appear on specific pages only the plugin supports that natively. I don't see why multiple copes of the plugin doesn't work.

      There is an alternative. There is a filter which is called after the taxonomy list has been sorted. Its tpicker_taxonomies The argument is an array of the taxonomies. What you could try is using only one copy of the widget and set it to appear on all relevant pages. Then in the filter use is_page() to deleted unwanted taxonomies from the list of taxonomies. Just be careful because I think the list of taxonomies is after all string processing so I'd suggest you do a var_dump() the first time to get the format. I know, I know, I need to write up proper documentation.

      For what you want to do that is probably a neater and more maintainable approach anyway. I'm pushing really tight deadlines but shout if you hit problems.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Sorry Dustin, nearly didn't see this message. This may be feasible. The beta version uses an object so you could create the object in code youself. Make sure you set the beta on.

      I've not tried calling it natively, and don't have instructions so not quite certain what it needs as I am working from a very quick code review but I think the important thing for the constructor is an $instance argument which contains this type of array:

      $instance['taxonomies'][$taxonomy_name] = Array(

      'name' => $taxonomy_name,

      'value' => $taxonomy_value,

      'hidden' => '',

      'orderby' => $taxonomy_orderby,

      'sort' => $taxonomy_sort,

      'ancestors '=> array()

      );

      i.e. poplulate with all the taxonomies you need. The second $args arguments is a standard widget arguments array of things like the widget title.

      Sorry, it may not work, but you may be able to test it quickly. Class name etc in the tpicker-library file.

      If I am write, then adding a simple shortcode might not take me as long as I feared. I might give it a quick go next week if I can squeeze a couple of hours' time - but its far from certain I can, or that it will work! Sorry, I really am pressed.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: I'm having a hard time finding any horizontal display css in the comments but will dig through them again. Thanks.

    • profile image

      anonymous 5 years ago

      Hi, great plugin, and just what I was looking for. It scores over every other solution I've found, with some very intelligent programming.

      However, I've run into a few minor hiccups, detailed below:

      1. markup of the combobox is invalid - hidden fields appear inside but are not inside and not wrapped in block level elements, throwing w3c validator errors

      2. unexpected output errors on activation

      3. several wp-debug errors on front end and back end

      4. the order of output of taxonomies is hardcoded to be alphanumeric - it would be useful if this could be switchable to the order in which the taxonomies were registered (for my own purposes I commented out the sorting)

      5. "remember" is a great touch, but produces long, not-nice urls. In some of my testing, these have been a paragraph long, so I have this disabled for now.

      Great work, thank you, and living forward to further developments with interest.

    • profile image

      anonymous 5 years ago

      Hi, great plugin, and just what I was looking for. It scores over every other solution I've found, with some very intelligent programming.

      However, I've run into a few minor hiccups, detailed below:

      1. markup of the combobox is invalid - hidden fields appear inside but are not inside and not wrapped in block level elements, throwing w3c validator errors

      2. unexpected output errors on activation

      3. several wp-debug errors on front end and back end

      4. the order of output of taxonomies is hardcoded to be alphanumeric - it would be useful if this could be switchable to the order in which the taxonomies were registered (for my own purposes I commented out the sorting)

      5. "remember" is a great touch, but produces long, not-nice urls. In some of my testing, these have been a paragraph long, so I have this disabled for now.

      Great work, thank you, and living forward to further developments with interest.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Hi Alistair

      1. I will take a look at the validation issue. That will be easy to fix.

      2 - 3. I thought I had fixed those. It's some problem between the plugin and something else which is causing the problems. It's a rare issue which affects only a minoroty of users. I will take another look.

      4. There is a filter to change the order. In the longer term I'd like drag and drop ordering but that is a bigger time commitment than I can accommodate right now

      5. I can fix the long URL problem (not usually a big problem but can be with some taxonomies) in the medium term - I'll add the option of using a transient in the database.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Hi Alistair

      1. I will take a look at the validation issue. That will be easy to fix.

      2 - 3. I thought I had fixed those. It's some problem between the plugin and something else which is causing the problems. It's a rare issue which affects only a minoroty of users. I will take another look.

      4. There is a filter to change the order. In the longer term I'd like drag and drop ordering but that is a bigger time commitment than I can accommodate right now

      5. I can fix the long URL problem (not usually a big problem but can be with some taxonomies) in the medium term - I'll add the option of using a transient in the database.

    • profile image

      anonymous 5 years ago

      Hi,

      Excellent plugin, I have changed the options to use All {name} and it is working well. Can you please advise how I can remove each label? Because of the option I have chose I now get the label twice.

      Thanks

      RIchard

    • profile image

      anonymous 5 years ago

      Hi Kate

      Amazing plugin! I have been looking for something like this for a while. I have a couple of questions.

      1. I am using two categories which I have set up custom templates for each and then separate sidebar widgets how do control where the results are shown as at the moment I am loosing the widget bar when it shows the results.

      2. I want to exclude certain categories but can't find where the categories ID is.

      Sorry if these are stupid questions.

      Thanks

      Chris

    • profile image

      anonymous 5 years ago

      @anonymous: Another stupid question!

      Do I need to enable the reset button? As it is not appearing on my site.

    • profile image

      anonymous 5 years ago

      @anonymous: Another stupid question!

      Do I need to enable the reset button? As it is not appearing on my site.

    • profile image

      anonymous 5 years ago

      Hello everyone,

      I first want to say that this plugin looks great, I've been looking for that for a while. However I am not lucky, it seems it doesn't work on my site, when I activated it I got the message: " The plugin generated 287 characters of unexpected output during activation. If you notice âheaders already sentâ messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."

      I still wanted to go on and then I got:

      Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/interjus/public_html/wp-content/plugins/taxonomy-picker/taxonomy-picker.php on line 62

      Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/interjus/public_html/wp-content/plugins/taxonomy-picker/taxonomy-picker.php on line 42

      and finally it blocked my website :-(

      is there anything I can do to have chance to use it, I really need this tool!

      thanks

    • profile image

      anonymous 5 years ago

      Hello everyone,

      I first want to say that this plugin looks great, I've been looking for that for a while. However I am not lucky, it seems it doesn't work on my site, when I activated it I got the message: " The plugin generated 287 characters of unexpected output during activation. If you notice âheaders already sentâ messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."

      I still wanted to go on and then I got:

      Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/interjus/public_html/wp-content/plugins/taxonomy-picker/taxonomy-picker.php on line 62

      Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/interjus/public_html/wp-content/plugins/taxonomy-picker/taxonomy-picker.php on line 42

      and finally it blocked my website :-(

      is there anything I can do to have chance to use it, I really need this tool!

      thanks

    • profile image

      anonymous 5 years ago

      Hello everyone,

      I first want to say that this plugin looks great, I've been looking for that for a while. However I am not lucky, it seems it doesn't work on my site, when I activated it I got the message: " The plugin generated 287 characters of unexpected output during activation. If you notice âheaders already sentâ messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."

      I still wanted to go on and then I got:

      Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/interjus/public_html/wp-content/plugins/taxonomy-picker/taxonomy-picker.php on line 62

      Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/interjus/public_html/wp-content/plugins/taxonomy-picker/taxonomy-picker.php on line 42

      and finally it blocked my website :-(

      is there anything I can do to have chance to use it, I really need this tool!

      thanks

    • profile image

      anonymous 5 years ago

      hi, Amazing plugin, i have few issues, i tried reading all the comments but couldnt find the answers

      1: How can i re order the labels to be displayed ?

      2: Most Important: How can i restrict it to search the pages.? ( i dont have the content of the pages to be visible in its search )

      Thanks

    • profile image

      anonymous 5 years ago

      hi, Amazing plugin, i have few issues, i tried reading all the comments but couldnt find the answers

      1: How can i re order the labels to be displayed ?

      2: Most Important: How can i restrict it to search the pages.? ( i dont have the content of the pages to be visible in its search )

      Thanks

    • profile image

      anonymous 5 years ago

      Hi Kate. I'll echo all the praise for this plugin - great job. I have hit one snag: despite checking the option to include custome post types it does not seem to be picking up my custom post types when I run the search. Do I need to do something specific. I used Dev4Press's Custom Post and Taxonomy plugin to set up the custom post, if that makes any difference?

      Thanks! Andy

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Hi

      Sorry you are having problems.

      For some reason your system is turning on the plugin's debug mode. Why is a mystery - it happens on a tiny handful of systems. We suspect that some other plugins may somehow activate debugging mode but I have no idea how.

      You should not be getting any error messages from the plugin even with debugging on. I think the second is only happening because the plugin didn't activate properly. It can be cleared by saving options within the admin but I have also changed the code and hope that it is now more robust and won't give an error even fi plugin activation failed to complete. The first is redundant code and has been removed.

      The other errors are almost certainly coming from other plugins and from core. If debugging is turned on, somehow, I cannot do much about that.

      Debugging should only get turned on if the constant KANDIE_THEME_DIR has been defined. You could try editing kandie-foundation.php in the KANDIE-LIBRARY folder to make it:

      function kandie_debug_status() {

      return;

      }

      Likewise:

      function kandie_backtrace( $stream = 'echo', $drop = 0) {

      if( !defined( KANDIE_THEME_DIR ) ) return; // Ensure it doesn't run onlive systems

      require_once( 'kandie-debug.php' ); // Load up the debug functions

      $styles = "";

      $dropped = false;

      if( $stream == 'mixed' ) $stream = kandie_debug_status();

      if( $stream != 'echo' and $stream != 'log' ) $stream = 'echo'; // Default to echo

      $backtrace = debug_backtrace();

      while($drop):

      array_shift($backtrace);

      $drop--;

      $dropped = true;

      endwhile;

      if($dropped):

      $trace = reset($backtrace);

      $fn_args = "Args:$styles" . implode(",", $trace) . "";

      endif;

      if( $stream == 'echo' ):

      echo $fn_args;

      echo "";

      array_walk( $backtrace, "kandie_echo_backtrace" ); // Output the backtrace

      echo "

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Is it building the correct URL?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: 1. You would use a filter. If you wish to go down that route I can post up details

      2. It is designed to search posts. If you wish to search pages (?? not sure if that is what you want) then it should be possible using another filter but I haven't tested it.

      Get back with what you want.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi sorry i think i was fully clear

      I only want the post and custom post types to be searched and not the pages and please let me know what filter to use to re order how the labels are displayed

      Thanks for your help

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The filter for taxonomy (i.e. label) order is tpicker_taxonomies which has an argument an array of taxonomies - just re-order as needed.

      Sorry I wasn't sure whether you wanted to search pages or exclude them. There are two ways to exclude them.

      1) They don't show if a taxonomy is selected. Depening on site design that may be easy. If you look at my site at http://www.egyptological.com/find and search on "taxonomy" you will see it builds a URL of http://www.egyptological.com/?s=taxonomy&c... which returns just a one post. If you manually then shorten the URL to http://www.egyptological.com/?s=taxonomy you will see it then searches pages as well. So you may be able to do as I do and specify a list of categories.

      2) If that doesn't work you need a filter. Again if you try manually entering a URL on my site and try http://www.egyptological.com/?s=taxonomy&p... you will see you are back to just posts and not pages. (There are two posts because there is a post in a minor category.) To do this on your site you would use the tpicker-built-uri filter which has a string argument. Providing you are not "remembering" your search, just add &post_type=post to the end and return it.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks for the quick response

    • profile image

      anonymous 5 years ago

      Hi a quick question, can i format the search to let user control to view it in ascending or descending order i want to show the search as highest priced or lowest priced

      can you point me to file or line on the code where i can do it ?

    • profile image

      anonymous 5 years ago

      Hi Kate

      Can you help me I am trying to get the plugin to appear horizontally rather than vertically. How ever when I do this with my theme css the search button appears slightly higher in some browsers and lower in others. Is there a reason for this?

    • profile image

      anonymous 5 years ago

      Hi Kate, wonderful plugin you got here.

      I was wondering though, can you have the plugin/widget to filter only posts from a certain post type? I have one custom post type where I would need filtering, but not in others, so the resulting URL would be something like "http://myurl.com/mjy-custom-post-type/?taxonomy1=s...

      Cheers!

    • profile image

      anonymous 5 years ago

      Hi Kate

      Congratulations for a very useful plugin that I was looking for quite a time now...

      I got only one problem I've been trying to track it down with no luck. Probably I'm doing something wrong because on your site (Egyptological Online) it seems to work perfect.

      When all filters are set to "All Items" it goes to the error page. In any case I need to pick at least on value on any filter, in order to bring results.

      Beside my little problem I got a suggestion to make, that I believe it would be useful to lots of users. What about if the visitor could pick multiple values from a filter (more than one choices)

      Thanks again

      George

    • profile image

      anonymous 5 years ago

      Hi Kate!

      Thanks for your plugin! It is great.

      Is it possible to change the font size and color for **All** (and other taxonomies)?

      I was trying to invistigate the code(with firebug), but it didn`t help.

      Many thanks again for this plugin.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Hi, if you post up your site I will see if I can quickly spot what is wrong in your CSS

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It wouldn't be in the code as it need to be change in browser - so that means it would take separate Javascript

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I can't get :firstchild to work but this sort of syntax works instead:

      #taxonomy-picker select option {color:red;background:silver;}

      #taxonomy-picker select option ~ option {color:blue;background:black;}

      Obviously change as needed

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Within the dashboard options for Taxonomy Picker you will see there is an option for the URL you wish to use if "*ALL"" has been selected for everything. Just point that to where you need it to go.

      There are various enhancements I could make. I need to be certain I am happy with the beta code and make that the recommended code instead. Then I can start adding enhancements.

      There is a problem though with multi-select. So far as I am aware WP supports this in the URL for ategory but not for custom taxonomies. In order to hande multi-select I would have to add a query handler. That isn't something I have ruled out, but at present I rely on WP and the theme to handle the query as that is more predictable. It's something that is on the list of things to consider but it if it happens it will be longer term rather than short term because of the other things which have to be in place before I could add multi-select.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I don't have a site with custom post types to test. I added a post-type option some time ago. You will need to enable it in the Taxonomy Picker Dashboard admin. It will then be available in your widget. If that doesn't work I can look at tweaking it because it is self-contained code which is easy to upgrade and something other people want / have asked for.

      The alternative if you always want a particular post type is to add it in to the URL the plugin builds using the tpicker-built-uri filter. That is quick and easy. The filter has just one argument, text, the string built as the URL and is called immediately before re-direction to the URL so just return the URL you want in your filter function and you should have what you need.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      I have been very busy but my time has freed up. I've a magazine edition to get out in the next 10 days but then I should have some time to work on a new version of the plugin. My priority is to swap over to the beta code. That has radio buttons as an option now which I will tidy up, but I want to add a tree view as well. (I have it working but performance is utterly awful so I need to find a better algorithm before I release a tree view.)

    • profile image

      anonymous 5 years ago

      hi

      is there an option where i can re arrange the search in ascending order and i tried to find the line of code where i can change how the labels r displayed but i couldnt find exact way to change the sorting ?

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate

      Here is the css I have used and the link to the site.

      .taxonomy-picker ul {

      list-style: none;

      margin: 0;

      }

      .taxonomy-picker li {

      float: left;

      padding: 0 20px 0 0;

      }

      .taxonomy-picker li label {

      float: left;

      padding: 0px 4px 0 0;

      margin:0px 0 0 0;

      }

      .taxonomy-picker p {

      float: left;

      padding: 0px 4px 0px 30px;

      margin:0px 0 90px 0;

      text-align: left;

      display: block;

      }

      .taxonomy-picker select {

      }

      #sidebar-art .tpicker_search_text {width:90%;

      float: left;

      padding: 0px 0 20px 0;

      margin:0px 0 0 0;

      }

      http://fundingforartists.org.uk/artists/

      It all looks great on my mac but on a pc (firefox and IE) the search button seems to move down out of line

    • profile image

      anonymous 5 years ago

      Hi Im looking for a easy way to control the order taxonomy appear I thought I should put a number in the slug eg 1 to 10, but im sure there must be a smarter way.

    • profile image

      anonymous 5 years ago

      Sorry one more question - I seem to have a taxonomy that will not work "Gross value" it told me that i couldnt edit it in wp. Is there a way to delete all history of a taxonomy and start again.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thanks fot the quick reply!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Gotcha!

      One more quick one. Is there any chance of me choosing the result order?

      Thanks a million

      G

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: What I would do is manually remove it from any posts which use it then just comment out the line of code which declares the custom taxonomy and replace it with a new one with a new slug. But that is WordPress support and you might be better asking at wordpress.org

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: That is such a sensible suggestion that I will add it to the plugin over the next couple of weeks as an option in the widget itself. If you need sooner, you would use a filter to add the relevant additions to the URL which is built.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: That is far and away the easiest approach

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate

      I have amended the css to this. Can you spot any problems that would be causing the alignment problem.

      Many thanks

      #taxonomy-picker {

      width: 860px;

      padding: 1px 40px 34px 0px;

      margin: 1px 0 1px 0;

      font-family: "Arial", Helvetica, sans-serif;

      font-size: 0.9em;

      }

      #sidebar-art .taxonomy-picker ul {

      list-style: none;

      }

      #sidebar-art .taxonomy-picker li {

      float: left;

      padding: 0px 20px 0 0;

      }

      #sidebar-art .taxonomy-picker li label {

      padding: 3px 4px 0 0;

      }

      #sidebar-art .taxonomy-picker p {

      float: left;

      }

      .taxonomy-picker select {

      }

      #sidebar-art .tpicker_search_text {width:90%;

      }

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I can't see an aligngment problem on a PC and I have looked in Firefox, Chrome and IE. Sorry

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: As I replied to somebody else, I will add that to the code over the next couple of weeks, although possibly only in the beta code.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate

      So sorry to be a pain but Mine is still showing the search button a couple of pixels lower than the rest of the search line. Can I email you a screen shot to show you how it is appearing at my end?

      Thanks

      Chris

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: What css would I use to change the look of the search button?

      would it be .tpicker_search_text {width:90%;}

      thanks

      Chris

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The selector should be I think #taxonomy-picker > p input

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Sorry Chris but I don't have time to get into individual site CSS particularly at the level of different behaviour in different browsers

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate

      That is great and has worked a treat.

      Many thanks for your help and a great plugin!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate

      Totally understand, have got it working now.

      Many thanks

      Chris

    • profile image

      anonymous 5 years ago

      This is a great plugin. I noticed, though, that there is a bug when the category drop-down is NOT the first taxonomy in the list. When the category taxonomy is preceded by another taxonomy, for example, Agent, precedes Categories, the Query is missing an ampersand between the parameters. For example, ?agent=roberta-wassertromcat=5,6,7 is what is generated, but it should read ?agent=roberta-wassertrom&cat=5,6,7. You might want to fix that.Thanks!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Thanks. Yes, I can easily see how that could happen now you mention it. I will fix it in the next release. Cheers

    • profile image

      anonymous 5 years ago

      Hi Kate

      I totally love this plugin, and I suspect my issue is my incompetence, but I thought I'd see if you could throw some light on the issue for me.

      Everything was working just fine, then suddenly my search stopped working and it just goes to some mash-up of my index page. I have most likely broken something, but I have no idea what and I thought I'd ask you if you knew what may be up as it worked a couple of days ago and now it's broken. Like I said it's most likely me as I am something of a WP newbie.

      The URL is http://www.dev.audacious58.com

      Thanks for any help you can give me

    • profile image

      anonymous 5 years ago

      @anonymous: I forgot to say:

      the taxonomy search is used in the directory section:

      http://www.dev.audacious58.com/directory/

      http://www.dev.audacious58.com/directory/by-region...

      http://www.dev.audacious58.com/directory/by-region...

      etc

      Thanks in hope!

    • profile image

      anonymous 5 years ago

      @anonymous: Hi Kate

      Please ignore my request - I was right - me being incompetent.

      I have used custom post types across the site and in 'tidying up' inadvertently deleted archive.php. Recreated that and the world is good and the sun is shining once more.

      And for teh record: this plugin has allowed me to amaze a client, and if ever you consider a premium version/premium support, I will most definitely buy it.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Just a quick update on this. I now have the basics working in development code and can control the results order by title, date, author, comment count. There's a degree of tidying up to do but it is definitely coming over the next week or so. It may only go in the new code (the beta widget), but I will look and see how hard it is to add to the legacy code as well before I release it.

      I would like to be able to sort on a taxonomy or category but that isn't something which will be available in the short term. I will look and see if I can offer some compound sort options like author + title - it may be possible.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Thanks Andy.

      Glad you like it. I'll think about the premium option. At present I still want to get the basics right!

      The bug Mitch spotted seems to affect your site as well (photography). I hope that the fix in 1.11.2 when I release it in a week or so will resolve it for you.

    • profile image

      anonymous 5 years ago

      hi Kate,

      I am trying to add a date search in addtion to taxonomy search. So that a search is filtered based upon the taxonomy and also a particular date. Can you guide me, where to start. I have been reading the code but got no clue.

    • profile image

      anonymous 5 years ago

      Kate, Thanks so much for your work. I would like to use the filter tpicker-search-text. I'm just not sure exactly where this piece of code should go. Can you help me out? Thanks.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate, thanks for this useful plugin. I have questions:

      1. The same as Robin's: how do I re-order the display of the taxo (now it seems in alphabetical order).

      2. How to not showing the label (I want to use the option to display All[name] in the dropdown itself)

      Thank again. Rio

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: You put it in your functions.php as usual.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It depends what you need. If you are looking for a date range search that is really tough.

      If all you need is a date match against year and/or month and/or date that isn't too difficult. Use the picker_form_after_fields filter. It's in the code as this (with an incorect comment which I will replace).

      $this->HTML .= apply_filters( 'tpicker_form_after_fields', "");

      It is a way of adding an fields you want into the bottom of the form before the closing tags are added to it. So you can see it will have an empty string as an argument and should return the the html (fields and/or text you wish to add). In the rough something like this ought to work:

      20122011

      I don't know whether it will work. It will be a case of trying it and hoping. It is something the processing code wasn't designed to handle but my experience of adding search order code is that most of the parameters for WP_Query work - see http://codex.wordpress.org/Class_Reference/WP_Quer... The key is that your (or whatever form control you decide to use instead) returns values in the form year=2012 (for example). These should then get combined into the URL built and your theme should then return the results you hope for.

      I'm working on the widget at present and I will consider adding it in to the beta widget. I am though considering making the beta widget a premium option when it is fully tested. The main widget will always remain free and the filter should work (if it doesn't, then I cannot add code to the new widget either) so if you wish to avoid something which may become a premium, paid for option the filter would still be the way to go.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @Kate Phizackerl1: Sorrry my HTML was swiped so replacing < with [ ...

      [select name="year"]

      [option value="year=2012"]2012[/option]

      [option value="year=2011"]2011[/option]

      [/select]

    • profile image

      anonymous 5 years ago

      Hi Kate,

      How do I:

      1. order the dropdown as I want it to (not alphabetically)?

      2. not displaying the label?

      Thanks for the usefull plugin.

    • profile image

      anonymous 5 years ago

      hi Kate,

      Thanks for your reply. I did not know about the filter so did it making custom tax for date. Its working fine but the url rewrites itself on certain searches based on category. Like from ca=12&Day=20 it rewrites to category/business and leads to the category archives page and not to search.php (which has some modified code for passing to WP_Query). so the search query cannor execute. Can you tell me where is the code to rewrite the URL from cat=12 to /category/ . I have also modified alot of css.Your plugin is great no doubt.

    • profile image

      anonymous 5 years ago

      You can see it in action here

      http://tinyurl.com/877pqst

      I am still debugging searches though.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Don't touch the category code. The next upgrade for instance has updates to both libraries so you would lose any changes. Better to use the tpicker-built-uri which has a string argument / return of the built URL just before redirection to it. Just change the url as you want.

      I'm surprised though as cat= seems to be more reliable than category=

      I have now added date match to the beta/premium widget in the admin dashboard. My next job is to add the code to the front-end widget display the visitors see. At that point I will test to see whether I have a problem with redirection as well. If I do then (gulp) I am going to have to look at the main category code as well so thanks for the heads up on that.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: 1) The widget admin allows you to sort it in other ways (although there may be a sorting bug in the beta - it certainly isn't working with tags in the beta version but is in the basic) so hopefully one of these will do. If not, then I cannot see a feasible way of changing the sort order. It relies on get_terms and everything available is already enabled other than the dreaded term_group which I have ignored. The only exception is tree in the beta which I have added but which is proving problematic because my present algorithm is very, very slow. So even if there was a way to hook in to the code you would be likely to hit the same sort of performance issues I have discovered. It's just not an area in which I can presently see scope for further enhancement because it is doing everything already which is reasonably possible.

      2) Try this CSS .taxonomy-picker label {display:none;}

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: I didn't mean the order of the entries in a taxo. What I want to arrange is the order of the taxonomy itself (the labels). Instead of having order [event, speaker, venue] I'd like to make it [event, venue, speaker].

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Use the tpicker_taxonomies the argument/return is a (complicated) array of taxonomies. Re-order that as you want it to display.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @Kate Phizackerl1: Fixed _ I hope

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @Kate Phizackerl1: Fixed _ I hope

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I can easily change cat= to category_name= but I find the former has less re-direction problems than the former. I may add an option to the beta to switch between the two.

    • profile image

      anonymous 5 years ago

      Hi Kate

      You did it again! congrats Kate, I really thank you for a great plugin.

      Couple of things you need to fix.

      1. Now when we pick everything in all fields it doesn't re-direct to the "all" page instead it shows all posts (which it include irelavant posts that we may want to keep hidden from the "all")

      2. The "Remember the user query?" doesn't seem to... remember!

      3. on the beta version we loose the title of the widget on the sidebar.

      Thanks again

      George

    • profile image

      anonymous 5 years ago

      I may be clutching at straws as i have a feeling i already know the answer! Trying to setup a webstore that sells toner cartridges. First taxonomy is brand, second is machine and third is toner type. Is there any way of filtering the search fields down so when a brand is selected, the box where the printers are shown can filtered down. Also, is there a way of typing into the dropdown box as we could have 50+ machines per brand in there. Cheers

    • Vivacious-Virgo profile image

      Vivacious-Virgo 5 years ago

      @anonymous: Hi Geoorge

      I am responding anonymously because there is a bug today in Squidoo comments which mean I cannot comment from my main account but this is Kate here.

      I cannot replicate either of your first two problems. http://www.egyptological.com/find definitely re-directs to the page set in the Admin screen - have you checked that is right? My live site doesn't remember because I only have the widget on one page, but I have tested it on http://www.egyptological.com/sarah and that is remembering a query just fine.

      You are correct about the title in the beta widget. I have patched the code and will upload it to the repository tomorrow as v1.11.4 but I will wait until then in case there are any more bugs which need a patch.

    • Vivacious-Virgo profile image

      Vivacious-Virgo 5 years ago

      @anonymous: Hi Geoorge

      I am responding anonymously because there is a bug today in Squidoo comments which mean I cannot comment from my main account but this is Kate here.

      I cannot replicate either of your first two problems. http://www.egyptological.com/find definitely re-directs to the page set in the Admin screen - have you checked that is right? My live site doesn't remember because I only have the widget on one page, but I have tested it on http://www.egyptological.com/sarah and that is remembering a query just fine.

      You are correct about the title in the beta widget. I have patched the code and will upload it to the repository tomorrow as v1.11.4 but I will wait until then in case there are any more bugs which need a patch.

    • Vivacious-Virgo profile image

      Vivacious-Virgo 5 years ago

      @anonymous: Hi Kate here. Comments are acting up and I lost my first response so I will post this in pieces.

      The short answer to your first question is no. You could perhaps hire a developer to write some custom Javascript to achieve it. But you would be better with a separate model taxonomy for each brand so that it was simply a case of hiding unwanted taxonomies. That should make it fairly straightforwards. (Likewise toner types.)

    • Vivacious-Virgo profile image

      Vivacious-Virgo 5 years ago

      @anonymous: There is an alternative though. I would need to add an extra function to the plugin but it would be a useful addition. I think this would work

      1) Create separate model and toner type taxonomy e.g. these taxonomies

      hp-model, epson-model, canon-model etc

      2) Have one widget from which people select printer type and press search.

      3) Then have widgets for each printer brand to select model. Return all toner types for that model.

      You would need to add multiple widgets and use a plugin like Widget Logic to show the widget for the correct brand (which is why you would need a new function added.) The requirements would be:

      a) Use the beta widget as I don't wish to add to the legacy code

      b) Use the option to remember the query

      Getting custom Javscript written to hide/reveal unwanted/wanted model taxonomies from the widget when brand is chosen is neater, but you would need to pay a developer unless you can do it yourself.

    • Vivacious-Virgo profile image

      Vivacious-Virgo 5 years ago

      @anonymous: As to the final question about typing into the combo box, I would need to use a JavaScript plugin. Most don't seem to be compatibly with the GPL v2 licence I have to use for plugins in the WordPress Repository. It is one reason why I want to add a premium version, hosted elsewhere, so that I can use the JavaScript libraries which would add to the plugin. Sadly that isn't likely to happen soon enough for your needs.

      The plugin *ought* to be able to handle all of your needs. Right now it doesn't. Sorry. It really does point the way to me getting a premium widget released. (That is a few months away as I need to set up the infrastructure for that before I can do it.)

    • profile image

      anonymous 5 years ago

      hi Kate,

      I have installed the plugin, enabled the pre-pack and dragged the Widget to the side bar, but when I open the widget to configure it, there is only one Taxonomy dropdown to choose from (which lists all my Tags and Categories, and whatever I select and save, nothing appears on my site side bar.

      I am using the latest version of WP, standard 2010 theme, and installed the plugin automatically from the control panel. It is a multisite installation but I have tried individual site activation as well as network activation. I am using the Search Unleashed plugin but have tried it with that disabled.

      I would really like to use your plugin to search across multiple categories - any ideas what I am doing wrong please? url is http://mobile-phones.best-value-reviews.com/

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Nobody else has these problems so my guess is that is a clash with another plugin. I use the plugin on multisite (for a time my development site was on a multisite install) so I don't think that is the problem.

      That said, I find that widgets don't appear in the main sidebar on Twenty Eleven (and not just my widget). I'm not a fan of the standard themes. However, if I move the widget to the footer widget area,it displays fine. I suspect there are bugs in Twenty Eleven - could be a similar problem in Twenty Ten.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Nobody else has these problems so my guess is that is a clash with another plugin. I use the plugin on multisite (for a time my development site was on a multisite install) so I don't think that is the problem.

      That said, I find that widgets don't appear in the main sidebar on Twenty Eleven (and not just my widget). I'm not a fan of the standard themes. However, if I move the widget to the footer widget area,it displays fine. I suspect there are bugs in Twenty Eleven - could be a similar problem in Twenty Ten.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: thanks for the response Kate,

      the theme I am using is Twenty Eleven - don't know why I said 2010. Tried pulling the widget to the footer bar and it appeared - edited the search box title and it disappeared again. Put it back to "example" and it reappeared but with these error messages:

      Warning: Invalid argument supplied for foreach() in /homepages/14/d121827163/htdocs/best_value_reviews/wp-content/plugins/taxonomy-picker/taxonomy-picker-library.php on line 151

      Warning: Invalid argument supplied for foreach() in /homepages/14/d121827163/htdocs/best_value_reviews/wp-content/plugins/taxonomy-picker/taxonomy-picker-library.php on line 206

      Warning: ksort() expects parameter 1 to be array, null given in /homepages/14/d121827163/htdocs/best_value_reviews/wp-content/plugins/taxonomy-picker/taxonomy-picker-library.php on line 213

      Warning: Invalid argument supplied for foreach() in /homepages/14/d121827163/htdocs/best_value_reviews/wp-content/plugins/taxonomy-picker/taxonomy-picker-library.php on line 216

      Do these mean anything to you?

      regards

      Colin

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I suspect the errors will go if you edit and save the widget in situ to save the values. (The errors are saying there are no taxonomies to loop through.)

      It's definitely a theme problem. If I get time next weekend I will have a look and see if there is something obviously wrong with Twenty Eleven and how it handles the first widget area.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I suspect the errors will go if you edit and save the widget in situ to save the values. (The errors are saying there are no taxonomies to loop through.)

      It's definitely a theme problem. If I get time next weekend I will have a look and see if there is something obviously wrong with Twenty Eleven and how it handles the first widget area.

    • profile image

      anonymous 5 years ago

      How would I go about reordering the output of the widget and the taxonomies I have selected to be shown on a page via the widget?

      You touch on this in another post stating to use the "tpicker_taxonomies" option but after looking through the plugin files I don't find the function that I am supposed to replace in my themes functions[DOT]php file.

      Can you tell me how I might be able to manually override the default settings of alphabetical listings for taxonomies chosen to show the taxonomies in the order that I would like them to appear?

      Currently they appear like this... "Countries, Historical Eras, Manufacturers, Materials, and Scales" but I would like for them to apear in the following order "Materials, Scale, Manufacturer, Historical Era, and Country"

      The site is a shopping cart and under development so I currently cannot provide a link.

      Thanks in advance for your help.

    • profile image

      anonymous 5 years ago

      @anonymous: One more thing... GREAT PLUGIN!

    • profile image

      anonymous 5 years ago

      I think this is a really awesome plugin - thank you so much for creating it! I had my search set up with 4 different taxonomies and this was working great. Today however, 1 of the taxonomies is not work and returning the error page, however the other 3 are working beautifully. Any ideas?? I have not changed anything that I am away of.

    • profile image

      anonymous 5 years ago

      I think this is a really awesome plugin - thank you so much for creating it! I had my search set up with 4 different taxonomies and this was working great. Today however, 1 of the taxonomies is not work and returning the error page, however the other 3 are working beautifully. Any ideas?? I have not changed anything that I am away of.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Use the filter to write code to re-order the array of taxonomies to be as you wish it to be.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Try refreshing your permalinks in the standard WordPress settings.

    • profile image

      anonymous 5 years ago

      Great plugin - saves me I lot of time doing it myself! I was wondering if there is a way to re-order the taxonomies themselves (not their values)? It currently orders by label, but I need to order by a pre-determined arrangement.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: People keep asking for it. Give me two weeks and I will add it to the beta version (that's the one which will become a premium option in due course). If you would rather not wait or would rather use the basic version (and assuming you know how to write PHP for filters), then you should use the tpicker_taxonomies array of taxonomies to resequence the list as required. (The filter is applied after the search so any re-ordering you perform is preserved.)

      The extra functionality should be in the next version of the widget but I would wait two days after that as for testing I will be better testing it on my live site which has much more data than the test site and will be needed to really test this out.

      Sorry I can't do sooner. I've commitments this week with the added issue of changing broadband provider.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Not a problem, it works a treat! I was wondering if there's any extensibility available, i.e. I can overwrite files when I put them in my theme folder? If not, thats ok, I'll make a dependent plugin.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Not a problem, it works a treat! I was wondering if there's any extensibility available, i.e. I can overwrite files when I put them in my theme folder? If not, thats ok, I'll make a dependent plugin.

    • profile image

      anonymous 5 years ago

      Hello Kate,

      Can you help me please to

      - reduce the width of the text search

      - move the submit search button

      through css manipulations ?

      Here is my actual situation : http://img163.imageshack.us/img163/3491/searchboxb...

      Thank you very much!

    • profile image

      anonymous 5 years ago

      @anonymous: - and how to remove the submit search button also

      Thank you :)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I cannot think why you would want to do it but .tpicker input[type="submit"] {display:none;} should do it

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: You should be able to use .tpicker .search input {width:80px} or whatever.

      A selector for the submit button is harder because the type= might not be supported by every browser but something like this should be a selector - you will need to work out your own position of course.

      .tpicker input[type="submit"] {position:relative;bottom:-12px}

      A better but less inuitive selector would be .tpicker p input + input {} That will be supported by all browsers but if I every change the composition of the form (e.g. to allow the submit button to be shown at the start rather than at the end) then it would probably fail. I will add an id in the next version so that in future it can be targetted precisely.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @Kate Phizackerl1: Sorry that is the one to remove

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Thank you for the explanations Kate

      I have tested your solution on taxonomy-picker.css and layout.css but unfortunately it doesn't work for me :(

      I'm using google chrome

      I want to resize the search text width because it's too large like that

      Thank you

    • profile image

      anonymous 5 years ago

      Hi Kate, love the plugin. I want to let the title be a H2 instead of a H4, but i don't know how i can change this. Can you tell me how to do that?

      Thank you :)

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate,

      That didnt seem to work, however when I changed the slug to something different it did. I wondered if it was a conflict with something else with the same name as the slug, but checked the database and could not find anything using the same name... Bit puzzled! I am using it as a parent taxonomy of Member Type with Full Member and Allied Member as the options. Full Member is working perfectly, however Allied is returning the error url that I have added in the admin area, even though if I go to member_type/allied-member this works. If i switch around the slug to member-allied, this works perfectly. I however need the url to be the first option (allied-member). Any ideas?

      Stacey

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The .css can be overridden by a file in the theme folder but I don't wish to do it for the .phps because it increases the risk of a name clash with something else. It is also unreliable as I will be restructuring the code. I would suggest any additions should be added through hooks. Having throught about it, I think that is how I will add the sort option. If you need additional hooks then shout. I will get round to documenting them but the to-do list is very long at present.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I will need a link

    • profile image

      anonymous 5 years ago

    • profile image

      anonymous 5 years ago

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: On my site it is not but that is because the theme sets the wrapper for widgets, not my plugin which just uses the standard wrapper. At present there is no way to change that.

      Why do you need to though? Just change the style for .taxonomy-picker .widget-title as needed.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: When you say "it didn't work" what do you mean? If the plugin is generating the correct URL (before redirection) then the plugin is working. What then happens to that URL is down to the theme and any other plugins. At some point I will write something whih doesn't use the URL

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I'm sorry but it seems to be working for me?

      Looks good btw.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Yeah you're right, I am modifying a theme and there are allot of weird things going on. But thanks for the respons.. :)

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: I have switched around the slug back to the one that I need it to be to show you it not working. Did the temp fix of changing slug so it was working for the client :) I did the error url as /category/member_listings/ which it is using when you select Allied Members

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: There is something odd going on. I suspect it is something in your theme or other plugins but I cannot be certain. To debug I would try editing taxonomy-picker-process.php to comment out the redirect and to echo the URL built. If that is correct we know the plugin is working properly and there is a strange redirect going on elsewhere. It is possible that for some reason the plugin is not working properly. (I spotted a bug for instance in taxonomy-picker-process.php: the final filter name is wrong and should be tpicker-redirect. I will correct in the next patch release.)

      If there is some odd redirection going on and you have a format of URL which works, then the answer rather than struggling might be to use that URL to change the format of the built URL at the last minute before redirection.

      To clarify, the plugin builds a URL. It then leaves it to the theme to show the relevant results. The plugin doesn't (presently) interfere in that. That makes it compatible with the widest array of themes. (I will eventually get around to an alternative using cookies, but I worry that it may not work with as many theme/plugin combinations as the simpler URL version.)

      So long as you can find a URL that works for your theme then we can sort it for you.

    • profile image

      anonymous 5 years ago

      @anonymous: Hi Again! Comment out the redirect line (wp_redirect($blog_url, 302 ); // Redirect to the built URI), and replaced with "/member-type/allied-member/" and that went to the right place but so did every other search... Am I doing that correctly?

      Sorry, I think I may be getting myself very confused!

      I have tried switching off plugins that may effect it and cant seem to find anything.

    • profile image

      anonymous 5 years ago

      @anonymous: Just a thought for a bit of a "fix" - would there be a way of putting in the process bit almost like a conditional statement if the slug is selected in the query to echo a different url structure and then hard coding it?

    • profile image

      anonymous 5 years ago

      @anonymous: Yes. That's the plan. It's wrapped in a filter. It's possible the plugin is not building the right URL - but anyway we need to know what it is building. (It is possible there's some bug in the plugin for instance with slugs which contain an underscore). If you can tell me what it is creating and what it should be creating I can attempt a fix.

      Warning - after tomorrow I won't have access to FTP until the middle of next week and I'm on UK time about 12 hours ahead of you.

    • profile image

      anonymous 5 years ago

      @anonymous: Great! So where do I find out what we need to know and how do we do that? PS I have tried it without the hyphen and still doesnt work (allied + allied-member)

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      There is a bug and the pre-pack taxonomies page isn't showing, I have fixed it and will upload a patch to the repository in the next few days.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: That's why I need to know precisely what URLs it is building and what you want them to be.

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Hi Kate. The URL for this one needs to be http://www.tourismexportcouncil.org.nz/member-type...

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: But what is it building BEFORE the redirect?

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Have turned that on. Should I change the slug back to "allied"?

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It's not showing so I think that your theme or a plugin is eating the options. It's going to mean debugging it within the .php. Can you try contacting me and take this to email? I will try to help when I can over the weekend.

      Kate

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: This will be a great addition Kate to what is a fantastic plugin - I have been trying to figure out how to do this, so looking forward to this addition.

    • profile image

      anonymous 5 years ago

      Hi Kate

      This is certainly the best plugin of its type that I have come accross, and it works as you say.

      I have a question: is it possible to select more that a single option in each of the taxonomies?

      Regards

      ROB

    • profile image

      anonymous 5 years ago

      Hi Kate

      This is certainly the best plugin of its type that I have come accross, and it works as you say.

      I have a question: is it possible to select more that a single option in each of the taxonomies?

      Regards

      ROB

    • profile image

      anonymous 5 years ago

      @anonymous: No.

      WordPress cannot (based on my tests) cope with URLs which have multiple values for custom taxonomies. I intend over the next year or so to release some themes which have multi-select within them - that means I can included the custom query I would need within the theme.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: No.

      WordPress doesn't support URLs with multi-select custom taxonomies.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: No.

      WordPress doesn't support URLs with multi-select custom taxonomies.

    • profile image

      anonymous 5 years ago

      Hi kate i have created custom post types using (custom post types ui plugin) than I have created a single-movies.php file that the CPT uses fine, I've put custom fields in etc. but when I use the picker to find a taxonomy it does go and get those CPT's but not with the single-movies.php content just plank pages.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: The plugin should be creating the correct URI it is then down to your theme to handle it. My guess is that it isn't - or that it needs a different form of URI. If you can identify what URI is being created and what you need it to be then it is possibe to write a filter to convert from one to the other. (I keep meaning to write something which passes information directly into the loop query using cookies which might work better but I have a long list of bug fixes and enhancements to address first.)

    • Seasons Greetings profile image

      Laura Brown 5 years ago from Ontario, Canada

      Went to look up the plugin. It's your own plugin. That was nice to find. I hovered over your name to see if you have more. I'm loading it to my blog right now. I have just gotten fed up with tags and deleted all of them. I hacked my categories the week before and just have 6 or so of them now. This plugin could be very nice - an alternative to dealing with endless tags and yet better than the standard search.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @Seasons Greetings: Thx. I do have more plugins but nothing that I wish to release to the public yet.

    • profile image

      anonymous 5 years ago

      Hi Kate, I was just looking for short-code documentation. Any help would be appreciated.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Until I finish re-writing the beta widget I cannot add a shortcode. There are just too many options for it to be easy. I will probably add a separate config page in admin just for shortcodes.

    • profile image

      anonymous 5 years ago

      Hi Kate, this is a great plugin I was just wondering if you plan to add a feature that will filter the results chosen when a value is selected in one menu and restricts the choices available in subsequent menus?

      For example: I have a custom post type of cars, and custom taxonomies such as colour and number of doors. At the moment, if I select a colour such as blue, the number of doors menu will still allow me to select a car that is not blue. Would it be possible to have the selections dependent on each other so that when I select blue the only options shown in other menus such as number of doors only displays results for the number of doors of blue cars?

      Hope this makes sense.

      Thanks!

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Kate,

      Is there a way to format the output of the search? Right now when I use the menus to search for posts it returns all the results in form of a list. What I'd like to be able to do is show related taxonomies in the output list.

      I have a custom post type called Beer. Each beer post has a taxonomy called Style and another one called Brewery. When I get the results of all the Beers I have no way of prefixing each Beer with the Brewery name in the search results, instead I have to drill down on each beer to see the full details of my post. The reason why this is necessary is that there are many beers that have same names, and the only thing making them unique is the brewery that made it, hence my request.

      Makes sense?

      thanks,

      jake

    • profile image

      anonymous 5 years ago

      Sorry if I double posted...

      Kate,

      Is there a way to format the output of the search? Right now when I use the menus to search for posts it returns all the results in form of a list. What I'd like to be able to do is show related taxonomies in the output list.

      I have a custom post type called Beer. Each beer post has a taxonomy called Style and another one called Brewery. When I get the results of all the Beers I have no way of displaying each Beer with the Brewery name in the search results, instead I have to drill down on every beer to see the full details of my post and what brewery made it. The reason why this is necessary is that there are many beers that have same names, and the only thing making them unique is the brewery that made it, hence my request.

      Makes sense?

      thanks,

      jake

    • profile image

      anonymous 5 years ago

      Hi..thanks for the plugin. I started noticing in firebug 404 errors on every page with "/none" appended to every url (at least as shown in firebug). I'd still get to the proper page if a direct link, as well as when showing search results using Picker , but firebug showed the 404 error. I couldn't find any reason for this so I started deactivating plugins. When I deactivated Taxonomy Picker all was well again. When I re-activated it the 404's started happening again. Any thoughts as to what might be causing it and what I can do about it? Thanks.! HX

    • profile image

      anonymous 5 years ago

      Hi. First of all thank you very much for your plugin. It's ... simply wonderful and very useful!

      I've just a question: I need that my taxonomies list should not be ordered alphabetically. Using your example I need this : "When", "Where", "Section".

      How can I change this gap?

      Thank you for your support (sorry for my bad english....)

    • profile image

      anonymous 5 years ago

      Hi, How do I show the results in a different page? At the moment they are displaying in my blog page but i'd like them to display in a different one.

      I want a 'course-search' page which will show the results - and not show the 'author' and any other details.

      Thank you!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: How results are shown are down to your theme. The chances are that you will need to customise your archive.php or use the template hierarchy. I use the former on e.g. http://www.egyptological.com/writer/kate-phizacker... where gallery/album articles/posts are displayed differently to text artiicles. On a couple of sites I have in development, I am doing it differently using the template hierarchy. One reason I prefer to develop child themes of Justin Tadlock's Hybrid Theme is that it has a good template hierarchy.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I am trying to release a version which does that but the first attempt didn't work out to well so I am having another go. If you search back through the comments you will find how to do it now using a filter.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I think this is a case where there isn't a bug in Taxonomy Picker but it is stressing your theme and exposing weaknesses in it. Try with a different theme and I think your problems would go away.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: Hi Jake

      Sorry to be slow. Had a lot on. The search is just a search. How searches are displayed is down to the theme. As soon as I get time I intend to start releasing some themes designed to work well with the Taxonomy Piicker.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I would love it but it would mean interrogating the database everytime a user selects a value. Unless that is done well the performance could be very laggy. It's something I will add but its not short term. Sorry.

    • profile image

      anonymous 5 years ago

      @ Kate is it possible to add datepicker like this wordpress site..check the right side of the homepage http://ihata.com.mx, I'm building a hotel portal and i would like to know if this search feature can be implemented..? Thanks for this Great plugin

    • profile image

      anonymous 5 years ago

      Hi, this looks great, but I'm havign a problem once it's on the site:

      www.writereads.com (below the other box with checkboxes)

      I receive the following errors:

      Warning: Invalid argument supplied for foreach() in /var/www/vhosts/writereads.com/httpdocs/wp-content/plugins/taxonomy-picker/tpicker-library.php on line 158

      Warning: Invalid argument supplied for foreach() in /var/www/vhosts/writereads.com/httpdocs/wp-content/plugins/taxonomy-picker/tpicker-library.php on line 251

      Warning: ksort() expects parameter 1 to be array, null given in /var/www/vhosts/writereads.com/httpdocs/wp-content/plugins/taxonomy-picker/tpicker-library.php on line 256

      Warning: Invalid argument supplied for foreach() in /var/www/vhosts/writereads.com/httpdocs/wp-content/plugins/taxonomy-picker/tpicker-library.php on line 356

      Thanks,

      Joe

    • profile image

      anonymous 5 years ago

      Hi, it a great plugin!

      But in my theme i have 'portfoilio-view' posts. And it's like only categories work for Picker but not tags..

      Help!

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: It seems you have no taxonomies - I'll protect the code in the nexxt version to prevent the errors

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: There was a problem with the earlier versions with tags but I thought they were working now - I had them working on a development site. I will try again though as I am working on a new patch release this week.

    • Kate Phizackerl1 profile image
      Author

      Kate Phizackerl1 5 years ago

      @anonymous: I don't think it would help you as each room would then have to be posted to each date

    • profile image

      anonymous 5 years ago

      @Kate Phizackerl1: Sorry, a bit of a doh! moment there. I thought the BuddyPress fields were custome post types/taxonomies.

    Click to Rate This Article