Add specific class to featured posts

I hope that “featured” will be a custom field of posts.
In that case you can check the value of field using:

$desc = get_post_meta($post->ID, 'featured', true);

You can use if-else condition and check that if you get value=1 {or what you assigned for featured} then apply class”hot”.

Give it a try.

best of luck

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)