Darkmaso
Forum Replies Created
-
Forum: Plugins
In reply to: [Pay For Post with WooCommerce] Resticted message in header and footerIt is a premium feature. Do you want the credentials to log in to investigate?
Forum: Plugins
In reply to: [Pay For Post with WooCommerce] Resticted message in header and footerHi, i use Avada Theme, with its own builder.
https://avada.theme-fusion.com/Great! Now it works perfectly. Thank you so much for the support. I will certainly do it.
So, the solution is:
1) Go toblog-designer-pack –> includes –> Shortcodes –> bdp-post.php
2) Open the file that you want modify
3) Check the code withif($cat != "") {
4) Now under thisif
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 ORI add the screen
https://photos.app.goo.gl/fiMvPRjKAQdmfpgt9Yeah, 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, thanks for the reply. Now I understand, I had made a mistake.
I modified the file you indicated correctly, but then on wordpress I used
bdp_post_carousel
instead ofbdp_post
.With
bdp_post
it works, but I wanted to use it with the carousel, I tried to copy the same code in the .php of the carousel, in line 108 but in this way the plugin got an error.Hi, can you help me with the right syntax?
Hi, I was working on it … I modified the .php file you indicated to me.
Now I do not know what the correct shorcode is for testing it.I tried, without success …
category = "1,2"
category = "1&2"
category = "1,&,2"
category = "1"&"2"
Hi, I saw your second answer on the email. Here it does not appear.
I can not find the “bdp-post.php” file in the “blog-designer-pack” folder. In fact, inside the plugin folder I do not have “blog-designer-pack”. Maybe because I installed the plugin directly from wordpress?
But I understood the change you made, I think it could be something that you can add to the plugin. I find it very useful to filter categories using logical operators to show specific posts on different pages.
Hello, thanks for the reply.
With
category = "1,2,3"
I can filter all the posts that are part of the category 1 or 2 or 3.I wanted to ask if it was possible to filter only the posts that satisfy the condition of being part of the categories 1 and 2 and 3.
For example.
Post A = category 1,2
Post B = category 1.3
Post C = category 1,2,3With
category = "1,2,3"
I see all three posts.How can I filter only posts that are part of category 1 & 2 at the same time?
I would like the result to show only Post A and Post CIs it possible?
Hi, Page Build developer give me this link for you for fix compatibuly issue: https://siteorigin.com/docs/page-builder/widget-compatibility/
Best reguards
Forum: Plugins
In reply to: [Page Builder by SiteOrigin] Incompatibility with Flexible Posts WidgetHi Greg.
Thanks for the answer. I will mail your compatibile guide to them.Best Reguards