Saving filters in the constructor doesn work – Maximum filter elements in filter-section
Example: in one filter section was added 50 checkboxes, but after saving its always stay 46, looks like 46 is max for the plugin? – No, just read this please:
Example: in one filter section was added 50 checkboxes, but after saving its always stay 46, looks like 46 is max for the plugin? – No, just read this please:
Sometimes users need conversion any taxonomy terms names into meta data: integer or float values. Reason: desire using range-slider for that values, but trouble in that – range-sliders works only with meta-data. So next algorithm will help you synchronize data: Create in meta constructor html-item, type: range-slider for example. Let it be filter of bpm (beats per minute) on… read more
Meta filter category ID – keeps in each post with the same name key ‘meta_data_filter_cat’. So if you want to allow your user create new posts with already predefined or selected ‘Meta filter category ID’ you are need in your wp theme functions.php add next code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | add_action('save_post', 'my_save_post', 1); function my_save_post() { if (!empty($_POST)) { global $post; if (is_object($post)) { $meta_data_filter_cat_id = 777; //$meta_data_filter_cat_id=$_POST['meta_data_filter_cat_id']; if ($post->post_type == '__your_post_type_slug_here__') { update_post_meta('meta_data_filter_cat', $meta_data_filter_cat_id); } } } } |
Where $meta_data_filter_cat_id is predefined meta_data_filter_cat ID which of course… read more
open your site wp-content/plugins folder by ftp client, filezilla for example rename previous plugins version folder in the wp-content/plugins folder, for example as: meta-data-filter-old upload the latest version of the plugin to wp-content/plugins folder after the plugins files uploading go to the plugin settings page and press ‘Save’ button that is all…. p.s. you can always roll back to the… read more
It is simple, you can use drop-down for it as on the screen: It can be not only price-“slider” – you can create any filtration by your logic, for example it can be meters,inches, miles, etc …
There is no such functionality in shortcode, but in the widget: To resolve your task you are need modify code of the plugin: index.php -> function draw_term_childs_select -> before
1 2 3 4 5 | <?php if ($show_option): ?> <option <?php if ($tax_count == 0 AND ( $widget_options['taxonomies_options_show_count'] == 'true' OR $widget_options['taxonomies_options_show_count'] == 1)): ?>disabled<?php endif; ?> value="<?php echo $term_id ?>" <?php if ($selected_id == $term_id): ?>selected<?php endif; ?>> <?php _e($term['name']) ?><?php echo $tax_count_strting; ?> </option> <?php endif; ?> |
add next code
1 2 3 4 5 6 | <?php if (in_array($term_id, array(57, 63, 89, 99))) { $show_option = false; } ?> |
Where array(57,63,89,99) is term_ids which you want to exclude
100% you are trying to install Codecanyon bundle. To install the plugin you are need unpack it and you will find inside the plugins zip meta-data-filter.zip which should be installed.
From version 2.1.9 (1.1.9) customers can use plugin ‘Essential Grid WordPress Plugin’ to create very beautiful layouts for your site and make them filterable by MDTF. Download MDTF html templates from here Unzip and upload folder mdf_templates into your current wp theme Create Page in your site and drop there shortcodes like this: [mdf_results_by_ajax shortcode=”mdf_custom… read more
In 20% of wp themes this issue happens. Some time it was the trouble, because issue is just concatenation of circumstances with wp_query and permalinks. First way: In the file wp-content\plugins\meta-data-filter\views\shortcode\meta_data_filter.php on the same bottom uncomment code wp_reset_query(); and try is the filter still works and pagination is ok. Second way: Universal decision based on JavaScript. You have to insert next code into your… read more
Using ftp upload file from wp-content/plugins/meta-data-filter/views/to_theme/template-meta-data-filter.php to the folder of your current WordPress theme. This template is necessary for the plugin functionality. You can also download the same zipped template from here. Download, unzip and then upload it to the current WordPress theme folder of your site using ftp … Reason: sometimes site hosting companies because… read more