Support Forum

Content of the article

You need to log-in to create request (topic) to the support

mdtf - how to add post filter by tag name ?

(new from 01-07-2019)
This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see green button on the right side) and press Save button.
If you not got email within 24 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

hello  ,

i built page with your mdtf plugin, its amazing  ,

now i have to questions

  1.  how to add post filter by tag name to the result page or limit the list to by post numbers ?
    for example [ post_ids=1393,1424,3378,1471,1431,1526,1430,1492,1474,1485]
  2. in the drop down , i want to let the customer the option if he choose option 3 , all result from option below will be show also
    for example if the drop down is 1,2,3,4 and the customer choose 3 , all result from option 1 and 2 will be display alsoi add my page in the private

Hello

  1. Read  this  please - https://wp-filter.com/howto/filter-products-based-current-term-custom-taxonomy/
  2. Unfortunately, the plugin does not have such a feature

I saw this option in the documentation before i sent you question , but i didn't saw possibility for filter by tag or post id's , your example show just how to do it by woocommerce .

i checked again , dont see how i can filter my post list by tag or post id's

if you can send me screenshot or link i will be glad

maybe i will be more specific

in the page content i enter shortcode

[mdf_results_by_ajax
shortcode='mdf_custom
template=any/my-mdtf-pages
post_type=post

taxonomies=amount+84

orderby=date
order=desc
page=1
per_page=20
pagination=b'
animate=1 ]

i found the taxonomies the only option that allow me to do something (show only the for post that fit the term)

but my goal is to filter the list by my post list , what option i have to do so  ?

i tried to interapt the loop but it didnt seccid

 

$Arrwpsm_toptable = [133,144,378,171,131,126,130,192,174,185];
while ($mdf_loop->have_posts()){
    $mdf_loop->the_post();
    if(in_array($Arrwpsm_toptable,$post->ID)){
        include(rh_locate_template('inc/parts/query_type1.php'));
    }
}



so , what option i have in the shortcode to insert my post list  ?

solved : add taxonomies with val of the category , and show only from this filter item

[mdf_results_by_ajax
shortcode='mdf_custom
template=any/my-mdtf-pages
post_type=post
orderby=date
order=desc
taxonomies=category_filter+103
page=1
per_page=10
pagination=b'
animate=1 ]

Hello

Use this - https://c2n.me/44GTllr.png (for shortcode) OR - https://c2n.me/44GTqC7.png (for widget)