• Wonderful job guys, no problems getting this working. However just wanted to suggest that you please add the below code snippet to your settings page as we couldn’t figure out at first how to get the widget manually coded in our template ??

    <?php echo show_beautiful_filters('posttype'); ?>

    A few years ago we had to custom code a lot of add_rewrite_rule rules in functions.php to achieve a similar function so your plugin is simply fantastic in how much time it saves.

    However it would be awesome to allow “removing” the taxonomy slugs (bases) from the pretty URLs so that its a bit shorter:

    example.com/movies/genre/action/year/2012
    —> example.com/movies/action/2012

    …and/or changing the order of the taxonomies in the URL (which may rely on changing the order of the search box fields in the widget).

    Also maybe re: design, being able to change the wording or layout a bit more would be amazing too. One of the best WP plugins in a while. Cheers!

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi,

    First off thanks for the kind words! Just release v 1.2.4 with a few tweaks so make sure to update.

    Towards the bottom of the settings-page there’s a whole section on how to set it up including a snippet
    <?php if(function_exists('show_beautiful_filters')){ show_beautiful_filters(); } ?>
    so I’m guessing you just didn’t look hard enough there ??

    I’m not sure it would be possible to remove the tax slugs as there would be some serious issues if different taxonomies had the same term slugs. Especially with the new separation of terms coming in WP 4.2. I honestly don’t think it’s something I will implement due to this even tho I understand where you’re coming from.

    Changing the order of the taxonomies in the URL is indeed tied to the order in which they appear in the filter module. Since the values are being sent to the browser on submit and read one by one the first value (and thus the first in the url) will be the first one in the filter. To change the order you can either change the order of registering the taxonomies or use the new filter in version 1.2.4 (read more about it under Other notes).

    The design of the filter can be completely your own, just disable the supplied style themes and write your own CSS. All the wording come from the textstrings in your registered taxonomies with two exceptions. The filter button and the “clear all” link. The filter button can be modified with a filter (lol.. can also be found under Other notes). Only the “clear all” link is currently *set* as in you can’t change it unless you translate to your own language. Making the HTML structure dynamic is a bit difficult. There are however quite a few actions available to let you add to the structure in different places (also under Other notes).

    Thank you for your feedback!

Viewing 1 replies (of 1 total)
  • The topic ‘fantastic concept’ is closed to new replies.