I've got a wordpress website and tried to insert the following code in my head element to display an individual meta description for a custom post type taxonomy called "all-cars" but in won't work:
<?php if( is_tax('all-cars') ) { ?>
<meta name="description" content="text text text" />
<?php } ?>
Could somebody give me some advice?