How to insert shortcode in header.php but show it only on some pages?

Open header.php of the current wp theme and go on the same bottom of the file or in place where you want to place it For example you want show shortcode with ID 177 on two pages, with page-ID 22 and 77 Drop the shortcode in the next code example:

My theme have not good woocommerce search templates, how to add them?

Sometimes it is happens, the plugin allows you to use any output template, and in this way we will do next steps to let MDTF use woocommerce templates: Go to the plugins/woocommerce/templates and copy files there as on screen:  Paste this files into your current wp theme into woocommerce folder (create it if doesn exist):  Your site… read more

How to print on frontend the meta fields we created

If you need display values of the post/custom which are created by built-in meta data constructor, you can use next function:

If you are using this on the single page you not need set $post_id, if somewhere in loop you need set this value. If you are sure that you are using reflection, set $look_for_reflection… read more

How to use woocommerce attributes in the plugin

WooCommerce attributes in the plugin works in the same way as any another taxonomies if you are created them in the right way. create attributes you are need here:  go to the MDTF widgets and check there attributes you are want to use:  The same in the filter-shortcodes. That is all…  

How to get search arguments only on my page OR hack my portfolio shortcode

Sometimes there is necessary to hack/hook native theme OR any plugin code to make it works (filterable) with MDTF, as that shortcode uses its own WP_Query request. To make any shortcode works with MDTF do next steps: create page and drop your portfolio shortcode (for example) there in MDTF widget/shortcode options set “Results output page link” link to that new page… read more

How to create custom output template

Here you can download free templates which uses on the plugins demo sites:  ATTENTION: in custom templates must be used css classes: ‘mdtf_posts’ for posts block/list, and ‘mdtf_post’ for each post/item! Closely see templates examples above (button Download). How to create custom template: For example you found html template somewhere and you liked it, for example… read more

How to create custom skin for search shortcode

You need know css to realize it! Firstly go here:  Then copy “default” skin folder and paste it on the same skin directory. Rename it to any custom name you want (without spaces, lowercase) Open your custom skin file styles.css and rename everywhere css class from mdf_shortcode_skin_default to mdf_shortcode_skin_custom  Then go to filter shortcodes, create there new… read more