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
  #21 (permalink)  
Old 05-01-2008, 06:55 PM
Junior Member
 
Join Date: Apr 2008
Posts: 1
Default My Thesis Site: Wyatt's Torch

Hey there

I really appreciate all of Chris' work, his themes are a notch above. Frankly I will buy any theme he makes just to have it, because they're all excellent.

I like the default Thesis look so much that I have not customized mine much, except for the images. Here it is:

Wyatt's Torch: Libertarian, Capitalist & Individualist News with Attitude
Reply With Quote
  #22 (permalink)  
Old 05-01-2008, 11:43 PM
Member
 
Join Date: Apr 2008
Posts: 40
Default

Here's how I did it. Note that I made changes at the top of the file and added an endif at the bottom:

PHP Code:
<?php if ( is_page('my-music') ) : ?>
    <img src="<?php bloginfo('template_url'); ?>/headers/gretsch.jpg" alt="gretsch" />
<?php elseif ( is_page('free-ebook-download') ) : ?>
    <img src="<?php bloginfo('template_url'); ?>/headers/book_page.png" class="three_by_two" alt="free ebook" />
<?php else : ?>
<?php

// INSTRUCTIONS:
// The images used in your image rotator are located in the /headers/ directory of your Thesis Theme.
// For best results, you should upload images that have common aspect ratios, such as:
// 4:3 — no additional class required (although you can use class="four_by_three" if you like)
// 3:2 — apply class="three_by_two" to the appropriate image declaration below
// 16:9 — apply class="sixteen_by_nine" to the appropriate image declarataion below

// Finally, be sure to add an alt tag to all of your images to ensure proper validation!

$random_image rand(1,5); // the second number should equal the total number of images that you want to rotate

