How do I make the contact.php page use the contact.css file using the wp_enqueue_style function in Wordpress?
function terradecultivo_scripts() {
if (contato.php) {
wp_enqueue_style('terra-style', get_stylesheet_uri() . '/contato.css' );
}
}
add_action( 'wp_enqueue_style', 'terra-style' );
This code I put in function.php