I’ll be showing the basics of getting OpenX to work in Thesis. This tutorial assumes you have OpenX installed as well as experience with custom_functions.php or Thesis OpenHook.
Part 1 – Getting Started
In this screen-cast I will show you how to:
- Setup an Advertiser
- Build a Campaign
- Add a Banner
Part 2 – Zones
In part 2 of the series, I will show you how to:
- Add a Website
- Create a Zone
Part 3 – Deployment
In the final installment, I’ll explain:
- Setup of the <div> tags for customization and positioning
- Insertion of the OpenX Invocation Code
- Setup of the Custom.css
————- PASTE INTO HEADER HOOK or CUSTOM_FUNCTIONS.PHP: ——————
// Leaderboard Ad
function leaderboard_html() {?>
<div id="leaderboard">
<iframe id='XXXXXX' name='XXXXX' src='http://d1.openx.org/afr.php?zoneid=XXXXX&cb=624' frameborder='0' scrolling='no' width='728' height='90'><a href='http://d1.openx.org/ck.php?n=XXXXX&cb=256' target='_blank'><img src='http://d1.openx.org/avw.php?zoneid=XXXXX&cb=624&n=XXXXX' border='0' alt='' /></a></iframe>
</div>
<?php }
add_action('thesis_hook_before_html','leaderboard_html');————- PASTE INTO CUSTOM.CSS: ——————
.custom #leaderboard {
height:100px;
width:100%;
text-align:center;
margin:10px 0;
}For further help, feel free to comment below. Thank you for watching and I hope I’ve helped answer some of your questions!










This is amazing!!! I am new to thesis but I am going to stick to your blog to learn a ton =D
Hello Greg I am trying to load a banner using thesis hook for Wp i want the banners to appear at the side of the post but i dont now in wich of the hook zones i have to paste the code i have tried in several way but the banner never appears.
This is my website any help will be greatly apreciated http://www.designplatgrounds.com
Hello Greg I am trying to load a banner using thesis hook for Wp i want the banners to appear at the side of the post but i dont now in wich of the hook zones i have to paste the code i have tried in several way but the banner never appears.
This is my website any help will be greatly apreciated http://www.designplatgrounds.com