Disable digg digg on custom post types

Digg digg by buffer is a great plugin for adding social links to posts but it doesn’t play very nice with custom post types.

Here is a way to hide the social buttons:


function radium_exclude_digg_digg() {

if ( get_post_type() !== 'post' ) {
remove_filter( 'the_excerpt', 'dd_hook_wp_content' );
remove_filter( 'the_content', 'dd_hook_wp_content' );
}

}
add_action('template_redirect', 'radium_exclude_digg_digg');

This will hide the buttons on ALL custom post types. To hide them on a specific post type, say one called ‘portfolio’, use:


function radium_exclude_from_portfolio_digg_digg() {

if ( get_post_type() == 'portfolio' ) {
remove_filter( 'the_excerpt', 'dd_hook_wp_content' );
remove_filter( 'the_content', 'dd_hook_wp_content' );
}

}
add_action('template_redirect', 'radium_exclude_from_portfolio_digg_digg');

How to mirror a website using wget

GNU’s wget command line program for downloading is very popular, and not without reason. While you can use it simply to retrieve a single file from a server, it is much more powerful than that and offers many more features.

One of the more advanced features in wget is the mirror feature. Here is how to use it to backup an html website of just for offline viewing. Change www.example.com to your url.
Read More

9 simple ways you can speed up your WordPress load times

Having problems with your WordPress site speeds?

Are you not sure whether it is the internet speeds or your website? Then use Pingdom to test your speeds.

It is important to know because your site speeds affects your Google web search rankings and kills revenue stream since a study shows that people tend click away from the site if it takes time to load.

To avoid the above problems, implement the steps to improve your site speed;

Read More

We are live… finally.

We’re proud to finally announce RadiumThemes.com is live! This is going to be one of the best alternatives in the big market of WordPress themes and plugins. It has been a long and bumpy road, but now we have finally arrived, and would therefore like to thank all our user who have been using and testing our theme over the years for the great feedback they have given us.

The goal of RadiumThemes is to take the fight up with all the big players on the market. We believe themes should be affordable for everyone, that being from the small business to the innovative entrepreneur.

Welcome on board.