A A
RSS

Tag Archive | "php"

Adding code to the top of every post in Wordpress

Saturday, April 7, 2007

Comments Off

Again, to monetize my blog, I wanted to add Google AdSense to the top of every post. It turns out, that wasn’t too hard: Create a php file in the mu-plugins folder Add the following code to the file function the_content_googleads($content = '') { if (is_single()) { $content = stripslashes(get_googleads_code()) . $content; [...]

Learning PHP

Saturday, April 7, 2007

Comments Off

I installed Wordpress a few days ago at www.blogstogo.com and inevitably, I had to make some changes and modify it to my liking. This sucks, because I don’t know PHP. I started hacking my way around and also ordered a book from Amazon.com – Beginning PHP and MySQL 5: From Novice to Professional, [...]

Advertise Here

What I'm Doing...

Yonkly Open Source

Sign up for my newsletter

powered by MailChimp!

Cyber Identity