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; } else { [...]

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, Second Edition. [...]

Advertise Here
The Most Intelligent Add-In To Visual Studio Happy fan of

What I'm Doing...

Recent Posts

Yonkly Open Source

Sign up for my newsletter




* = required field

powered by MailChimp!

megree Widget

Apparently, I am connected to Obama. Check this out...
My path to Obama

Cyber Identity