How to remove type attributes?
-
In theme functions.php i have tried the codes from here: https://wordpress.org/support/topic/how-to-remove-type-attributes/ and none of them work.
I also tried this one and still no effect.
add_action( 'after_setup_theme', function() { add_theme_support( 'html5', [ 'script', 'style' ] ); } );
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘How to remove type attributes?’ is closed to new replies.