Text block doesn't display my js

Posted in: Newsmag
Post count: 5

hi there, I have tried to add custom js me but can not be displayed properly. This is my js:

<script type=”text/javascript”>
var widget_embed = ‘posts’;
</script>
<script src=”http://gregetan.com/wp-content/widgets/wp-widget-300.js&#8221;
type=”text/javascript”>
</script>
<div id=”embed-widget-container”></div>

I add this code into the widget text block, text block on the homepage of the course with the visual composer. I use this code and working properly before. is there something i missing?

my site : https://www.nasionalisme.co

Post count: 6535

Hi

Try using a row js from Visual Composer to add your code on the page: http://screencast.com/t/Rruf6yhllR9R This block is designed to render js code and should work fine. Also I’ve test your code with a text block and works fine: http://screencast.com/t/sOHgx4sWhttp://screencast.com/t/NMea4dxUpB

Thanks!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newsmag’ is closed to new topics and replies.