The Perambulator

exploring the road less traveled

The Perambulator header image 2

Adsense on Gallery2, Zen Cart. and Wordpress

April 20th, 2007 · No Comments

In an effort to cover my hosting fees I created a google adsense account. With three different content management applications, posting the ads on my sites was no easy matter. Here is a rough guide:

Gallery2
Follow instructions here replacing “end” tags with ‘, a single apostrophe.
Create local template directory. Create adsense tpl file. Copy album, photo, and sidebar tpl files to local directory. Edit desired tpl file.

Implemented here: The Walker Family Gallery

Zen Cart

Install google_adsense_sidebox. Copy three files to three separate template directories. Edit adsense php file with adsense script. Control placement with layout boxes controller in the admin panel.

Implemented here: The Contemplative Reader

Wordpress
Install sidebar widgets plugin. Copy adsense script into textbox. Position textbox with widget. This works for the main page but does not appear to have an option for single posts. Have to edit single.php. Add list item and insert script.

Implemented here: The Perambulator

Tags: Web development

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment