Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #511231

    I wanted to add in the button somewhere above the fold. I tried putting it in a code block but it didn’t work. I also tried putting it in the header.php file and a few of the page templates

    website: http://www.lebukhara.com.au/

    Button: `<script type=”text/javascript”>
    document.write(‘<script type=”text/javascript” src=”http://widget.dimmi.com.au/Button.js?id=918&referrerUrl=&#8217; + encodeURIComponent(window.location) + ‘\”></’ + ‘script>’);
    </script>`
    Widget: `<script type=”text/javascript”>
    document.createElement(‘h9’);
    (function () {
    var dim = document.createElement(‘script’); dim.type = ‘text/javascript’;
    dim.src = ‘http://widget.dimmi.com.au/Widget.js?id=918&referrerUrl=&#8217; + encodeURIComponent(window.location);
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(dim, s);
    })();
    </script>
    <link type=”text/css” rel=”stylesheet” href=”http://widget.dimmi.com.au/content/embed.css&#8221; media=”all”>
    <div id=”dimmi-widget-918″ class=”dimmi-widget”>
    <div>
    <h9>Le Bukhara</h9>
    <span>Bookings by <a href=”http://www.dimmi.com.au/about-dimmi/why-book-with-us&#8221; target=”_blank”>Dimmi</a></span>
    </div>
    </div>`

    #511444

    Hey larian96!

    Can you please post a screenshot and show the changes you would like to make?

    Best regards,
    Yigit

    #512502
    #512636

    Hi,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

    #512643

    provided

    #513048

    Hi!

    That is a new button for the slider.
    The code you have tried what error was producing to you?

    Cheers!
    Basilis

    #514100

    I put a button there that links to an external page temporarily. The problem was that the button was not displaying and javascript widget would not display on the page or pop up.

    #514622

    Hey!

    you are using an old version of WordPress and Enfold. Please upgrade both to the newest version.
    Though button is working fine for me. It’s displaying fine and opens another page just fine for me. Could you fix it?

    Best regards,
    Andy

    #514863

    The button on there now is just a temporary fix, the code i provided earlier is what I want it to be.

    Now running enfold 3.3.2 and wordpress 4.3.1

    #514966

    Hey!

    Where did you get the code? I tested it on a code block and it works:

    <script type="text/javascript">
    document.write('<script type="text/javascript" src="http://widget.dimmi.com.au/Button.js?id=918&referrerUrl=' + encodeURIComponent(window.location) + '\"></' + 'script>');
    </script>
    Widget: <script type="text/javascript">
    document.createElement('h9′);
    (function () {
    var dim = document.createElement('script'); dim.type = 'text/javascript';
    dim.src = 'http://widget.dimmi.com.au/Widget.js?id=918&referrerUrl=' + encodeURIComponent(window.location);
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(dim, s);
    })();
    </script>
    <link type="text/css" rel="stylesheet" href="http://widget.dimmi.com.au/content/embed.css" media="all">
    <div id="dimmi-widget-918″ class="dimmi-widget">
    <div>
    <h9>Le Bukhara</h9>
    <span>Bookings by <a href="http://www.dimmi.com.au/about-dimmi/why-book-with-us" target="_blank">Dimmi</a></span>
    </div>
    </div>

    Screenshot:

    Cheers!
    Ismael

    #515028

    I tried it in a code block and the button didn’t display, you can see the results on the screenshot. Maybe you can try on the page?
    codeblock screenshot

    #515029
    #516149

    Hi!

    Thank you for the update. Please post the login details here. We’ll try to add it for you.

    Best regards,
    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.