WordPress Developer Ukraine, Kyiv
Remove the type Attribute from Script and Style Tags in WordPress

Remove the type Attribute from Script and Style Tags in WordPress

Warning: The type attribute is unnecessary for JavaScript resources If you check any WordPress site with the W3C validator, you will see a lot of warnings about the type attribute: the validator recommends removing from script tags and from style tags. In HTML5 these are the defaults, so the attribute is not needed.
How to Translate a WordPress Theme or Plugin

How to Translate a WordPress Theme or Plugin

How to translate a WordPress theme or plugin WordPress has a built-in localisation system based on GNU gettext. The workflow: wrap translatable strings in translation functions, generate a .pot template, create a .po file for each language, compile it to a binary .mo file, and load the text domain in your theme or plugin.