SMF Mobile Theme
SMF Mobile Theme => Feedbacks & Suggestions => Topic started by: empty on May 21, 2015, 11:58:55 AM
-
Hi.
Just bought the theme and it works fine.
Only one wish: Please add an option, to insert ads (under the header and/or at the bottom) in a simple way, so i don't have to patch the theme files.
Hope, you'll think about it.
Regards,
Mario
-
Thanks for your suggestion, I'll indeed add an option, it should be quite easy :)
-
Added for next release, you can now add ads below the header and above the footer right from your Theme Settings :)
-
Wow!
Thanks a lot. Will try it out tomorrow!
-
Let me know how it goes :)
-
The injection works fine.
But with adsense, there seems to be a problem with responsive ads.
If i choose the recommended responsive layout, no ad shows up. if i choose a fixed size (e.g. 320x100) the ad is displayed.
Don't know, if this is a problem caused by the theme (css?) or by Google...
-
For jQuery Mobile you need to replace:
(adsbygoogle = window.adsbygoogle || []).push({});
With:
var prev_handler = window.onload;
window.onload = function () {
if (prev_handler) {
prev_handler();
}
(adsbygoogle = window.adsbygoogle || []).push({});
};
In the code Google gave you.
-
yes it could be super cool .. also if it was possible to have own ads and not only google ads :)
cheers from Denmark and thanks for your great work :D ;D
-
In theme settings you can add any HTML code you want, including your own ads :)
-
Thanks for your superb support!
-
Thanks to you for your suggestion :)