switch ($random_image) {
    case 
1:
?>
                <img src="<?php bloginfo('template_url'); ?>/headers/header-1.jpg" class="three_by_two" alt="seaside" />
<?php
    
break;
    case 
2
?>
                <img src="<?php bloginfo('template_url'); ?>/headers/header-2.jpg" class="sixteen_by_nine" alt="ladies running on a picturesque beach" />
<?php
    
break;
    case 
3
?>
                <img src="<?php bloginfo('template_url'); ?>/headers/header-3.jpg" class="three_by_two" alt="space station" />
<?php
    
break;
    case 
4
?>
                <img src="<?php bloginfo('template_url'); ?>/headers/header-1.jpg" class="three_by_two" alt="seaside" />
<?php
    
break;
    case 
5
?>
                <img src="<?php bloginfo('template_url'); ?>/headers/header-3.jpg" class="three_by_two" alt="space station" />
<?php
    
break;

?>
<?php 
endif ?>
Reply With Quote
  #23 (permalink)  
Old 05-01-2008, 11:49 PM
 
Join Date: Apr 2008
Location: Hamilton, Montana
Posts: 25
Default

Quote:
Originally Posted by keener View Post
Here's how I did it. Note that I made changes at the top of the file and added an endif at the bottom:

PHP Code:
<?php if ( is_page('my-music') ) : ?>
    <img src="<?php bloginfo('template_url'); ?>/headers/gretsch.jpg" alt="gretsch" />
<?php elseif ( is_page('free-ebook-download') ) : ?>
    <img src="<?php bloginfo('template_url'); ?>/headers/book_page.png" class="three_by_two" alt="free ebook" />
<?php else : ?>
<?php

// INSTRUCTIONS:
// The images used in your image rotator are located in the /headers/ directory of your Thesis Theme.
// For best results, you should upload images that have common aspect ratios, such as:
// 4:3 — no additional class required (although you can use class="four_by_three" if you like)
// 3:2 — apply class="three_by_two" to the appropriate image declaration below
// 16:9 — apply class="sixteen_by_nine" to the appropriate image declarataion below

// Finally, be sure to add an alt tag to all of your images to ensure proper validation!

$random_image rand(1,5); // the second number should equal the total number of images that you want to rotate

switch ($random_image) {
    case 
1:
?>
                <img src="<?php bloginfo('template_url'); ?>/headers/header-1.jpg" class="three_by_two" alt="seaside" />
<?php
    
break;
    case 
2
?>
                <img src="<?php bloginfo('template_url'); ?>/headers/header-2.jpg" class="sixteen_by_nine" alt="ladies running on a picturesque beach" />
<?php
    
break;
    case 
3
?>
                <img src="<?php bloginfo('template_url'); ?>/headers/header-3.jpg" class="three_by_two" alt="space station" />
<?php
    
break;
    case 
4
?>
                <img src="<?php bloginfo('template_url'); ?>/headers/header-1.jpg" class="three_by_two" alt="seaside" />
<?php
    
break;
    case 
5
?>
                <img src="<?php bloginfo('template_url'); ?>/headers/header-3.jpg" class="three_by_two" alt="space station" />
<?php
    
break;

?>
<?php 
endif ?>
Great, that gives me a couple of options. I appreciate all the help.
Bob
Reply With Quote
  #24 (permalink)  
Old 05-02-2008, 04:14 AM
Senior Member
 
Join Date: Apr 2008
Posts: 172
Default

Quote:
Originally Posted by bitterrootbob View Post
I am truly new at all of this. Where did you put the <?php suckerfish(); ?> code in Thesis? I am going to need drop down menus due to several pages.

Thanks
Sorry for the delayed response...

I put <?php suckerfish(); ?> in the "nav_menu_items.php" file. IMPORTANT: You have to "enable" that file in the Thesis config.php file by setting the "$thesis_use_paged_nav" variable to FALSE.
__________________
Jay Thompson

Thesis Sites:
Phoenix Real Estate Guy
Phoenix Real Estate Search

Last edited by phoenixreguy : 05-02-2008 at 07:28 AM.
Reply With Quote
  #25 (permalink)  
Old 05-02-2008, 04:19 AM
Senior Member
 
Join Date: Apr 2008
Posts: 172
Default

Quote:
Originally Posted by boyohazard View Post
Edit: Missed the Phoenix Real Estate site! Very clever use of suckerfish and googlemaps to provide your service, nice one mate

- Marc
Thanks Marc!

Jay T.
Reply With Quote
  #26 (permalink)  
Old 05-03-2008, 04:34 AM
Junior Member
 
Join Date: May 2008
Posts: 1
Thumbs up love the thesis

There are some great customizations here. I'm the behind the scenes guy for my wife's home business. I just overhauled her blog -- which focuses on topics of interest for families with young children -- from a free (and nothing special) theme on out-dated Wordpress 2.0.2 (thanks, Yahoo...) to WordPress 2.5.1 and the Thesis theme.

She normally steers clear of the tech side of things, but she immediately noticed the huge improvement in readability and just plain attractiveness of the new look. Well worth the price -- and I just snuck in at the end of the introductory period.

I'm looking forward to adding personalizations and transitioning the other half of our website into the Thesis framework.

Thanks,
Peter

Active Family Services Blog
Reply With Quote
  #27 (permalink)  
Old 05-03-2008, 12:56 PM
 
Join Date: May 2008
Posts: 3
Default

I miss the pre-launched price of $67 but I have bought thesis theme at $87. I think it is ok because thesis looks simple and professional.

I have used thesis theme for my Blogging Secret Blog.
Reply With Quote
  #28 (permalink)  
Old 05-03-2008, 11:22 PM
Member
 
Join Date: Apr 2008
Posts: 40
Default

inhairstudio, you've done a great job of customization!
Reply With Quote
  #29 (permalink)  
Old 05-03-2008, 11:31 PM
 
Join Date: Apr 2008
Location: Bangladesh
Posts: 26
Send a message via MSN to ehab
Default

Watup sleepies

I am Ehab from Bangladesh. Thesis is Love. Chris's themes are wonderful. Been a fan, would be a fan. Uber-cool man !

Looking forward to spend some time around here and help out if ya' all need some
Reply With Quote
  #30 (permalink)  
Old 05-06-2008, 03:49 AM
Junior Member
 
Join Date: Apr 2008
Posts: 14
Default Hi

My name is Keishon and I love to read and my blog is about the books I read. I read all over the map from romance to mystery to graphic novels. I am hooked on manga and spend way too much money on those.

Keishon
avidbookreader.com
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 05:10 PM.


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