Using Native Ad Widgetsr: (1) Spoutable

Posted in: Newspaper
Post count: 12

I came across this ad network spoutable.com.
Since I got approved, they asked me to paste the code as shown below in the Footer.php

<script type=’text/javascript’>
(function(){
var spoutjs=document.createElement(‘script’),firstjs=document.getElementsByTagName(‘script’)[0];
spoutjs.async=1;
spoutjs.src=’//cdn.spoutable.com/c3fb8ec5-a879-4f40-8348-1f1c9c0c9314/spoutable.js’;
firstjs.parentNode.insertBefore(spoutjs,firstjs)
})();
</script>

My Question is how can I do this without disturbing any codes or settings of the default Newspaper Theme.

Post count: 22421

Hi,
You can try it in the custom js box but I;m not sure it will work. You may have to doo exactly like suggested and edit footer.php and add your code like so: http://screencast.com/t/2eOUtjOmoZl
Thanks.

Post count: 12

Thank you Bodgan,

But Can I do it directly from the WordPress Admin Panel by choosing?

Appearance – Editor – Footer.php

Post count: 12

Just Conformation for anything who wants to use this in future.
It works perfectly without any hassles.

Thanks.

Post count: 22421

Hi,
You can do it from the editor as well, yes.
Glad it worked out!

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