Yeah, it’s what I had done, but I get this error
Parse error: syntax error, unexpected ”operator” (T_CONSTANT_ENCAPSED_STRING), expecting ‘)’ in /home/mhd-01/www.giovaniravenna.it/htdocs/wp-content/plugins/blog-designer-pack/includes/shortcodes/bdp-recent-post-carousel.php on line 108
Hello @darkmaso
Can you please share the screenshot of the code where you are changing?
Hello,
There is comma (,) missing.
Please share your rating and review if you like our plugin and support 🙂
Great! Now it works perfectly. Thank you so much for the support. I will certainly do it.
So, the solution is:
1) Go to blog-designer-pack –> includes –> Shortcodes –> bdp-post.php
2) Open the file that you want modify
3) Check the code with if($cat != "") {
4) Now under this if
condition add one more line after 'terms' => $cat
ie 'operator' => 'AND',
So complete code will be:
'taxonomy' => BDP_CAT,
'field' => 'term_id',
'terms' => $cat,
'operator' => 'AND',
5) Now, category = "1,2"
works like AND operator, instead that OR
Hello @darkmaso,
Please share your rating and review if you like our plugin and support 🙂
Hello @darkmaso,
I hope your issue has been solved. If you like our plugin and support Please share your rating and review 🙂