Adding ads to existing theme

No, I haven’t fallen off the face of the earth (if anyone was wondering, which you probably weren’t – but in case you were). I’ve just been busy with life and everything that comes along with. That said, my project of redesigning the site has not completely left me. So here I am – long after the last, to continue on!

index-img-themes

Here you can see the index.php from my themes folder. My goal is to first make room for my ads. About half way down you will see a div with the id class of “padbox”. I’m gonna start there and see what the page does when I toss responsive ad code in there:index-img-themes2
*as always, make a copy of your index.php before editing and uploading just in case everything goes wrong – I also added a line of code near the closing body tag – *

index-img-themes3

index-img-themes4

So now our index.php has a couple of ads on it. Make sure to also edit the album.php, image.php and search.php. At this point, my goal is to just get my ads on the page as well as my analytics code. Lets go ahead and toss that in too between the opening & closing head tag.

Once I get these in line, I will focus in on the actual css to restyle the page – but for now I’m just trying to get some of my usually-forgotten basics in.

It’s almost overwhelming to think about the gallery page as a whole right now. No new pictures have been added, most of them still need edited through the zenphoto admin control panel (description, name, tags, etc). So much to do, so little time. Now I gotta go the the grocery store, so I’ll shoot another update at a later time. Sorry for the seemingly dragging of my feet – it’s not intentional!

Side note: this is not exactly where I wanted to end, but this is the progress I’ve made in the last half hour. Busy, busy, busy!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s