Hello! are you looking for fix Tags: is either empty or missing in style.css header? Then you are in the right place! So let’s get started!
When I was testing my WordPress theme with Theme Check plugin it showing a recommended massage:
RECOMMENDED: Tags: is either empty or missing in style.css header.
First of all, I think this problem comes from my style.css. So I replaced my style.css with style.css from Twenty Twenty Theme, but I still get the error.
Finally figured out the problem: My theme CSS had the same name, style.css file. If the theme has more than one style.css file then this issue comes. So, rename or delete others style.css from your theme and keep only the style.css file in your theme root directory.
That’s it!
If you have any query then please let me know in the comments section. If you think this post saved your time, please subscribe to our newsletter for regular updates.
Happy coding
Thank you in advance!
Leave a Reply