DIY Themes Forums  

Go Back   DIY Themes Forums > Thesis Theme > Thesis Customization Tips
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-19-2008, 01:42 AM
Junior Member
 
Join Date: Aug 2008
Posts: 17
Default Adding Advertising Code

Hi,

I am new to Thesis and would like to implement Adsense and affiliate code to areas of my new site. I want to add 120x600 and 160x600 banners in columns one and two and maybe a 728 leaderboard across the top of the site and a 468x60 next to the logo exactly like Politics — The Hatchet

Please help!

Ben
Reply With Quote
  #2 (permalink)  
Old 08-19-2008, 03:31 AM
Senior Member
 
Join Date: Jul 2008
Location: Connersville, IN
Posts: 2,244
Send a message via ICQ to kingdomgeek Send a message via AIM to kingdomgeek Send a message via MSN to kingdomgeek Send a message via Yahoo to kingdomgeek
Default

Sidebar ads are easy: Just add them using text widgets in the widgets panel of your dashboard (under Design).

For the header images, check out my Kingdom Geek site; view the source & my custom.css file (linked in signature) to see how I added a banner to my header. If you need further help, just ask.
__________________
Rick Beckman, Kingdom Geek & Thesis Support Ninja (Forums Moderator)
[ Thesis Manual | Help, my posts don't show up! ]


Amazon Wishlist | My custom.css
Get Thesis! | Earn Cash as a DIY Affiliate!
Reply With Quote
  #3 (permalink)  
Old 08-19-2008, 03:40 AM
Junior Member
 
Join Date: Aug 2008
Posts: 17
Default

Many Thanks!
Reply With Quote
  #4 (permalink)  
Old 08-19-2008, 05:29 PM
Junior Member
 
Join Date: Aug 2008
Posts: 8
Default

How about adding a 728 leaderboard above the header (above page tabs and subscribe)?
__________________
Oz
http://www.hearya.com
Indie Bands. Live Studio Sessions. Daily MP3 Downloads.
Reply With Quote
  #5 (permalink)  
Old 08-19-2008, 11:48 PM
Senior Member
 
Join Date: Jul 2008
Location: Connersville, IN
Posts: 2,244
Send a message via ICQ to kingdomgeek Send a message via AIM to kingdomgeek Send a message via MSN to kingdomgeek Send a message via Yahoo to kingdomgeek
Default

That would be just after these lines in header.php:

HTML Code:
<div id="container">
<div id="page">
__________________
Rick Beckman, Kingdom Geek & Thesis Support Ninja (Forums Moderator)
[ Thesis Manual | Help, my posts don't show up! ]


Amazon Wishlist | My custom.css
Get Thesis! | Earn Cash as a DIY Affiliate!
Reply With Quote
  #6 (permalink)  
Old 08-20-2008, 12:42 AM
Junior Member
 
Join Date: Aug 2008
Posts: 8
Default

Thanks so much. I'm almost finished!
__________________
Oz
http://www.hearya.com
Indie Bands. Live Studio Sessions. Daily MP3 Downloads.
Reply With Quote
  #7 (permalink)  
Old 09-08-2008, 08:36 PM
 
Join Date: Sep 2008
Posts: 18
Default

HI -

I've installed a couple of ad serving widgets - they don't seem to be working?

Perhaps these are not compatable with Thesis?

Here they are:

OpenX for WordPress:

Max Banner Ads

udc block ads
Reply With Quote
  #8 (permalink)  
Old 09-08-2008, 09:11 PM
Senior Member
 
Join Date: Jul 2008
Location: Connersville, IN
Posts: 2,244
Send a message via ICQ to kingdomgeek Send a message via AIM to kingdomgeek Send a message via MSN to kingdomgeek Send a message via Yahoo to kingdomgeek
Default

The OpenX instructions say that it provides a widget for use in the sidebar; if it is not appearing within the widgets panel to use in your sidebars, that is symptomatic of a problem with it or WordPress, not Thesis, which doesn't affect widgets in any way other than displaying them.

The same is true for Max Banner Ads and I assume for UDC Block Ads as well, though I couldn't find any information for it.
__________________
Rick Beckman, Kingdom Geek & Thesis Support Ninja (Forums Moderator)
[ Thesis Manual | Help, my posts don't show up! ]


Amazon Wishlist | My custom.css
Get Thesis! | Earn Cash as a DIY Affiliate!
Reply With Quote
  #9 (permalink)  
Old 11-04-2008, 06:12 PM
Junior Member
 
Join Date: Aug 2008
Posts: 8
Default

So now I'm really confused. I had a leaderboard placed after these lines in header.php.

<div id="container">
<div id="page">

Now I go into header.php and I don't see any of that code anymore.

I can only see these lines of code and I need to replace the ad in my header. Any thoughts?


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">

<title><?php thesis_output_title(); ?></title>

<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php wp_head(); ?>

</head>

<body<?php thesis_body_classes(); ?>>

<?php thesis_hook_before_container(); ?>

<?php thesis_header(); ?>
__________________
Oz
http://www.hearya.com
Indie Bands. Live Studio Sessions. Daily MP3 Downloads.
Reply With Quote
  #10 (permalink)  
Old 11-04-2008, 06:43 PM
Junior Member
 
Join Date: Aug 2008
Posts: 8
Default

I also switched header.php to the old code that included the ads and it didn't place the ads in my leaderboard. Any help is appreciated.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php thesis_output_title(); ?></title>

<?php
wp_head();
thesis_hook_header();
?>

</head>

<body<?php thesis_body_classes(); ?>>

<div id="container">
<div id="page">

<!-- Begin Adify tag for "Leaderboard" Ad Space (728x90) ID #4232007 -->
<center>
<script type="text/javascript">
sr_adspace_id = 4232007;
sr_adspace_width = 728;
sr_adspace_height = 90;
sr_adspace_type = "graphic";
sr_ad_new_window = true;

</script>
<script type="text/javascript" src="http://ad.afy11.net/srad.js?azId=4232007">
</script>
</center>
<br>
<!-- End Adify tag for "Leaderboard" Ad Space (728x90) ID #4232007 -->

<?php thesis_nav_menu(); ?>

<div id="header">
<?php
thesis_show_title();
thesis_show_tagline();
?>
</div>
__________________
Oz
http://www.hearya.com
Indie Bands. Live Studio Sessions. Daily MP3 Downloads.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:30 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0