WordPress 5.3 introduces a considerably simpler way to achieve this. First, grab the template via an element ID. var element = document.getElementById('sample_id'); element.style.width = null; element.style.height = null; This element does not need the type attribute anymore, so it should be omitted.. For example, this style defines that

elements should be in red color. add_action ( 'init', 'tutsplus_register_post_type' ); In the code above, we're registering a function with the init hook that exists in WordPress. Viewing 6 posts - 1 through 6 (of 6 total) The Plugin Removes the below warnings from the website. The internal or embedded CSS is used within the head section of the HTML document. Type Attribute Warnings Removal – Extension WordPress javascript - Remove type attribute from script added by … Approach: The jQuery remove() and empty() methods are used to remove the CSS style of