how can i insert adsense code in Chirpy?
where can I insert?
please reply :(
If you look under src/templates, you'll find the source HTML files for any theme. You'll probably want to insert your AdSense code into _head.html or _foot.html.
That won't suffice though, since AdSense isn't compatible with XHTML 1.1, which Chirpy! uses by default. However, you can easily switch to another document type, by (again) opening _head.html and changing the first lines, which contain the document type declaration. You can either remove the <!DOCTYPE ...> altogether, or paste in a new one, such as HTML 4 Transitional; there shouldn't be any major conflicts. You'll find the available document types at http://www.w3.org/QA/2002/04/valid-dtd-list.html .
hi thanks ..I have removed the <!DOCTYPE ...> code from _head.html and it solved the problum :)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.