place taboola ad code in website

Posted in: Newspaper
Post count: 58

Hi, I recently signed up for taboola contextual ads to drive ads that appear at the bottom of every post. Instructions are to place three sections of code in the ‘head section’, ‘end of <body> tag’ and ‘where you want the below article thumbnail to appear’. This is all the ‘support’ they give along with the code.

For the head section code, I assume place the code between the two <head>s in the header.php section
For the ‘end of body tag’, I assume place code in the footer.php section after the ‘</body>’ tag? or is it just before ‘</body>’??

For the ‘where you want below article’ placement, this is where I am stuck. Is it the index.php file I use? And where to insert to drive ads after the post. Just before the footer.php is called?

Anyhelp would be appreciated.

Thanks

Post count: 58

Hi,

I have just seen this thread.

https://forum.tagdiv.com/topic/taboola/

This helps alot. How do I know what post template is being used. thanks

Post count: 20688

Hi,

Each post template style has a corresponding loop single file. For example if you are using Post template 2 for your posts, you must edit loop-single-2.php file
https://www.screencast.com/t/xdMATbc12Y
These post template files are found in the main theme folder.

Thanks

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