• Resolved zpg

    (@zpg)


    I added this code to a page on my website

    <div id="ts3viewer_1045580"></div>
    <script src="http://static.tsviewer.com/short_expire/js/ts3viewer_loader.js"></script><script>// < ![CDATA[
    var ts3v_url_1 = "http://www.tsviewer.com/ts3viewer.php?ID=1045580&text=000000&text_size=13&text_family=1&js=1&text_s_color=fa051d&text_s_weight=bold&text_s_style=normal&text_s_variant=normal&text_s_decoration=none&text_s_color_h=525284&text_s_weight_h=bold&text_s_style_h=normal&text_s_variant_h=normal&text_s_decoration_h=underline&text_i_color=4e6da3&text_i_weight=normal&text_i_style=normal&text_i_variant=normal&text_i_decoration=none&text_i_color_h=525284&text_i_weight_h=normal&text_i_style_h=normal&text_i_variant_h=normal&text_i_decoration_h=underline&text_c_color=050505&text_c_weight=normal&text_c_style=normal&text_c_variant=normal&text_c_decoration=none&text_c_color_h=050200&text_c_weight_h=normal&text_c_style_h=normal&text_c_variant_h=normal&text_c_decoration_h=underline&text_u_color=0303fc&text_u_weight=bold&text_u_style=normal&text_u_variant=normal&text_u_decoration=none&text_u_color_h=525284&text_u_weight_h=bold&text_u_style_h=normal&text_u_variant_h=normal&text_u_decoration_h=none"; ts3v_display.init(ts3v_url_1, 1045580, 100);
    // ]]></script>

    but the code doesnot work. seems that the & are being replaced by wordpress to #038 what do I need to do to have this code displayed like I posted it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • J M

    (@hiphopinenglish)

    & and other characters can be converted to html entities depending on where they are placed. I’d suggest adding your script via a function in your functions.php if you can. See wp_enqueue_script.

    Thread Starter zpg

    (@zpg)

    and what is the solution for a non php programmer?
    I would not know how to do this.
    Is there a plugin that resolves thi?

    Thread Starter zpg

    (@zpg)

    ok I found a plugin that is called raw html and it has allowed my code to be displayed as intended.
    Closing this topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘formatting’ is closed to new replies.