This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

cant create any button inside block

5 years ago · Last reply by Andrew Misplon 5 years ago

hi

i can not create any button inside siteorigin. after adding the below code to html or rich text plugin i update but is not saved.
Click Here

i tried to disable wordfence but the problem is not there. however i am able to save/update the siteorigin when i write the below code

Click Here

the problem is when onclick=”window.location.href = ‘https://w3docs.com’ is added.

the buttons works very fine outside the siteorigin editor.i also tried button plugin of siteorign. even that is not saved after i hit update. it returns empty after i check

thank you

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

7
  1. Andrew Misplon Staff 5 years, 11 months ago

    Hi Ad

    Thanks for reaching out.

    Have you tried the Custom HTML widget? That should allow for JavaScript to be inserted.

  2. Ad Pozhari 5 years, 11 months ago

    yes i tried. not working. not being saved.

    Updating finishes but when i refresh it is blank.

    all i want to add is a simple code as below. a button with link in it.
    https://www.w3docs.com/snippets/html/how-to-create-an-html-button-that-acts-like-a-link.html

  3. Andrew Misplon Staff 5 years, 11 months ago

    Thanks for the update.

    I’m able to save the following in a Custom HTML widget successfully:

    <button onclick="window.location.href = 'https://w3docs.com';">Click Here</button>

    https://imgur.com/a/1uWzdAS

    If your code is the same as the above and the steps seen in my screenshots above are the same as yours, try running a plugin conflict test. Temporarily deactivate all plugins not authored by SiteOrigin and then readd the code and retest the issue, check to see if the problem is resolved.

  4. Ad Pozhari 5 years, 11 months ago

    hi. i disabled everything but still cant have any button inside siteoring.

    maybe is my theme, ColorMagVersion: 1.4.5 By ThemeGrill

  5. Andrew Misplon Staff 5 years, 11 months ago

    Thanks for the update. Please, create a test page, repeat the issue, take a screenshot of the widget you’re using, the contents of the widget and then send us a link to a test page where we can view the source code to see what’s being printed. Upload the screenshots to imgur.com, send us the link and the link to the page here and we’ll take a look.

  6. Ad Pozhari 5 years, 11 months ago

    i can give you temporary access to my woocomerce if you have time test it better.

  7. Andrew Misplon Staff 5 years, 11 months ago

    Hi Ad, unfortunately, due to resource limitations, we aren’t able to offer direct assistance via logging in within our free support scope. We are within our SiteOrigin Premium support scope.

    Please, create a test page, repeat the issue, take a screenshot of the widget you’re using, the contents of the widget and then send us a link to a test page where we can view the source code to see what’s being printed. Upload the screenshots to imgur.com, send us the link and the link to the page here and we’ll take a look and advise from there. Thanks.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread