PSD to HTML PSD to HTML

22 Latest Exceptional WordPress Hacks

TalkSpot Free Website, Free Hosting, Create Website, Free Webpage
Google Buzz InstantShift - 22 Latest Exceptional WordPress Hacks

WordPress needs no introduction among designers and writers. It’s usually known as a synonym for blogging. Now days every other WordPress blogs look more or less similar, to stand uniquely out from the rest, you need to tweak it a little bit by using quality hacks.

As you all known that the new version v2.8 is arrived and most of you already updated your WordPress to v2.8. So, now there is a need of new working hacks which is compatible with latest version.

Of Course, WordPress Codex is always the best place to learn about WordPress and its tweaks. But unfortunately, it’s too much for a simple WordPress user. This the only reason we compiled this fairly comprehensive list of the Exceptional WordPress Hacks to unleash the power of your favorite blogging engine.


One of the greatest things about blogging is the immediate feedback a blogger can get from his or her readers. Still it’s often possible that your readers don’t give you a wink about their likes and dislikes. Unfortunately, there is no way for you to find out about visitors thinking towards your blog or its design. It’s always essential to play safe and give others what they like. Out of many solutions the inspirational one is only promising and optimistic way to achieve desired changes. This article focuses on organized collection of some of the Most Wanted WordPress Hacks which will definitely make your blogging life easier.

You may be interested in the following tips and tricks related articles as well.

Please feel free to join us and you are always welcome to share your thoughts even if you have more reference links related to other tips and tricks that our readers may like.

Don’t forget to Subscribe to our RSS-feed subscribe to our RSS-feed and Follow us on Twitter follow us on Twitter — for recent updates.

General WordPress Related Hacks

 

01. How to Speed Up Your Blog’s Loading Speed

instantShift - Exceptional WordPress Hacks

WordPress, by default, comes uncompressed and sends the uncompressed HTML to the visitor’s browser. With one line of code added to your header, you can compress WordPress’s output by up to 75%. By using zlib compression technology, you can harness the power of PHP and reduce your blog’s load time and increase the load speed!

First, place the following code in a file and call it “test.php” and then upload it to the root of your blog directory:

<?php phpinfo(); ?>

Make sure that “zlib” is enabled by your hosting provider.

Second, place the following code in your header (above the DOCTYPE):

<?php
  ini_set('zlib.output_compression', 'On');
  ini_set('zlib.output_compression_level', '1');
?>

You’re done! Check Port80Software.com to ensure you are compressing your output.

Source Link

 

02. Allow More Time For Slow Servers to Upgrade Wordpress

instantShift - Exceptional WordPress Hacks

WordPress auto download/install is a very nice feature, but sometimes a few problems can appear. One of them is that WordPress don’t manage to download the new version. This happens on slow servers. Here is how to solve it.

To apply this hack, you’ll have to edit one of WordPress core files. Keep in mind that it is never recommended. This hack should be applied only if you have problems while auto-upgrading WordPress.

Open the wp-admin/includes/files.php file and go to line 448. You’ll see the following:

$response = wp_remote_get($url, array('timeout' => 60));

To allow more downloading time, simply change the 60 with a greater value, as for example:

$response = wp_remote_get($url, array('timeout' => 120));

it’s all done!!

Source Link

 


Pages Related Hacks

 

03. How to Get All Custom Fields From a Page or a Post

instantShift - Exceptional WordPress Hacks

Sometimes you may need to get all custom fields from a specific post or page. Apply following function that do the job.

function all_my_customs($id = 0){
  //if we want to run this function on a page of our choosing them the next section is skipped.
  //if not it grabs the ID of the current page and uses it from now on.
  if ($id == 0) :
    global $wp_query;
    $content_array = $wp_query->get_queried_object();
    $id = $content_array->ID;
  endif;   

  //knocks the first 3 elements off the array as they are WP entries and i dont want them.
  $first_array = array_slice(get_post_custom_keys($id), 3);

  //first loop puts everything into an array, but its badly composed
  foreach ($first_array as $key => $value) :
    $second_array[$value] =  get_post_meta($id, $value, FALSE);

    //so the second loop puts the data into a associative array
    foreach($second_array as $second_key => $second_value) :
      $result[$second_key] = $second_value[0];
    endforeach;
  endforeach;

  //and returns the array.
  return $result;
}

Once done, you can use the function like this:

$result = all_my_customs();
echo $result['my_meta_key'];

Source Link

 

04. How to Show Parent Page Title Regardless of What Subpage You Are On

instantShift - Exceptional WordPress Hacks

This hack is useful for peoples who working with WordPress as a CMS and wanting to be easily able to display parent page title on a subpage.

Nothing hard at all: Just paste the following code where you’d like to display the parent page title:

