For anyone not familiar with my style here: Active Rain is one of my favorite places to save miscellaneous notes to myself. But I also figure, if I need to save these notes, maybe someone else will also find them helpful.
To use a customer banner in the Thesis Theme for WordPress.
Create the banner.
Upload it to your host site.
FTP to your Thesis Theme files on your host server. wp-content -> themes -> thesis_16
Change the file name "custom-sample" to just "custom" if you haven't done that already. Open the "custom" file.
Open (Edit) custom-functions.php (The menu command will depend on which FTP program you are using - the file will open in Notepad or in whatever text editor you have associated with code files)
Paste this code into custom-functions.php at the end of the file, below the instructions and the default bookmark code:
function mycustom_banner() {
?>
<div id="mycustom-banner">
<a href="http://www.bobtaylorproperties.info" title="Bob Taylor Properties Inc. Home">
<img src="http://www.bobtaylorproperties.info/bobtaylorpropertiesbanner.png"
alt="Bob Taylor Properties, Inc." ></a>
</div>
<?php
}
add_action('thesis_hook_before_header', 'mycustom_banner');
You'll probably want to change the alt titles and URLs to your own. Although if you want to use mine I won't complain. :-)
Thesis works with "hooks" and "functions".
The "function" is the actual executable code - in this case the insertion of a banner image.
The "hook" is the LOCATION on the page you want the "function" placed - in this case before the Thesis default header.
Now, close the FTP program, go to the wp-admin panel for the site. Click Thesis Options at the bottom of the left menu column.
Under Display Options -> Header uncheck "Show site name in header" and "Show site tagline in header"
Save.
One last thing: You may want to reduce the spacing before your banner image, to do that, go back to the Thesis files via FTP. In the custom file, open up custom.css and add this line of code to the end of the file
.custom #header { padding: 0px; margin: 0px; }



I don't even use Word Press, and this is all Greek to me, but...you gained a subscriber. Now, if I can just figure out all those Latin phrases you used....
Your post is a keeper and beyond any random thoughts. Thanks for the road map to Thesis custom banners.
someday
Maureen, Once you get the hang of it, it actually isn't too hard .... and anyway, real coders copy and paste......
What a concept, AR as note depository. All along, I just thought you were exceptionally sharing. I love the double use you get from AR. Please keep sharing, it is why I subscribe to you and have for a long time.
Jim,
You'd probably Laugh Out Loud to discover how many times I forget how to do something or another, and end up referring back to my "notes" here on AR to refresh my memory. :-)
Cheryl- As usual you have shared useful information and thank you for that. Also I am chuckling her because I too use my blog posts as guides for myself. I refer to them many times- they are like notes to self.
Cheryl ~ I decided to change my banner and searched ActiveRain for banner tips. I will save this and try it out in my wordpress. Thanks!
Monique, This only applies to the Thesis Theme for WordPress. Thesis works a little different than most other themes out there....
Lost me at "Create the Banner" - gotta find some time away from selling real estate!
Thanks Cheryl, do you ever use the plugin thesis open hook?