If you are an optimization freak or just want your site performance grade to be the highest as possible in tests sites like Pingdom you know one of the most common issues on a WordPress site is the Remove query strings from static resources issue.
Remove Query String Version programmatically
To keep total control, you can remove the version number using your functions.php file, just open your functions.php file and paste the following code:
Save it and you are done!
Remove Query String Version using a plugin
There are several plugins to allows you to remove the Query String Version without having to write any line of code but the one I use on my projects is Remove Query Strings From Static Resources.
Here are 2 ways to do this, choose the one that best suits you.