Ar_home_b_search
 

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; }

 
Post is included in group: e-PRO Internet Technology
Post is included in group: WordPress Blog

12 Comments on Thesis Theme Notes: Custom Banner

JAN
31
2010
281,712 Points 2 Featured Posts Called Shot Master

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....

6:55am • #1
231,293 Points 8 Featured Posts Outside Blog Called Shot Master

Your post is a keeper and beyond any random thoughts. Thanks for the road map to Thesis custom banners.

7:05am • #2
447,089 Points 28 Featured Posts Outside Blog Hit Router Attended Rain Camp Called Shot Master

Maureen,  Once you get the hang of it, it actually isn't too hard .... and anyway, real coders copy and paste......

1:25pm • #4
127,676 Points 1 Featured Post

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.

3:57pm • #5
447,089 Points 28 Featured Posts Outside Blog Hit Router Attended Rain Camp Called Shot Master

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.  :-)

5:21pm • #6
173,150 Points 43 Featured Posts

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.

9:15pm • #7
FEB
08
2010
279,118 Points 1 Featured Post Localism Sponsor Hit Router Attended Rain Camp

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!

3:21pm • #8
447,089 Points 28 Featured Posts Outside Blog Hit Router Attended Rain Camp Called Shot Master

Monique,  This only applies to the Thesis Theme for WordPress.  Thesis works a little different than most other themes out there....

3:51pm • #9
FEB
21
2010

Lost me at "Create the Banner" - gotta find some time away from selling real estate!

7:46pm • #10
MAR
09
2010
262,009 Points 8 Featured Posts Outside Blog

Thanks Cheryl, do you ever use the plugin thesis open hook?

2:38pm • #11
MAR
10
2010
447,089 Points 28 Featured Posts Outside Blog Hit Router Attended Rain Camp Called Shot Master

Open Hook was a BIG help as I learned my way around Thesis!  http://activerain.com/blogsview/1454818/wordpress-thesis-theme-openhook-plug-in

As I gradually got the hang of working with the customfunctions.php and custom.css files, I used Open Hook less.

Yes, I would highly recommend the Open Hook plugin...

6:35am • #12

This blog does not allow anonymous comments

 
Cj-600 Rainmaker_large

Cheryl Johnson

Highland Park, CA

More about me…

Cheryl Johnson, Bob Taylor Properties, Inc., Los Angeles, CA

Address: 5526 N. Figueroa Street, Los Angeles, CA, 90042

Office Phone: (323) 257-1080

Email Me


Caution: CAT BLOG AHEAD

Including random thoughts on life, art, business, stuff, and occasionally Real Estate.

What is a CAT BLOG?

According to Seth Godin: "Cat blogs are for, by, and about the person blogging. A cat blog is about your cat and your dating travails and your boss and whatever else you feel like sharing in your public diary." Well, I am the boss, my dating years are behind me, but I do love my cats.

Enjoy!



We’re Bloodhounds. We teach our clients to demand better service from real estate professionals.




Listings

Links

Archives

RSS 2.0 Feed for this blog