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.
WordPress: Add Parent Term Slug to Child Term URL

WordPress: Add Parent Term Slug to Child Term URL

WordPress: add the parent term slug to child term URLs By default, terms of a custom hierarchical taxonomy do not include the parent slug in their URL. A child term “Lorem” under the parent “Test” gets the URL /topics/lorem/, not /topics/test/lorem/. Adding the parent slug gives cleaner, more descriptive URLs that reflect the hierarchy.