|
|||||||
| Affiliate / Revenue Area to discuss revenue / affiliate ideas. |
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|||
|
Adding Google Adsense to Wordpress
This is what it looks like http://somethin-tropical.epaulv.com Open index.php (you will find it in the root directory of where you installed your wordpress blog. eg yourdomain/wordpress/yourblog or yourdomain/yourblog) Scroll down a bit and find the following - this will be slightly different depending on what skin you are using: Code:
<body> <div id="rap"> <div id="masthead"> <h1 id="header"><?php bloginfo('name'); ?></h1> </div> <div id="hmenu"> <div id="hnav"> </div> </div> <div id="googleplague"> <center><script type="text/javascript"><!-- google_ad_client = "pub-xxxx009818xxxx"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_channel =""; google_ad_type = "text_image"; google_color_border = "CCCCCC"; google_color_bg = "FFFFFF"; google_color_link = "FF3300"; google_color_url = "FF6600"; google_color_text = "666666"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></center> </div> <div id="content"> <div id="masthead"><h1 id="header"><?php bloginfo('name'); ?></h1></div> --- Then Google ---- In the above I have placed the Google Plague in a <div> tag. This just keeps it where it is supposed to be and helps you control elements of it without affecting the rest of the page, like centering and the like. eg - (in above) <div id="googleplague"> <center> ----google script ---- be sure to close it with the </center></div> The <div id="googleplague"> you can name what ever you like. I just use a name so I can find different stuff by name when searching through a mountain of php... I hope this is not too confusing. I always hate it when reading scripters writting instructions .... thank goodness I am a crayfish farmer and not a scripter. lmao No offence to the scripters... cheers Paul V |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding Google on free hosted forums and stuff | PaulV | Affiliate / Revenue | 3 | 04-08-2005 04:40 AM |
| New Updates to Google Adsense | branica | Affiliate / Revenue | 2 | 04-06-2005 02:47 PM |
| Adding Google Adsense to A Blogspot.com Blog | PaulV | Affiliate / Revenue | 2 | 02-22-2005 01:24 AM |