Content of the page

MDTF hidden utilities

The plugin has hidden area: wp-admin/edit.php?post_type=meta_data_filter&page=mdf_utilities To display it: open index.php of the plugin (near row #33) find:

and uncomment it (remove ‘//’ on the beginning of the string) save the file you will find useful utility there ‘Terms to meta’ which allows convert any taxonomy terms slugs or names into meta data p.s. this… read more

CSS manipulations while search is going

When searching works in the redirect mode (not ajax) in tag <body> appears CSS class ‘mdf_search_is_going ‘. This fact can help you with any manipulations with site layout while MDTF search request is going on current page. For example hide smth:


How to manipulate with terms ordering in search forms

Open functions.php of the current wp theme On the same bottom of the file drop next code:

It is possible order terms by: id,name,slug,count,term_group  

How to make searchable Enfold magazine entries

open enfold functions.php file drop on the same bottom of the file next code:

Save the file  

How to set logic ‘AND’ for taxonomies terms of the same taxonomy

This works for shortcode [mdf_custom custom_id=777] with attribute ‘custom_id’ (777 is in the code below) + doesn work with dynamic recount (you can hide count by CSS) Example: open your current wp theme functions.php file drop there next code:

In the function mdf_dyn_tax_recount_args in array $and_tax_relation write your taxonomy instead ‘post_tag’ OR using comma add more another… read more