• Resolved ofmarconi

    (@ofmarconi)


    I’m using the Salient theme:
    https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266

    The loading is strange:

    View post on imgur.com

    I set up the page as I wanted, I copied the Builder Shortcodes (WPBakery) in your Shortcoder plugin.

    I generated the code and pasted it under the structure I had created, in Builder.
    Then the loading started correctly: https://i.imgur.com/jcSledA.png

    But then I removed the original BLOCKS, leaving only their short code and it was … all out of alignment …

    I believe it is because the Builder is not calling the necessary CSS and JS …

    And your plugin is not fully compatible with visual composers, right?

    Is there any way around this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author vaakash

    (@vaakash)

    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

    Thread Starter ofmarconi

    (@ofmarconi)

    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.

    Plugin Author vaakash

    (@vaakash)

    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

    Thread Starter ofmarconi

    (@ofmarconi)

    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.
    Thread Starter ofmarconi

    (@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?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘The loading is strange ( WPBakery )’ is closed to new replies.