How to modify the Single (post) template?

Posted in: Newspaper
Post count: 42

Hi,
This is Iqtidar, Editor and Writer at TeslaOracle.com,

We just bought your Newspaper theme and I got all the things working the way I wanted. But I need to add a hard-coded Adsense code for each Single Blog Post at the header.

I tried modifying the ‘single-loop.php’ file but at compilation, the theme removes this code, how can I place something sticky for all the posts that are there and we will create in the future?

However, the theme is live at https://www.teslaoracle.com if you would like to view.

Thanks & expecting a swift response.

Post count: 18

Hello!

Welcome to the forum

this post should guide you in the right direcction.

https://forum.tagdiv.com/topic/google-translate/

Post count: 27744

Hello,

If the code needs to be set between head tags, this can be put in our theme in Theme Panel -> Analytics/Js Codes -> https://prnt.sc/10jk7fq
You can also, use the ad box to display ads.

Thank you!

Post count: 42

Hi,
Thanks for the reply, I got it working by Editing the Single Page Theme from the TagDiv editor.

I like the new theme a lot and getting familiar with the setup.

Iqtidar!

Post count: 27744

Hello,

I’m glad.
Please let us know if you have other questions.

Have a great day!

Post count: 42

I opened another thread but it seems like I need to regenerate thumbnails.

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.