Title: Import javascript(?) / doesn&#8217;t shown
Last modified: October 6, 2021

---

# Import javascript(?) / doesn’t shown

 *  Resolved [knowledgeaddicted](https://wordpress.org/support/users/knowledgeaddicted/)
 * (@knowledgeaddicted)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/import-javascript-doesnt-shown/)
 * Hello,
 * I’d like to create template for import with that sort of code below:
 * `<blockquote>`<!– TradingView Widget BEGIN –>
    <div class=”tradingview-widget-
   container”> <div class=”tradingview-widget-container__widget”></div> <div class
   =”tradingview-widget-copyright”>[<span class=”blue-text”>Analiza techniczna dla PERPUSDT</span>](https://pl.tradingview.com/symbols/PERPUSDT/technicals/)
   od TradingView</div> <script type=”text/javascript” src=”[https://s3.tradingview.com/external-embedding/embed-widget-technical-analysis.js&#8221](https://s3.tradingview.com/external-embedding/embed-widget-technical-analysis.js&#8221);
   async> { “interval”: “1m”, “width”: 425, “isTransparent”: false, “height”: 450,“
   symbol”: “BINANCE:PERPUSDT”, “showIntervalTabs”: true, “locale”: “pl”, “colorTheme”:“
   light” } </script> </div> <!– TradingView Widget END –>`</blockquote>`
 * But also with some modifications – I mean, insert variables in that code based
   on xls file. To make every post having unique widget.
 * The problem is that, when I import template with that code below, the output (
   the published post) doesnt contain the code betweeen { }.
 * Please help with that,
    Thanks

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

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/import-javascript-doesnt-shown/#post-14956111)
 * Hi [@knowledgeaddicted](https://wordpress.org/support/users/knowledgeaddicted/),
 * > The problem is that, when I import template with that code below, the output(
   > the published post) doesnt contain the code betweeen { }.
 * You will need to escape the curly braces with backslashes so that they aren’t
   stripped during the import, see:
 *     ```
       \{
       “interval”: “1m”,
       “width”: 425,
       “isTransparent”: false,
       “height”: 450,
       “symbol”: “BINANCE:PERPUSDT”,
       “showIntervalTabs”: true,
       “locale”: “pl”,
       “colorTheme”: “light”
       \}
       ```
   
 *  Thread Starter [knowledgeaddicted](https://wordpress.org/support/users/knowledgeaddicted/)
 * (@knowledgeaddicted)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/import-javascript-doesnt-shown/#post-14960964)
 * [@wpallimport](https://wordpress.org/support/users/wpallimport/)
 * Thanks a lot! That works. I wasn’t knew that this is so simple solution.
 *  Thread Starter [knowledgeaddicted](https://wordpress.org/support/users/knowledgeaddicted/)
 * (@knowledgeaddicted)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/import-javascript-doesnt-shown/#post-15030393)
 * Actually I have some smilar problem with importing that html code:
 * <script defer src=”[https://www.livecoinwatch.com/static/lcw-widget.js”></script&gt](https://www.livecoinwatch.com/static/lcw-widget.js”></script&gt);
   <div class=”livecoinwatch-widget-6″ lcw-coin=”BTC” lcw-base=”USD” lcw-period=”
   d” lcw-color-tx=”#ffffff” lcw-color-bg=”#1f2434″ lcw-border-w=”1″ ></div>
 * The case is that even when I’m clicking “Preview” that cause the code dissapearing
   partially and impossible to proper display the widget.
 * It looks like that after clicking “Preview” or importing:
 * <script defer src=”[https://www.livecoinwatch.com/static/lcw-widget.js”></script&gt](https://www.livecoinwatch.com/static/lcw-widget.js”></script&gt);
   
   <div class=”livecoinwatch-widget-6″></div>
 * I was trying with your previous solution but in this scenario it doesn’t help.
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/import-javascript-doesnt-shown/#post-15030514)
 * Hi [@knowledgeaddicted](https://wordpress.org/support/users/knowledgeaddicted/),
 * Please try replacing the HTML entity here:
 * `</script>`
 * With an actual arrow:
 * `</script>`
 * That fixed it in my tests.
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/import-javascript-doesnt-shown/#post-15030516)
 * Sorry, that didn’t work, here’s a screenshot: [https://d.pr/i/BXetN0](https://d.pr/i/BXetN0).
 *  Thread Starter [knowledgeaddicted](https://wordpress.org/support/users/knowledgeaddicted/)
 * (@knowledgeaddicted)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/import-javascript-doesnt-shown/#post-15031355)
 * Sorry, that was my error with copy and past.
 * Both codes which you pointed (input and output) has the same form: </script>
 * The problem is missing part in line with div class.
 *  Thread Starter [knowledgeaddicted](https://wordpress.org/support/users/knowledgeaddicted/)
 * (@knowledgeaddicted)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/import-javascript-doesnt-shown/#post-15046115)
 * [@wpallimport](https://wordpress.org/support/users/wpallimport/)
 * Could you take look once again on the post above?
 * Thank you.
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/import-javascript-doesnt-shown/#post-15063456)
 * Hi [@knowledgeaddicted](https://wordpress.org/support/users/knowledgeaddicted/),
 * I’m not able to replicate the issue, so we’ll need you to replicate it on a sandbox
   site at [http://www.wpallimport.com/debug/](http://www.wpallimport.com/debug/),
   then open a support request at [http://www.wpallimport.com/support/](http://www.wpallimport.com/support/)
   with the sandbox site URL.

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

The topic ‘Import javascript(?) / doesn’t shown’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-import/assets/icon-256x256.png?rev=2570179)
 * [WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets](https://wordpress.org/plugins/wp-all-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-import/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-import/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/import-javascript-doesnt-shown/#post-15063456)
 * Status: resolved