How to remove WordPress version number from header, css files and feeds

Here’s how to remove WordPress version number from HTML header and feeds.

Include this at the end of your themes ‘function.php’ files, which you can edit in “Appearance->Editor” section in WordPress Admin.

function my_remove_version_info() {
     return '';
}
add_filter('the_generator', 'my_remove_version_info');

You can also remove WordPress version number from the included css and javascript. To do that, include this snippet at the end of your themes ‘function.php’ files

function remove_cssjs_ver( $src ) {
    if( strpos( $src, '?ver=' ) )
        $src = remove_query_arg( 'ver', $src );
    return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );

This might improve security a little bit, and with additional hardening measures, make it harder for people to guess your WordPress version. Additionally, this may also helps in optimizing WordPress web delivery when using Pagespeed extension.

Source: http://www.wpbeginner.com/wp-tutorials/the-right-way-to-remove-wordpress-version-number/

Connecting blog with IFTTT !

I’ve managed to connect this blog with IFTTT! However due to certain security restriction that I’ve enforced on this blog to curb spammers and unauthorized access (aka crackers), I’ve decided against connecting my blog directly through XMLRPC endpoint. So I’ve use RSS/ATOM feeds instead.

IFTTT is a wonderful service which allows you to connect various services to perform automated task on another web service. Very convenient for busy people!

ifttt

*IFTTT stands for “If this, then that” which is a programming metaphor in basic automatic decision making or branching.

Awesome Web apps integration with Mozilla Prism (Google, Facebook)

Being a relatively newcomer with Desktop + Web apps application, I tried to experiment with Mozilla Prism in a newly installed Ubuntu Hardy on my sister’s laptop.

At first glance, Mozilla Prism really hits the spot. as it allows seamless integration of various web application within your computer. Prism made it easier for me to access various web application from my desktop with relative ease, as if they were local applications.

Screenshots of Prism in action

Google Reader

Google Prism

Google Docs

Google Docs in Prism

Google Facebook

Google Docs in Prism

Prism enhances web experience greatly by integrating web application into desktop environment.

How to Install Prism
From desktop, go to System->Administration->Synaptic Package Manager, and search prism. Install “prism” package together with its associated web application (called “bundles”)

Installing Mozilla Prism

Facebook and Google Groups Integrated inside Applications Menu

Installing Mozilla Prism