Plugin / Beautiful taxonomy filters

Jonathan de Jong

Frequently Asked Questions (FAQ)

Yes. Either use the widget and set a specific post type in it’s settings or add a parameter of your custom post type slug to the show_beautiful_filters action. This “hardcodes” the filter module to that post type and lets you use it pretty much anywhere in your theme. Hardcore right..
Well of course! You can either change the order in which you register your taxonomies OR you can use the filter function moveElement( &$array, $a, $b ) { $out = array_splice($array, $a, 1); array_splice($array, $b, 0, $out); } function custom_tax_ordering( $taxonomies, $current_post_type ) { moveElement( $taxonomies, 2, 0 ); return $taxonomies; } add_filter( 'beautiful_filters_taxonomy_order', 'custom_tax_ordering' );
No. In a future release we will look into if it’s possible to support this AND having beautiful permalinks. If that doesn’t work we will likely add an option where you can opt out of beautiful permalinks and enjoy the power of multiple terms filtering instead.
A Taxonomy will not appear in the filter until at least one post has been connected to one of the terms. Just start tagging up your posts and you’ll see it shows up! Also, make sure that your custom post type has an archive (in the arguments for the custom post type) since this plugin uses the builtin WordPress functionality for archives.
Posts are not supported because we haven’t been able to create proper rewrite rules for the multiple filtering to work. Posts are handled differently by WordPress than other custom post types (you have probably noticed that there’s no /posts/ in the permalink for example). Due to this the same rewrite rules that works for custom post types doesn’t work for posts. If you’re just looking to filter your posts by their categories with a dropdown you can use this function wp_dropdown_categories. It’s good practice to use a custom post type when you’re not going to use it as news/blog -posts so perhaps you should create a Custom post type instead and make use of this beautiful plugin!
Since v 2.2 this has been fixed. Make sure you keep BTF updated In order for the rewrite rules to work with a taxonomy that has a rewrite slug you also have to add the same slug to the query_var parameter of register_taxonomy. It wont have any visible impact for you but it’s what’s needed for the filtered urls to work!
It is 100% compatible with Polylang. WPML is a bit wonky but might work depending on your setup. In order for this to work properly you should set the post types and all connected taxonomies to be translatable. The filtered urls will still work even if you don’t set the post type to be translatable but when switching language Polylang still think it should add the new language to the URL which means it’ll throw a 404 error. This is to be expected and NOT due to this plugin. If you experience 404 errors make sure you flush your rewrite rules by going to settings > permalinks in the admin dashboard.
You will be able to use this plugin with any public registered custom post type regardless if it’s been created by yourself or a plugin. However the displaying of the CPT must be via it’s archive template. That means that a plugin that uses shortcodes to display the entire post listing on a static page will not work out of the box. It will also not work out of the box with plugins that in some way alter the permalink to the CPT archive WPMU Devs Events+ for example.
See here for more info
Why thank you! We don’t have proper donate link but if you want to you can send us a giftcard on fancy. We will use it to buy cool stuff for the office! Make it out to [email protected]

Ratings

4.9
60 reviews

Rating breakdown

Details Information

Version

2.4.3

First Released

25 Oct, 2014

Total Downloads

110,597

Wordpress Version

4.3.0 or higher

Tested up to:

5.2.4

Require PHP Version:

-

Tags

Contributors

Languages

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.