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
create any filter-category create filter-section and add html-item ‘textinput’ set in ‘textinput’ html-item mode title OR content: create search shortcode and select created above filter-category main thing check checkbox ‘Ignore filter-category in wp_query’ another way shortcode will found nothing do next steps as described here: &
The plugin uses standard WP_Query php class of WordPress for creating filter requests. So sometimes filter works slowly on some hostings. I can advise some things in this case: use cache plugins, for example this one switch off dynamic recount in the filter use Autoptimize add more memory to your wp site use PHP 7.2 (or higher) -… read more
To hide filter title OR any html-item title from front you can use tilda sign -> ‘~’:
Sometimes we are need to hide for any reason posts from searching. For example if it is not actual or any another reason. For it you can add in post this meta key – mdf_hide_post – value of which doesn matter, only existing of it matter. If it is exists in posts – it will be… read more
Install this plugin: https://wordpress.org/plugins/widget-logic/other_notes/ Create widget specially for filtering on product category page and set this options on this widget: In your main MDTF widget set ‘Widget Logic’ condition as: !isset($_REQUEST[‘MDF_IS_WOO_CAT’]) In your special MDTF widget for categories set condition: isset($_REQUEST[‘MDF_IS_WOO_CAT’]) Open in your current WordPress theme archive-product.php file drop next code as on screen:
| if (is_product_taxonomy()) { $_REQUEST['MDF_IS_WOO_CAT'] = TRUE; global $wp_query; $cat = $wp_query->get_queried_object(); $additional_tax_query_array = array(); $additional_tax_query_array[] = array( 'taxonomy' => $cat->taxonomy, 'field' => 'term_id', 'terms' => array($cat->term_id) ); $_REQUEST['MDF_ADDITIONAL_TAXONOMIES'] = $additional_tax_query_array; } |
In the… read more
Create sort panel here: Panel type – In the sort panel you can select how to show it on the front of the site: drop-down OR buttons. Show results taxonomies navigation – if to check this checkbox – on the search results page will be displayed all selected taxonomies for current search query Sort panel… read more
Question: I have woocommerce with brands plugin installed, each brand page shows the products of this brand, can this plugin filter those products based on category? Yes. Go to the widget (or the shortcode) and in the bottom of this find textarea with the title ‘Additional taxonomies conditions:’ – and drop next text there in… read more