Forum Replies Created
-
AuthorPosts
-
May 7, 2017 at 1:25 pm in reply to: Google Adsense – insert new responsive Code only in blog header #789084
Hi Rikard,
thanks for your help. I tried it now with this code:
<?php if ( is_single() ) { ?>
[Adsense-Code]
<?php } ?>in the header.php and it works great.
But I am still wondering, why the changes of my single.php had no impact of the real (non child theme file) single.php.Anyway, it works now, you can close the thread.
ThanksMay 7, 2017 at 5:01 am in reply to: Google Adsense – insert new responsive Code only in blog header #789021Update: Seems that it doesnt matter what I change in the single.php – nothing becomes visible at the end?! Why? Why cant I use a modified single.php in my child theme? Any other ways to get it done?
May 7, 2017 at 2:41 am in reply to: Google Adsense – insert new responsive Code only in blog header #788998Hi, litte update:
I copied the header.php with the working adsense code and called it header-adsense.php.
Then, I deleted the adsense code in the normal header.php.
In the single.php I changed “get_header();” in “get_header(‘adsense’);”But there is still no results for that, because now, I dont see any ad on my page.
Hmm that’s really strange.
But thanks anyway! The trick works, that’s enough :)
It works! Many thanks! I have also uploaded the theme yesterday via FTP, but it has not worked.
Have you done anything else?
I even have the “old” Enfold folder deleted and upload the new from ThemeForest. But even that did not work.I am happy! Thanks a lot for this!
Many greetings,
ChrisGood morning Josue,
yes, I did, but that has still not working.
Regards,
Chris -
AuthorPosts