We’ve seen a lot of people asking questions on facebook groups, searching on google about how to add google analytics code or Adsense code in a WordPress theme. So we decided to provide separate options to do so.
How To Add Scripts & Styles In Header Of The HTML Code –
Navigate to Appearance > Customize > Theme Settings > Styles & Scripts Section > Add Styles & Scripts in Header. Here you can add styles and javascript code in the header of the HTML code of the playlet theme.
How To Add Scripts & Styles In Footer Of The HTML Code –
Navigate to Appearance > Customize > Theme Settings > Styles & Scripts Section > Add Styles & Scripts in Footer. Here you can add styles and javascript code in the footer of the HTML code of the playlet theme.
Note: Make sure styles are enclosed with <style> tag and javascript code is enclosed with <script> tag. Else it won’t work.