<?php
if($post->post_parent) {
  $parent_title = get_the_title($post->post_parent);
  echo $parent_title;
} else {
  wp_title('');
}
?>

That’s all! Quick and easy!!

Source Link

 

05. Display Guest Author Name in The Front Page and Individual Posts

instantShift - Exceptional WordPress Hacks

The first thing we need to do is to set a wordpress if statement to get the custom filed value. This way it will only show up when the custom file value is assigned. Open up your “index.php” and “single.php” and paste the following code where you want the author name to show up. It could be after date or after comments. For example after this code:

<?php the_time(’M j, Y’) ?>
<?php if ( get_post_meta($post->ID, 'guest_author_name', true) ) { ?>
// check to see if custom field guest author name exists
<?php echo get_post_meta($post->ID, "guest_author_name", $single = true); ?>
<?php } ?>

Once we put the if statement we just call it on whichever post we want the guest author name to show up. The guest author name should show up on the front page and for specified post only.

Source Link

 


Post Related Hacks

 

06. How to Display Content in Multiple Columns

instantShift - Exceptional WordPress Hacks

Printed magazines often display text in columns, so why blogs shouldn’t be able to do the same? here you can find out how to easily and automatically display your post content in columns.

This code is powerful but definitely easy to implement. Just paste it on your functions.php file and it will automatically output your post content in columns.
Your post content will be splitted on <h2> tags.

function my_multi_col($content){
  $columns = explode('<h2>', $content);

  $i = 0;

    foreach ($columns as $column){
    if (($i % 2) == 0){
      $return .= '<div class="content_left">' . "\n";
      if ($i > 1){
        $return .= "<h2>";
      } else{
        $return .= '<div class="content_right">' . "\n <h2>";
      }
      $return .= $column;
      $return .= '</h2></div>';
      $i++;
    }

    if(isset($columns[1])){
      $content = wpautop($return);
    }else{
      $content = wpautop($content);
    }
  echo $content;
  }
}
add_filter('the_content', 'my_multi_col');
</h2>
</div>
</h2>

Don’t forget to add the following styles to your style.css file :

.content_right, .content_left{
  float:left;
  width:45%;
}

.content_left{
  padding-right:5%;
}

Source Link

 

07. How to Show WordPress Post Attachments

instantShift - Exceptional WordPress Hacks

Since WordPress 2.5, attachments management in WordPress have been improved and is now very powerful. Today, we’re going to show you a simple code snippet that you can use in your WordPress theme to display post attachments.

To achieve this recipe, just paste the following code anywhere in your post.php file and attachments will be displayed.

$args = array(
  'post_type' => 'attachment',
  'numberposts' => null,
  'post_status' => null,
  'post_parent' => $post->ID
);
$attachments = get_posts($args);
if ($attachments) {
  foreach ($attachments as $attachment) {
    echo apply_filters('the_title', $attachment->post_title);
    the_attachment_link($attachment->ID, false);
  }
}

Source Link

 

08. How to Set Post Expiration Date/Time on Your WordPress Blog

instantShift - Exceptional WordPress Hacks

Sometimes (for example, if you’re running a contest), you want to be able to publish a post and then automatically stop displaying it after a certain date. This may seem quite hard to do but in fact is not, using the power of custom fields.

Edit your theme and replace your current WordPress loop with this “hacked” loop:

<?php
if (have_posts()) :
  while (have_posts()) : the_post(); ?>
    $expirationtime = get_post_custom_values('expiration');
    if (is_array($expirationtime)) {
      $expirestring = implode($expirationtime);
    }

    $secondsbetween = strtotime($expirestring)-time();
    if ( $secondsbetween > 0 ) {
      // For example...
      the_title();
      the_excerpt();
    }
  endwhile;
endif;
?>

To create a post set to expire at a certain date and time, just create a custom field. Specify expiration as a key and your date and time as a value (with the format mm/dd/yyyy 00:00:00). The post will not show up after the time on that stamp.

Note that this code does not remove or unpublish your post, but just prevents it from being displayed in the loop.

Source Link

 

09. How to Style Posts Individually

instantShift - Exceptional WordPress Hacks

Your blog has a lot of posts, but the posts aren’t all of the same type. To give special styling to one or more of your posts, you can take advantage of both the post_class() function and the post ID.

To apply this trick, just open your single.php file, find the loop and replace it with the following:

<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
<?php the_content(); ?>
</div>
<?php endwhile; else: ?>
<?php _e('Sorry, no posts matched your criteria.'); ?>
<?php endif; ?>

The important part is mostly in line 3. Here, we have added the PHP post_class() function. Introduced in WordPress 2.8, this function adds CSS classes to the post. For example, it can add:

  • .hentry
  • .sticky
  • .category-tutorials
  • .tag-wordpress

