Necessary code for WordPress