Pagination doesn work! What to do?

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

After activate the plugin i got error message telling me “WordPress Meta Data & Taxonomies Filter plugin can’t copy the template file

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 searching by title/content only

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: &

Is there anything we can do on the performance?

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

How to hide post from search query

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

How to filter products on the current woocommerce products category page using ‘self’

Install this plugin: 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: 

In the… read more

How to add sort-by panel with panel for search results

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

How to filter products based on current term of custom taxonomy

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