Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #179207

    Hi!

    I want to add a script which embeds and streams a video into a page. When I use the Advanced Layout Builder it’s impossible to add this script within a text block (TEXT mode, not the VISUAL mode).

    I can only add this when using the standard editor.

    Is there a way to add scripts when using the Advanced Layout builder?

    Thanx for any help :)

    Cheers

    Chris

    #179220

    Hi Chris!

    You can do it using a Text block element, put it while being in the Text tab:

    Best regards,
    Josue

    #179223

    Hi Josue.

    Thx for your reply.

    I already tried this but it’s impossible to save the text block after I entered the script. When I click the save button the window keeps open. When I close it and hit “Update” to save all changes on the page the result is “Add some content here” (default text).

    :/

    #179227

    Hey!

    What script you want to add? can you create an administrator account and post it here as a private reply?

    Cheers!
    Josue

    #180531
    This reply has been marked as private.
    #180768

    Hi!

    I tried it on my local installation, and got no issues so far saving, after saving there was a JavaScript error in the console, i think it would be better to create a custom shortcode, something like [webcam_stream] that renders the script. This tool could help you doing it.

    Regards,
    Josue

    #181277

    I have the same problem. I can not include JS in the Avia Layout Builder.
    After click “Save”, the window is blank.

    Create a shortcode or something similar is not an option. Most partnerprogramms provide the ads as JS.

    #181279

    Hi @gnmediadienste!

    Can you paste the script you want to add?

    Best regards,
    Josue

    #181281
    This reply has been marked as private.
    #181431

    Hey!

    Make sure that you place the javascript on Text or HTML mode of the editor.

    Please try this plugin: http://wordpress.org/plugins/insert-javascript-css/

    Best regards,
    Ismael

    #181658

    Sure I place the code in the HTML mode. But this is not working with the Avia Layout Builder.

    #182210

    Hi!

    We’re aware of this limitation (see: https://kriesi.at/support/topic/preformatted-text-in-layout-builder/ ) and it’s on our todo list. For now you can use a plugin like: http://wordpress.org/plugins/insert-html-snippet/ to insert your snippets.

    Regards,
    Peter

    #182211

    I wait for your fix. it makes no sense to install hundreds of plugins for every little bug/feature.

    #182213

    Hey!

    Ok, I’ll also notify Kriesi about your request.

    Best regards,
    Peter

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Adding Script when using Advanced Layout Builder’ is closed to new replies.