Follow up on Taboola ads

Posted in: Newsmag
Post count: 1

Hi Radu,

Yes, I’d like to place the Taboola ads below the post sharing buttons ( http://screencast.com/t/MPKPS9hoRs3X ). Below is the code and instructions they sent me, which I have followed, but somehow I cannot make work. I appreciate your support. Thanks! – CB

Hello,

Place this code in the <head> section:
<script type=”text/javascript”>
window._taboola = window._taboola || [];
_taboola.push({article:’auto’});
!function (e, f, u) {
e.async = 1;
e.src = u;
f.parentNode.insertBefore(e, f);
}(document.createElement(‘script’),
document.getElementsByTagName(‘script’)[0],
http://cdn.taboola.com/libtrc/tabooyallc-themosttaboyya/loader.js&#8217;);
</script>

Place this code where you want the “Below Article Thumbnails” widget to render:
<div id=”taboola-below-article-thumbnails”></div>
<script type=”text/javascript”>
window._taboola = window._taboola || [];
_taboola.push({
mode: ‘thumbnails-a’,
container: ‘taboola-below-article-thumbnails’,
placement: ‘Below Article Thumbnails’,
target_type: ‘mix’
});
</script>

Place this code where you want the “Right Rail Thumbnails” widget to render:
<div id=”taboola-right-rail-thumbnails”></div>
<script type=”text/javascript”>
window._taboola = window._taboola || [];
_taboola.push({
mode: ‘thumbnails-rr’,
container: ‘taboola-right-rail-thumbnails’,
placement: ‘Right Rail Thumbnails’,
target_type: ‘mix’
});
</script>

Place this code at the end of your <body> tag:
<script type=”text/javascript”>
window._taboola = window._taboola || [];
_taboola.push({flush: true});
</script>

Post count: 780

Hi,

I tried to load the ads on my local WordPress install but it seems that they are tied to the domain name. But here is a list of steps:

– the code for the head section http://screencast.com/t/UMGU1juR87I can be added here: http://screencast.com/t/uAwJEfJ8J
– paste the ad code here http://screencast.com/t/tVRWVnnw5Yp (please note that this will add the ad to single template 7, if you want to use another single template, edit the appropriate loop file.)

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