With these CSS classes now added, you can now give a custom style to all posts that have the sticky tag or those that belong to the tutorials category.

The other important piece of this code is id=”post-< ?php the_ID(); ?>“. By displaying the ID of the post here, we’re able to style a particular post. As an example:

#post-876{
	background:#ccc;
}

Source Link

 

10. Display Content only to Registered Users in Your Wordpress Blog

instantShift - Exceptional WordPress Hacks

As you probably know, WordPress lets you decide whether to allow readers to create accounts and sign in to your blog. If you want to increase your blog’s registered readers or would just like to reward existing readers, why not keep some content private, just for them?

To achieve this hack, we’ll use a shortcode. The first step is to create it. Open your functions.php file and paste the following code:

function member_check_shortcode($atts, $content = null) {
  if (is_user_logged_in() && !is_null($content) && !is_feed()) {
    return $content;
  } else {
    return 'Sorry, this part is only available to our members. Click here to become a member!';
  }

add_shortcode('member', 'member_check_shortcode');

Once that’s done, you can add the following to your posts to create a section or text (or any other content) that will be displayed only to registered users:

[member]
This text will be displayed only to registered users.
[/member]

That’s it. Registered users will see the text contained in the shortcode, while unregistered users will see a message asking them to register.

Source Link

 


Comment Page Related Hacks

 

11. How to Disable Comments in Old Posts via PHP

instantShift - Exceptional WordPress Hacks

In many situations like when you’re giving some alert to your readers or warning, and you don’t want to hear any feedback. Or you simply don’t want to have any comments, pingbacks, or trackbacks for respective event. For such situation you really want to know how to disable comments, pingbacks, and trackbacks via PHP in your WordPress blog.

The first step is to create it. Open your functions.php file and paste the following code:

<?php
function close_comments( $posts ) {
  if ( !is_single() ) { return $posts; }
  if ( time() - strtotime( $posts[0]->post_date_gmt ) > ( 30 * 24 * 60 * 60 ) ) {
    $posts[0]->comment_status = 'closed';
    $posts[0]->ping_status    = 'closed';
  }
  return $posts;
}
add_filter( 'the_posts', 'close_comments' );
?>

You can run this script as a plugin, through your theme’s functions.php, or through a custom user-functions.php file. Simply set the desired number of days by changing the number “30” to whatever you would like. As is, this script will close comments, pingbacks and trackbacks on all articles posted more than 30 days ago.

Source Link

 

12. How to Display Registered Users Comment Count on Your Blog

instantShift - Exceptional WordPress Hacks

If your blog is private or have lots of registered users, it may be interesting to be able to display the number of comments posted by registered users. This is the purpose of this code.

Simply paste the following code where you’d like the count to be displayed. Re-arrange the code as desired.

<?php
global $wpdb;
$where = 'WHERE comment_approved = 1 AND user_id <> 0';
$comment_counts = (array) $wpdb->get_results("
    SELECT user_id, COUNT( * ) AS total
    FROM {$wpdb->comments}
    {$where}
    GROUP BY user_id
  ", object);
foreach ( $comment_counts as $count ) {
  $user = get_userdata($count->user_id);
  echo 'User ' . $user->display_name . ' comment count is ' . $count->total . '';
}
?>

That’s it! This will get approved comment count for each registered user.

Source Link

 

13. Separating Trackbacks From Comments in WordPress 2.7+

instantShift - Exceptional WordPress Hacks

Separating your trackbacks and comments requires a minimal amount of coding work to set up. First, you’ll want to make a backup of your comments.php file just in case something goes wrong. Next, follow these steps:

Access your comments.php file and locate the following code:

<?php foreach ($comments as $comment) : ?>

Immediately after the above code, you’ll want to place this code:

<?php $comment_type = get_comment_type(); ?>
<?php if($comment_type == 'comment') { ?>

Next, you’ll want to scroll down a little bit and locate the following code:

<?php endforeach; /* end for each comment */ ?>

Immediately before the above code, you’ll want to place this code:

<?php } /* End of is_comment statement */ ?>

This will filter out all of the trackbacks and pingbacks from your main comments loop. Now we need to create a second comments loop to display the trackbacks and pingbacks. Now, Almost immediately below the code from last step you should find this code:

<?php else : // this is displayed if there are no comments so far ?>

Immediately before the above code, you’ll want to place this code:

<h3>Trackbacks</h3>
<ol>
<?php foreach ($comments as $comment) : ?>
<?php $comment_type = get_comment_type(); ?>
<?php if($comment_type != 'comment') { ?>
<li><?php comment_author_link() ?></li>
<?php } ?>
<?php endforeach; ?>
</ol>

Once you’ve got the comments successfully separated from the trackbacks, there are a couple additional tweaks you may want to do to clean up how things look (it really depends on preference I suppose). The first is to clean up your trackbacks/pingbacks by only displaying the title instead of an excerpt and everything else. In order to do this, you’ll need to find the following code in your comments.php file:

<ol>
<?php wp_list_comments('type=pings'); ?>
</ol>

Now replace that code with the following:

<ol>
<?php wp_list_comments('type=pings&callback=list_pings'); ?>
</ol>

Lastly, you’ll need to add the following code to your functions.php file (which can be created if you don’t already have one):

<?php
function list_pings($comment, $args, $depth) {
  $GLOBALS['comment'] = $comment;
?>
<li id="comment-<?php comment_ID(); ?>"><?php comment_author_link(); ?>
<?php } ?>
</li>

That should clean up the trackbacks/pingbacks section and you can also apply the same changes if you use a plugin to display tweetbacks.

The other thing you may want to do is fix the comment count to only show actual comments, filtering out the trackbacks/pingbacks which are included in your comment count by default. Simply add the following code to your functions.php file (which again can be created if you don’t already have one):

<?php
add_filter('get_comments_number', 'comment_count', 0);
function comment_count( $count ) {
  if ( ! is_admin() ) {
    global $id;
    $comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id));
    return count($comments_by_type['comment']);
  } else {
    return $count;
  }
}
?>

