WordPress – Remove ver from CSS and JS file

Problem: You are unable to see the changes you are doing to your CSS and JS files on your WordPress website. You notice a strange ‘?ver=’ suffixed to your CSS and JS files.

Solution:  Use the following code snippet and put it at the end in your functions.php file.

An easy way to add code to your functions.php without editing it manually is using Code Snippets

Like Love Haha Wow Sad Angry

You Might Also Like

No Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.