Thesis Coupon Feedback

This one is from a recent visitor:

Oscar’s thesiscoupon.net is the real deal! He responded to me within
12 hours of emailing my coupon claim. And, he made the Paypal payment
within 24 hours. It’s been less than a day, but I already have my
Thesis template set up. If you plan on using WordPress, you have no
choice but to use Thesis. And if you buy Thesis, you might as well get
it here and get yourself a discount!

Thank you

Posted in Uncategorized | Leave a comment

How to Change Your Thesis Logo

Changing your thesis logo is very simple, and I’ll show you how in the following video:

You can watch it on youtube if you want

I included below the code I used on the video for a quick reference:

function custom_logo() {
?>

}

add_action(‘thesis_hook_header’, ‘custom_logo’);

Just remember to un-chech show site name in header and show site tagline in header from the display options.

Posted in Uncategorized | Leave a comment

How to Customize your Thesis Byline

It’s very easy to customize your byline if you are using the thesis theme for wordpress. In case you didn’t know, the byline area is the one that says something like Posted by Author on DATE, just before your post title.

In this tutorial I’m going to show you how to create a custom byline that differs if it’s displayed on the front page or not. In particular I want to show the date only on the homepage, and not on the single article page.

It’s very simple to do this.

First, you need to remove the Show published-on date in post byline and Show author name in page byline options under byline options in your thesis configuration options area.

Second, you need to add a custom action on your custom_functions.php file. You can edit this file from the custom file editor inside wordpress if you want, but be sure you have FTP access before doing this, just in case you do something wrong. The following is the code you should put on your custom_functions file:

function add_to_byline() {
  if (is_front_page()) {
    echo ' on <abbr title="' . get_the_time('Y-m-d') . '">' . get_the_time(get_option('date_format')) . '</abbr>';
  }
}
add_action('thesis_hook_byline_item', 'add_to_byline', '99');

And Voila! You are now displaying the date only in the front page.

Posted in Uncategorized | Leave a comment

How to Create Social Marking Icons with Thesis

I got asked this question and I thought it would be useful if I created an article for everyone.

Disclaimer: I got this code working thanks to some articles I read on the internet, which I can’t remember the name.

In this article, I’ll explain how to create those beautiful social bookmarking icons for your thesis theme. You can see a screenshot of what I mean below, or a real example on my blog freestlye mind.

How to add social bookmarking icons to Thesis

It turns out that it’s really simple to create a box like that, all you have to do is choose your icons (I used icon finder), and add some code.

For this example to work, I assume you already have your icon set. The first thing you want to do, is to add the following code to your custom_functions.php file:

function get_tiny_url($url) {

 if (function_exists('curl_init')) {
   $url = 'http://tinyurl.com/api-create.php?url=' . $url;

   $ch = curl_init();
   curl_setopt($ch, CURLOPT_HEADER, 0);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
   curl_setopt($ch, CURLOPT_URL, $url);
   $tinyurl = curl_exec($ch);
   curl_close($ch);

   return $tinyurl;
 }

 else {
   # cURL disabled on server; Can't shorten URL
   # Return long URL instead.
   return $url;
 }

}

function share_post () {
if (is_single()) {
?>
<div class="box">
<div class="share">
<h3>Share with your friends!</h3>
</div>
<div class="social_icons">
<p>

  <a href="http://twitter.com/home/?status=RT @username <?php the_title(); ?> : <?php echo get_tiny_url(get_permalink($post->ID)); ?>" title="Tweet this!">
    <img src="<?php bloginfo('template_directory'); ?>/custom/images/twitter.png" alt="Tweet this!" />
  </a>

  <a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&amp;amp;title=<?php the_title(); ?>" title="StumbleUpon.">
   <img src="<?php bloginfo('template_directory'); ?>/custom/images/stumbleupon.png" alt="StumbleUpon" />
  </a>

  <a href="http://www.reddit.com/submit?url=<?php the_permalink(); ?>&amp;amp;title=<?php the_title(); ?>" title="Vote on Reddit.">
   <img src="<?php bloginfo('template_directory'); ?>/custom/images/reddit.png" alt="Reddit" />
  </a>

  <a href="http://digg.com/submit?phase=2&amp;amp;url=<?php the_permalink(); ?>&amp;amp;title=<?php the_title(); ?>" title="Digg this!">
   <img src="<?php bloginfo('template_directory'); ?>/custom/images/digg.png" alt="Digg This!" />
  </a>

  <a href="http://del.icio.us/post?url=<?php the_permalink(); ?>&amp;amp;title=<?php the_title(); ?>" title="Bookmark on Delicious.">
   <img src="<?php bloginfo('template_directory'); ?>/custom/images/delicious.png" alt="Bookmark on Delicious" />
  </a>

  <a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&amp;amp;t=<?php the_title(); ?>" title="Share on Facebook.">
   <img src="<?php bloginfo('template_directory'); ?>/custom/images/facebook.png" alt="Share on Facebook" id="sharethis-last" />
  </a>

</p>
</div>
<div style="clear:both;"></div>
</div>
<?php
   }
}
add_action('thesis_hook_after_post_box', 'share_post');

This code assumes that you put your images under the custom/images folder of your thesis installation. I have highlighted two sections you can (and should) change.

Now for the css:

.box { margin: 2.1em 2.1em 2.1em 0; padding: 1.2em; background: #EDEDED; border: 1px solid #DFDFDF;}
.box h3 { margin-top: 0; font-size: 1.4em; }
.box p { margin-bottom: 0; }
.box .share {float:left; width:38%;}
.box .social_icons {float:right; width:58%; }
.box .social_icons a, .box .social_icons a:hover {border:none;}
.box .social_icons img {filter:alpha(opacity=100); -moz-opacity: 1.0; opacity: 1.0;-khtml-opacity: 1.0; }
.box .social_icons img:hover {filter:alpha(opacity=50);-moz-opacity: 0.5; opacity: 0.5;-khtml-opacity: 0.5;}

Conclusion

Here you go, now your you should be able to see your social bookmarking icons. If you don’t have a thesis license already, you can get one here and enjoy a thesis coupon.

Posted in Uncategorized | Leave a comment

Welcome to Thesis Coupon

A big welcome to thesis coupon. We have created this website to offer the best thesis coupons available to you.

Our offer is simple:

You buy your license of thesis from our affiliate link.
You send us your order detail by using the claim your coupon page.
We send you $10 back when you buy the personal option, and $20 back when you buy the developer option.
What are you waiting for? Buy your copy of thesis today!

Posted in Uncategorized | Leave a comment