• Resolved josvar

    (@josvar)


    Hello richie my question is is there any way to place google adsense ads in the header of the page because the one that you have does not let exist some plugins or some way of placing in that part google adsense ads

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Richie KS

    (@rkcorp)

    in faq.txt, there should be a tips on adding filter code to enable scripts in customizer->advertisment.

    anyway, here it is, add this to functions.php most bottom before end ?>

    function meso_allow_scripts() { return 'meso_sanitize_null'; }
    add_filter('meso_textarea_settings_filter','meso_allow_scripts');

    clear cache etc, and re-enter the adsense code in ad setting, it might not previewed, but save it anyway, it will show in live site.

    Thread Starter josvar

    (@josvar)

    Thank you ready and leave the announcements greeting and excellent subject I would like to learn to do themes for wordpress there is some tutorial or something for hay man if you know then I hope answer if it is not well man thank you very much

    Theme Author Richie KS

    (@rkcorp)

    there’s should a lot of place to learn wp theming, this forum is for support not learning. maybe search google for wp 101, wp tutorials etc…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to place google adsense ads in the header of the template or theme’ is closed to new replies.