So there you go. Now you have succesfully separated trackbacks from comments!

Source Link

 


Images Related Hacks

 

14. Automatically Resize Pictures on Your WordPress Blog

instantShift - Exceptional WordPress Hacks

You know it, a picture is worth a thousand words. But pictures means that you have to resize it, which is alwyas boring.
Happilly, a very cool script called TimThumb can resize pictures for you. The function below create a WordPress shortcode that will make Timthumb use even easier.

function imageresizer( $atts, $content = null ) {
  return '';
}

add_shortcode('img', 'imageresizer');

Then, you can use the following syntax to add an automatically resized image to your blog post:

[img]http://www.yoursite.com/yourimage.jpg[/img]

Source Link

 


Social Networking and Email Related Hacks

 

15. How to Create a Tweetmeme “Retweeet” Shortcode

instantShift - Exceptional WordPress Hacks

Twitter is one of the best way to get quality traffic to your blog. In order to help people sharing your articles on Twitter, you should definitely implement a Tweetmeme button, which display how many time time people RT’d your blog posts.

Just paste the function below into your functions.php file.

function tweetmeme(){
  return '&lt;div class=&quot;tweetmeme&quot;&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://tweetmeme.com/i/scripts/button.js&quot;&gt;&lt;/script&gt;&lt;/div&gt;';
}
add_shortcode('tweet', 'tweetmeme');

Once you saved the file, you’ll be able to display the Tweetmeme “retweet” button anywhere on your posts. In WordPress editor, make sure you are in HTML mode and insert the following:

[tweet]

When your post will be published, the shortcode will be replaced by the TweetMeme button.

Source Link

 

16. Send Article to a Friend by Email

instantShift - Exceptional WordPress Hacks

In order to create more traffic on your blog, it can be a good idea to let your readers send your posts to their friends by email.

To apply this recipe to your blog, simply paste the following function into your functions.php file, and that’s all. Hard to do something simpler!

function direct_email($text=&quot;Send by email&quot;){
  global $post;
  $title = htmlspecialchars($post-&gt;post_title);
  $subject = 'Sur '.htmlspecialchars(get_bloginfo('name')).' : '.$title;
  $body = 'I recommend this page : '.$title.'. You can read it on : '.get_permalink($post-&gt;ID);
  $link = '&lt;a rel=&quot;nofollow&quot; href=&quot;mailto:?subject='.rawurlencode($subject).'&amp;amp;body='.rawurlencode($body).'&quot; title=&quot;'.$text.' : '.$title.'&quot;&gt;'.$text.'&lt;/a&gt;';
  return $link;
}

Source Link

 


Author Related Hacks

 

17. Automatically Insert Author Bio on Each Post

instantShift - Exceptional WordPress Hacks

When you’re owning a multi-writers blog, it is important to show who wrote the post. In case of guest bloggers, it is also a nice way to give credit.

Simply insert the following lines of code into your functions.php file, and that’s all. Author bio will be automatically displayed after each post.

