You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Adding Google Adsense under navigation

UserPost

2:25 am
August 25, 2009


alimo

Member

posts 10

1

Hi,

Does anyone know how I can insert google adsense (link unit) between the navigation bar and the first post of the flexibility theme?

I would really appreciate any help…

8:41 am
August 26, 2009


Ryan

Admin

posts 1252

2

You can activate a leaderboard ad within the theme settings, but if you want something different you'll need to add the adsense code into the theme files directly.  If you want it to show on every page, edit the index.php, archive.php, single.php and page.php files like this:

<div id="content">

**insert adsense code here**

If you want some space around it, you could add something like this:

<div style="margin-top:10px;margin-bottom:10px;">**insert code here**</div>

3:45 pm
August 27, 2009


alimo

Member

posts 10

3

Cool, it worked thanks. Just noticed that a few of my pages arn't loading though. Don't know if it has anything to do with this but I havn't really check the site for 2 months so it might have happened before. Do you mind taking a look:

http://www.homejoblist.com/tra…..ption-jobs
http://www.homejoblist.com/translation

6:47 am
August 31, 2009


Ryan

Admin

posts 1252

4

My guess would be something in the posts on those pages is causing the problem since the other pages display fine. I can't tell from the code, because there isn't any that loads beyond the <head> of the page.

4:47 am
September 1, 2009


alimo

Member

posts 10

5

It seems to happen when I try and add more than a certain number of posts on the page Confused