• Home
    • Privacy Policy
    • Contact
  • How to
  • Tips
  • Android
  • WordPress
  • Blogger Tips & Tricks
  • Google
  • Facebook
  • Genesis Tutorials

A New Tab

How To: Remove ShareThis from Frontpage (Thesis Only)



Now my blog is with the wordpress killer theme Thesis. While customizing I could able to find almost all the tutorials expect this. With the experiance I gained I thought of sitting and writing this small code which helps me in organizing ShareThis icons after my post.

What exactly is the problem? I use ShareThis which helps the visitor to easily share my content. Many bloggers are directly use facebook share, tweetmeme icons instead of ShareThis Plugin. My case is different I like this ShareThis plugin and I want to enable it after my post(s). When I am enabling it in Thesis, it is showing on the front page even that I didn’t like.

For what this code is for?  To enable ShareThis after post and to remove the icons being displayed on FrontPage or HomePage.

  1. Take a backup of custom-functions.php
  2. First install ShareThis plugin to your blog
  3. Login to your Dashboard -> Thesis -> Custom File Editor
  4. Open Custom-functions.php

Add the below code

function show_sharethis() {
if( is_single() ){
echo “<div id=\”series-of-social-buttons\”>”;
sharethis_button();
echo “</div>”;
echo “<div style=\”clear:both;\”></div>”;
}}
add_filter(‘thesis_hook_after_post’, ‘show_sharethis’);

Save !! This blog is live example of above code.



You might also like

  1. How to Copy Thesis theme SEO values to All in One SEO Pack
  2. How to disable right click in wordpress without any plugin
  3. Procedure how DIY Themes refunds your money for Thesis WordPress Theme
  4. Remove or Edit Post Meta Function in Genesis
  5. Genesis vs Thesis Framework, Why I moved to Genesis
  6. Remove Post Info from Genesis Theme-Genesis Tips
  7. How to add logo and banner in twentyten wordpress theme header
Filed Under: Thesis

Comments

  1. Nokia N8 Games says:
    26/02/2012 at 8:03 pm

    Thanks. It helps a lot.

    Reply
    • aswin says:
      27/02/2012 at 7:42 pm

      Glad it worked for you

      Reply

Speak Your Mind Cancel reply

*

*

Recent Articles

  • FaceBook introduced Graph Search Friends, Photos : What is it ?
  • How to terminate the account in WHM cPanel
  • How to create a new account in WHM cPanel
  • Unlock Pattern Lock Android tablet-Phone
  • Find Android Version and Update your Samsung Galaxy Tab Automatically
  • Find IMEI Number of your Samsung Galaxy Tab
  • Clean and Speed up chrome with one click

Return to top of page

Copyright © 2013 · Genesis Sample Theme on Genesis Framework · WordPress · Log in