function get_author_bio ($content=''){
  global $post;

  $post_author_name=get_the_author_meta("display_name");
  $post_author_description=get_the_author_meta("description");
  $html="
\n"; $html.="PG\n"; $html.="
\n"; $html.="

Author: ".$post_author_name."

\n"; $html.= $post_author_description."\n"; $html.="
\n"; $html.="
\n"; $content .= $html; } return $content; } add_filter('the_content', 'get_author_bio');

Source Link

 


Feeds Related Hacks

 

18. How to Fetch and Display RSS Feeds

instantShift - Exceptional WordPress Hacks

Do you know that WordPress have a built-in RSS reader? And you can use this feed to utilize in many ways. Here we’ll tell how to import and display feeds in wordPress 2.8 and beyond.

Simply paste the following code where you want the feed to be displayed. Don’t forget to define feed url at line 4.

<?php if(function_exists('fetch_feed')) {

  include_once(ABSPATH.WPINC.'/feed.php');
  $feed = fetch_feed('http://feeds.feedburner.com/catswhoblog');

  $limit = $feed->get_item_quantity(7); // specify number of items
  $items = $feed->get_items(0, $limit); // create an array of items

}
if ($limit == 0) echo '<div>The feed is either empty or unavailable.</div>';
else foreach ($items as $item) : ?>

  <div>
    <a href="<?php echo $item->get_permalink(); ?>" title="<?php echo $item->get_date('j F Y @ g:i a'); ?>">
      <?php echo $item->get_title(); ?>
    </a>
  </div>
  <div>
    <?php echo substr($item->get_description(), 0, 200); ?>
    <span>[...]</span>
  </div>

<?php endforeach; ?>

Source Link

 


Category and Tags Related Hacks

 

19. How to Change Excerpt Length Depending of the Category

instantShift - Exceptional WordPress Hacks

Do you ever wished to be able to modify the excerpt length based on which category you are on, without modifying your theme files? If yes, we’re pretty sure you’ll be happy with this hack.

No need to modify your theme files. Simply paste the code into your functions.php file. Don’t forget to change the category ID on line 3!

add_filter('excerpt_length', 'my_excerpt_length');
function my_excerpt_length($length) {
  if(in_category(14)) {
    return 13;
  } else {
    return 60;
  }
}

Source Link

 

20. Create a Function to Get Tags Related to Category

instantShift - Exceptional WordPress Hacks

First, here is the function you have to paste in your functions.php file:

function get_category_tags($args) {
  global $wpdb;
  $tags = $wpdb->get_results
  ("
    SELECT DISTINCT terms2.term_id as tag_id, terms2.name as tag_name, null as tag_link
    FROM
      wp_posts as p1
      LEFT JOIN wp_term_relationships as r1 ON p1.ID = r1.object_ID
      LEFT JOIN wp_term_taxonomy as t1 ON r1.term_taxonomy_id = t1.term_taxonomy_id
      LEFT JOIN wp_terms as terms1 ON t1.term_id = terms1.term_id,
      wp_posts as p2
      LEFT JOIN wp_term_relationships as r2 ON p2.ID = r2.object_ID
      LEFT JOIN wp_term_taxonomy as t2 ON r2.term_taxonomy_id = t2.term_taxonomy_id
      LEFT JOIN wp_terms as terms2 ON t2.term_id = terms2.term_id
    WHERE
      t1.taxonomy = 'category' AND p1.post_status = 'publish' AND terms1.term_id IN (".$args['categories'].") AND
      t2.taxonomy = 'post_tag' AND p2.post_status = 'publish'
      AND p1.ID = p2.ID
    ORDER by tag_name
  ");
  $count = 0;
  foreach ($tags as $tag) {
    $tags[$count]->tag_link = get_tag_link($tag->tag_id);
    $count++;
  }
  return $tags;
}

Once you have pasted the function, you can use it in your theme:

$args = array('categories' => '12,13,14');
$tags = get_category_tags($args);

Source Link

 


Plugin Related Hacks

 

21. How to Create an Anti-IE6 Plugin

instantShift - Exceptional WordPress Hacks

With this amazing code created by Nathan Rice, you’ll be able to serve IE6 users the default WordPress theme. After all, those idiots don’t deserve anything better

Just paste the following in a new file and save it as ie6.php. Upload it to your wp-content/plugins directory and activate it on your WordPress dashboard.

<?php
/*
Plugin Name: Serve Default to IE6
Plugin URI: http://www.nathanrice.net/blog/serve-ie6-visitors-the-default-wordpress-theme
Description: This plugin will serve the default theme to any visitors using IE6.
Author: Nathan Rice
Author URI: http://www.nathanrice.net/
Version: 1.0
*/

add_filter('template', 'serve_default_to_iesix');
add_filter('option_template', 'serve_default_to_iesix');
add_filter('option_stylesheet', 'serve_default_to_iesix');
function serve_default_to_iesix($theme) {
  if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') !== false)
    $theme = 'default';
  return $theme;
}
?>

Source Link

 

22. How to Check if a Plugin is Active or Not

instantShift - Exceptional WordPress Hacks

When working with lots and lots of plugins, it can be useful for developers to be able to check if a particular WordPress plugin is active or not. If you want to check if a WordPress plugin is active, just use the is_plugin_active() function. The function takes a single parameter, which is the path to the plugin, as shown in below:

<?php
if (is_plugin_active('plugin-directory/plugin-file.php')) {
	//plugin is activated
}
?>

Source Link

 


Other Resources

Find Something Missing?

Please feel free to share any hack that you think would be a great addition in this collection and that has not been listed already.




Author : Anders Ross

I'm a co-founder of iShift as well as a freelance designer and a web addict in Frankfurt, Germany. I spend too much time in front of the computer and when I actually manage to get away for more than 10 minutes, I am usually reading books, traveling or shooting photos. Check the latest updates of iShift @instantShift or You can catch me on twitter @indusLogic

35 Articles posted by Anders Ross.
gravatar

If you enjoyed reading, consider sharing it on one of these social bookmarking sites.


RSS Enjoy this Post? Subscribe to InstantShift.

RSS Feed   RSS Feed     Email Feed  Email Feed



Leave a Comment Subscribe to RSS Feed Subscribe by Email
  1. Gravatar Rich - Web Promotion December 8, 2009

    Comment Arrow

    A great list of hacks

    Tags related to Category function has great potential for some seo work I am doing on one of my blogs.

    Keep it coming

    Rich


  2. Gravatar Karar A. December 8, 2009

    Comment Arrow

    Awesome !
    just what I was looking for.
    07. How to Show WordPress Post Attachments
    15. How to Create a Tweetmeme “Retweeet” Shortcode

    Thank you so much.


  3. Gravatar Azterik Media December 8, 2009

    Comment Arrow

    Great list! That Tweetmeme was exactly what I was looking for! Thanks for taking the time to put all this information together for us!


  4. Gravatar Taufik December 8, 2009

    Comment Arrow

    Read it. Amaze it. Bookmark it. Stumble it.

    Great tutorial for every WP user :)


  5. Gravatar Pål Heick December 8, 2009

    Comment Arrow

    Great post – many simple ‘must try now’ elements here :-)

    I think that hacks 8 and 9 could be used to make a nice feature of styling expired posts differently – alas my main competency lies in copy+paste – would a hack like I suggest be feasible?


  6. Gravatar Anthony Licari December 8, 2009

    Comment Arrow

    Great list, will definitely be able to deploy a couple of these.


  7. Gravatar Enk. December 9, 2009

    Comment Arrow

    Cool, Awesome Wordpress List. Many thanks ! :)


  8. Gravatar Murali Kumar December 9, 2009

    Comment Arrow

    Great list Anders. I liked that direct_email and showing post in columns function.
    Thanks :)


  9. Gravatar Eric Charpentier December 9, 2009

    Comment Arrow

    Excellent post!

    You might want to change number 1 to read:

    you can harness the power of PHP and increase your blog’s load speed!

    instead of

    you can harness the power of PHP and reduce your blog’s load speed!


  10. Gravatar Francesco Ciabatta December 9, 2009

    Comment Arrow

    really interesting! Thank you.


  11. Gravatar Ayaz Malik December 9, 2009

    Comment Arrow

    Very well done. just tried a couple and works liek a charm.


  12. Gravatar Hermitbiker December 9, 2009

    Comment Arrow

    Great tutorials of Wordpress “hacks” to help your blog stand out !!


  13. Gravatar Techadictos December 9, 2009

    Comment Arrow

    very nice! i love this 20. Create a Function to Get Tags Related to Category!

    thanks!


  14. Gravatar Dragon Blogger December 9, 2009

    Comment Arrow

    This is really great and detailed summary of top 20 hacks and tricks found on other sites. Several of these though can be performed automatically in Wordpress 2.8.4 without any hacks, and others can be performed with Wordpress plug-ins that are easier to implement in some cases than doing the code tweaks manually.

    Also, you might consider the CSS Wordpress plug-in which GZIP compresses your css files as the ZLIB trick only compresses html code, this combined with the ZLIB trick helps provide even better pageload performance.


  15. Gravatar Dkumar M December 9, 2009

    Comment Arrow

    @Eric Charpentier- thanks for pointing that out… things been updated now !!


  16. Gravatar Ben December 9, 2009

    Comment Arrow

    Really a great list of hacks! I already heard about some, but some where new.. Thanks for it! I really liked the “Author Bio” Hack, thats what I was looking for.


  17. Gravatar Lahiru December 9, 2009

    Comment Arrow

    Awesome list. Thanks!


  18. Gravatar Ravi Ahuja December 9, 2009

    Comment Arrow

    I love you guys great post.


  19. Gravatar John Hoff - WP Blog Host December 9, 2009

    Comment Arrow

    If zlib isn’t working for you, you can try gzip. It’s a little more common and a little easier to use. All you have to do is paste one line of code in your functions.php file and that’s it, no creating extra files or anything.

    I wrote about it here:
    1 Incredibly Wicked Trick To Speeding Up Your Blog’s Load Time


  20. Gravatar Pertti December 10, 2009

    Comment Arrow

    Why am I having problems with the special characters, such as %lt;? I can’t get it work unless I replace those with the characters they represent, such as <.


  21. Gravatar Matt B December 10, 2009

    Comment Arrow

    Fantastic! Already using one or two of them on my site! Great job! (Did I say it was fantastic?)


  22. Gravatar Jon Crim December 10, 2009

    Comment Arrow

    #1 works awesome, thanks a bunch!!


  23. Gravatar Jen | UPrinting December 10, 2009

    Comment Arrow

    Wonderful resource you’ve made here! That feeds hack was just what I needed.


  24. Gravatar Kael December 10, 2009

    Comment Arrow

    Really useful article. Thx a billion.

    Except for a few of typing mistakes. Some code slices should be html-decoded, that “>” shall be “>” in section 03, or something in section 10, 14-17


  25. Gravatar Yoshz December 10, 2009

    Comment Arrow

    nice post n very usefull tips.
    thanks


  26. Gravatar Werd December 10, 2009

    Comment Arrow

    “you’ll be able to serve IE6 users the default WordPress theme. After all, those idiots don’t deserve anything better”

    ahahahah classic, classic! :D


  27. Gravatar Patty Zasloff December 10, 2009

    Comment Arrow

    Awesome information – thanks so much! And, I DO follow you on Twitter already! ;)

    Have thought about maybe getting guest authors…


  28. Gravatar Shahriat Hossain December 10, 2009

    Comment Arrow

    Awesome! Excellent presentation and very helpful to use, Thanks.


  29. Gravatar December 10, 2009

    Comment Arrow

    Waouh! Excellent post !!!


  30. Gravatar ThisIsInspired December 10, 2009

    Comment Arrow

    Thx for the hacks! I’ve used a couple already. :)


  31. Gravatar website designers stoke December 11, 2009

    Comment Arrow

    Excellent selection of hacks. Very useful!


  32. Gravatar Enk. December 11, 2009

    Comment Arrow

    Please check if the code for tweetmeme you have is correct. The (<) ascii codes are confusing me. My WP crashes whenever I enter this code in my functions.php


  33. Gravatar SEO Honolulu December 11, 2009

    Comment Arrow

    Very nice work! I am about to build a new theme for my WP and this is going to come in very handy.


  34. Gravatar Hearing Aids December 11, 2009

    Comment Arrow

    Love the post.


  35. Gravatar Shaboss December 12, 2009

    Comment Arrow

    I’m going to bookmark this, because my retweet button is not working on shaboopie :(


  36. Gravatar linko December 13, 2009

    Comment Arrow

    Very cool listing!
    Thanks for sharing Anders, very useful


  37. Gravatar Sam Logan December 14, 2009

    Comment Arrow

    Wow, very informative article, definitely some hacks that will come in very, very handy (especially the parent page title hack). Thanks for the awesome post.


  38. Gravatar Kawsar Ali | Desizn Tech December 15, 2009

    Comment Arrow

    Thanks for including Desizn Tech’s post. Gotta love WP


  39. Gravatar 2host4u December 16, 2009

    Comment Arrow

    Great hacks.. few of them I never thought which could be possible and useful for me..
    I want to create a sort out table calling content from database.. how?

    Thanks


  40. Gravatar chris December 16, 2009

    Comment Arrow

    19. How to Change Excerpt Length Depending of the Category. Is it possible to apply it not just to a category?I would like to change the excerpt length of all of my post under all category.

    TY


  41. Gravatar LoneWolf December 17, 2009

    Comment Arrow

    Great set of hacks, but I have a question about the use of timthumb. Your code doesn’t seem to include any parameters to tell it what size or crop/zoom setting to use. Am I missing something there or are you allowing it to use default values?


  42. Gravatar Adam December 27, 2009

    Comment Arrow

    I tried the “01. How to Speed Up Your Blog’s Loading Speed”, but it didn’t work for me. I even tested it at Port80Software.com, and the report read that my site was not compressed. I wish I could code PHP, but is there possibly a problem with the code? Thanks!


  43. Gravatar johndaddy332 December 27, 2009

    Comment Arrow

    great job, Thanks


  44. Gravatar joyologo design 2.0 December 27, 2009

    Comment Arrow

    wonderful list, thanks a lot..


  45. Gravatar michelle December 31, 2009

    Comment Arrow

    great post, it must have taken you ages to put all of these together for us, thanks.


  46. Gravatar Arun Basil Lal February 17, 2010

    Comment Arrow

    Loved that hack to display text in columns, thats fresh and rare. Should try that once :)


  47. Comment Arrow

    WordPress Hacks are good but the only problem is that hacks must be reapplied whenever the site version is updated. Anyway thanks for sharing.



  Leave a Trackback
  1. Tweets that mention 22 Latest Exceptional WordPress Hacks | Tutorials | instantShift -- Topsy.com
  2. uberVU - social comments
  3. Les 22 derniers hacks Wordpress – Must-read !
  4. L’hebdo WordPress : WordPress 2.9, des hacks, des projets… | WordPress Francophone
  5. L’hebdo WordPress : WordPress 2.9, des hacks, des projets…
  6. 22 Latest Exceptional WordPress Hacks | Design Newz
  7. 22 Latest Exceptional WordPress Hacks | Tutorials | instantShift
  8. 22 Latest Exceptional WordPress Hacks | Tutorials | instantShift « Netcrema – creme de la social news via digg + delicious + stumpleupon + reddit
  9. 22 Latest Exceptional WordPress Hacks | Tutorials | instantShift : Popular Links : eConsultant
  10. Mes favoris du 8-12-09 au 10-12-09 » Gilles Toubiana
  11. 22 Latest Exceptional WordPress Hacks | Tutorials | instantShift » Web Design
  12. 22 Latest Exceptional WordPress Hacks | Tutorials | instantShift | Squico
  13. links for 2009-12-10 | Digital Rehab
  14. - leg med nye medier. Eller noget.
  15. Friday Fix Dec 7 - 11
  16. Small Business Trends » Blog Archive » Using Trends to Drive Traffic – Joomla Hack Vs. Wordpress Hack
  17. 4 Tips To Increase Your Blog Readership Fast! | Internet Marketing Strategies-Wholesale Electronics
  18. Viral Notebook | Michael M. Grant, Ph.D.
  19. Il meglio della settimana #42 | BigThink
  20. links for 2009-12-12 at So It’s Come To This:
  21. WordPress Hacks | webmaster.lk | English ::
  22. Notable Tech Posts – 2009.12.13 | The Life of Lew Ayotte
  23. 22 Latest Exceptional WordPress Hacks  | 8WRAP
  24. What is most important to your website? | BillVannot.com
  25. Friday Fix Dec 7 – 11 | Programming Blog
  26. Christmast Gift Idea » Blog Archive » Tibia Hacks Guide
  27. Sket på nettet den 17.12.09
  28. Top Articles On The Web Design Billboard In December’09 | Programming Blog
  29. Top Articles On The Web Design Billboard In December’09 | meshdairy
  30. 70+ Promising Resources and Tutorials Especially For Designers To Discover The Best Of The Web In December : BeginnerPC
  31. Wordpress Blog Services - 70+ Promising Resources and Tutorials Especially For Designers To Discover The Best Of The Web In December
  32. 70+ Promising Resources and Tutorials Especially For Designers To Discover The Best Of The Web In December – FreshTuts Tutorials, Resources, Web Trends, Code Snippets, Php scripts, Opensource, Ecommerce, Cms, Html, Xhtml scripts, Themes, Templates,
  33. FactorSim » Blog Archive » Wordpress como CMS
  34. OmniDownloads | 70+ Promising Resources and Tutorials Especially For Designers To Discover The Best Of The Web In December
  35. FreeDownloadSecrets.com » Blog Archive » 70+ Promising Resources and Tutorials Especially For Designers To Discover The Best Of The Web In December
  36. eagrapho » 70+ Promising Resources and Tutorials Especially For Designers To Discover The Best Of The Web In December
  37. CNET.ro» Blog Archive » Diverse resurse WordPress (III)
  38. links for 2010-01-12 | Evolutionary Designs
  39. IT业界资讯 » Blog Archive » Google Docs 和 Google Sites 不再支持 IE6
  40. Google Docs 和 Google Sites 不再支持 IE6 | 谷奥——探寻谷歌的奥秘
  41. links for 2010-03-15 « Cakeaholics Anonymous

  • Gravatar

    Your NameMarch 15, 2010

Arrow
Spam protection: Sum of 1 + 6 ?



If you face problem with captcha and it says the sum is incorrect. Make sure...

1. Browser is javascript enabled and accepting cookies.
2. Clear browser cache and try again.



http://www.instantshift.infohttp://www.instantshift.orghttp://www.instantshift.net