How to add version of style.css in WordPress

Posted by Prem Tiwari | Updated on

Version number is a parameter of wp_enqueue_style(). As per the Codex, here are all the parameters that wp_enqueue_style accepts.

So for example to load a stylesheet with a version number you’d do the following:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers