Support » Plugin: Beautiful taxonomy filters » Best Customizable Filter out there (developers point of view)

  • From a developers view I love that you have used WP boiler plate as a base and I am enjoying being able to easily read through the code and funny comments.

    Major respect to the thought gone into where a developer might want to extend/customize a feature Everytime I think I am going to have to manually change a part of the core plugin (which I hate doing) there is a hook waiting for me.

    The only place that I have not been able to do this is with respect to the placeholder text.

    By default using select2 it says “All…”. It would be nice to be able to customize the actual text (placeholder)

    For example: There is no ability to have each dropdown start with “Choose One” without using select2 – see the code from line 83 of beautiul-taxonomy-filters-public-display.php

    //But if they've selected placeholder we cant use the show_option_all (they still have to use select2 tho)
    						if(!$disable_select2 && $dropdown_behaviour == 'show_placeholder_option'){
    							$dropdown_args['show_option_all'] = ' ';
    						}

    Thanks for the great plugin.

    Regards,
    Jared

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kiwiot

    (@kiwiot)

    I take that back – It is possible to do without editing the core code.

    Awesome !!!

    Plugin Author Jonathandejong

    (@jonathandejong)

    Hi Kiwiot,

    Thanks for the review! This was actually my first project with WPPB and now I just love it and use it whenever I got a plugin to code (that’s not a simple widget etc.).

    As you noticed it is possible to do 🙂 Also, the “All <taxname>” string comes directly from when you’ve registered your taxonomy so changing that would also change the filter. I switched to this approach from a custom filtered string since I figured it’d make most sense in 99% of the cases and is also an easy way for people using Custom Post Type UI (and the likes) to make changes themselves without even touching code.

    If you ever stumble upon something where you find yourself in need of a filter or action don’t hesitate to tell me. It’s usually pretty simple for me to implement but makes all the difference for other developers.

    Have a good one!
    /Jonathan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Best Customizable Filter out there (developers point of view)’ is closed to new replies.