Content of the page

mdf_txtsearch_some_words_condition

When the phrase is divided into several words condition ‘AND’ mandatory matching with all the words, condition ‘OR’ – matching at least one word This hook is addition to hook: mdf_txtsearch_some_words_behavior Example:

  From v.2.2.2/1.2.2  

MetaDataFilter::get_field()

This functions doing the same as shortcode [mdf_value] – getting data from any post meta field by its meta key created by in-built meta data constructor.

Example:

 

MetaDataFilter::is_page_mdf_data()

This function give the answer to the question (returns true or false): is MDTF searching going now?

Examples of using: https://wp-filter.com/howto/get-search-arguments-action-page-hack-portfolio-shortcode/ https://wp-filter.com/howto/how-to-make-searchable-enfold-magazine-entries/ https://wp-filter.com/document/developers/  

MDTF_HELPER::get_image()

Use this function to output any image of the site (added trough media library) using its link:

You can set any size you want by alias for the result image, for example: ‘800×600’, but this should be always less or equal to the size of the original image, + be attentive with image proportions.

Useful for… read more

MDTF_HELPER::get_post_featured_image()

Use this function to output any post featured image using its ID:

In the loop use $post->ID:

You can set any size you want by alias for the result image, for example: ‘800×600’, but this should be always less or equal to the size of the original image, + be attentive with image proportions…. read more

MetaDataFilter::get_val_as_select_title()

This function doing the same as shortcode [mdf_select_title] – getting Title text from the drop-down by its meta_key created in the meta data constructor.

Example:

 

MDTF_SORT_PANEL::mdtf_catalog_ordering()

This functions generates sort-panel and doing the same as shortcode [mdf_sort_panel] Examples: Without panel_id:

With panel_id:

If you will not set panel_id attribute in the widget (or [mdf_search_form] shortcode), default panel ID will be applied for current sort-panel, which you can set in the plugins settings (tab ‘Miscellaneous’).