Hi @ofmarconi,
Please note that with shortcoder plugin, whatever HTML/JS/shortcode/content you set as “shortcode content” will be directly placed in the frontend “untouched”.
So if the shortcode content mixes well with the rest of the page/html then it is good.
Please check if the shortcode content is compatible with the rest of the page and it is not breaking anything.
Thanks,
Aakash
I can’t use static HTML, they are shortcodes of blocks of the visual composer.
I could think of a version (even if it pays) of the plugin to work with visual composers, I imagine that it is not a lot of work to enable this in the editor, since it is interesting for third party plugins.
Thank you.
Hi @ofmarconi,
I think you didn’t get it.
You can still use any shortcode inside shortcoder, but you have to make sure it is not breaking anything else.
Shortcoder does not come into the picture for breaking anything as it is a tool to replace shortcode with the content.
In your case, the wpbakery shortcode might have used incorrectly or shoudln’t be used that way, I’m not sure. It has to be debugged by wpbakery team to see why the content is misaligned on using shortcode and why pasting the code directly works. Ther will be a difference.
Thanks,
Aakash
yes, I didn’t mean that your plugin is breaking.
I’m just saying that when the shortcode is inserted by him, the Builder is not aware of which JS and CSS he should insert in the render of the page …
It should be something to speed up the loading, just call the JS and CSS that are on the page.
I’m sure of that, because when I put an element identical to what is in my Shortcoder code, they both load perfectly.
That’s what I tried to demonstrate in the two images I sent, when the same item is in and out of the shortcoder on the same page, it works perfectly.
(sorry for the bad english)
-
This reply was modified 6 years ago by
ofmarconi.
Hello!
Any news about the compatibility of your plugin with elements that use specific JS and CSS that are only loaded when blocks are created directly on the page?