![]() |
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 ![]() |
|
|||
|
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! |
|
|||
|
How about adding a 728 leaderboard above the header (above page tabs and subscribe)?
|
|
|||
|
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! |
|
|||
|
Thanks so much. I'm almost finished!
|
|
|||
|
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! |
|
|||
|
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(); ?> |
|
|||
|
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> |
![]() |
| Thread Tools | |
| Display Modes | |
|
|