franzitta
Forum Replies Created
-
I’ve resolved my [button] shortcode problem making a little change in this file:
/custom-content-shortcode/includes/optional/block.php$tags = array( 'a', 'aside', 'b', // 'br', 'button', 'article', 'block',changed with:
$tags = array( 'a', 'aside', 'b', // 'br', //'button', 'article', 'block',Simply a comment for button block.
Anyway, I don’t know is this is the right approach. I would like to listen Eliot Akira personal advise.
And most important for you, I don’t know if this approach is applicable to your case.I have the same problem with Avada [button] shortcode. The problem is that Fusion Builder plugin conflicts with Custom Content Shortcode.
Some Fusion shortcodes works fine others like [button] no.Forum: Plugins
In reply to: [Custom Content Shortcode] [content id=…] for multi-site?Thanks Jakub for your solution.
In blog #4 [for each] shortcode works perfectly.
I’ve no caching plugin installed in my multisite wp.Anyway, I agree with you Eliot, it’s really strange.
The strange thing is that if I put this code:
[get-blog id=4] [for each=tipi empty=true] Custom Term: [each name] [/for] [/get-blog]in the content of a page (with id=58) in blog #1, it doesn’t work, but if then I run this code in blog #4:
[get-blog id=1] [content id=58] [/get-blog]I can see all the terms of ‘tipi’ taxonomy.
I want to investigate better on the reasons why it doesn’t work.
I think that Custom Content Shortcode is one of the best plugin I’ve ever used, so I want to give you any kind of support that would improve its funcionality.Thanks for your support!
Forum: Plugins
In reply to: [Custom Content Shortcode] [content id=…] for multi-site?Yes, it works with [content…] and [loop..] shortcodes, but not with [for each…].
Maybe there is another way to obtain what I need?In a multisite environment, I need a list of all custom term of a custom taxonomy defined in another blog.
tipi
is the custom taxonomy
So I tryed this code:
[get-blog id=4] [for each=tipi empty=true] Custom Term: [each name] [/for] [/get-blog]But it doesn’t work, displays nothing
Forum: Plugins
In reply to: [Custom Content Shortcode] [content id=…] for multi-site?In blog 4 I tested the single code:
[for each="tipi" link] [each link] [loop type="post" count="-1"] [field title-link] [/loop] [/for]and it works perfectly.
In main main blog (id=1) I tested:
[get-blog id=4] [for each="tipi" link] [each link] [loop type="post" count="-1"] [field title-link] [/loop] [/for] [/get-blog]and it doesn’t work.
Maybe I make a mistake in using get-blog shortcode in the right way. Can you help? Thanks
Forum: Plugins
In reply to: [Custom Content Shortcode] [content id=…] for multi-site?I’ve just tested this on my multisite installation and it works.
[get-blog id=4]
[loop type=post]
[field title-link]
[/loop]
[/get-blog]But when I try this more complex code, I get blank result:
[get-blog id=4]
[for each=”tipi” link]
[each link]
[loop type=”post” count=”-1″]
[field title-link]
[/loop]
[/for]
[/get-blog]