Validator W3c & functions.php
-
Hi there and thank you for this beautiful theme.
I apologize for my terrible english but I will try to be clear as possible.When I try to validate my website, the w3c validator give me two errors that can be easily fixed with few modifications in the file functions.php :
1/ Bad value template for attribue name on element meta.
addfunction remove_hybrid_meta_template() { remove_action( 'wp_head', 'hybrid_meta_template', 1 ); } add_action( 'init', 'remove_hybrid_meta_template' );2/ No space between attributes (related to the featured image)
line 375 replace
echo "<div class='featured-image' style=\"background-image: url('" . $image . "')\")></div>";by
echo "<div class='featured-image' style=\"background-image: url('" . $image . "')\"></div>";Is it possible to make these changes on the next theme update?
Thanks for the answer!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Validator W3c & functions.php’ is closed to new replies.
