How to Automatically Add Featured Image?

Hi there!

It’s me again :smiley: with another question…

I am now working on my site:

I have quite a number of categories with a number of posts on each of them.

My question is as I mentioned on the title:

How to automatically add a featured image on every posts on a category?

Let say I have four categories which I want to have 4 different featured images that are automatically added to the posts published on them.

In my simple understanding, I should create a file





Then, what should I write inside that files?

Thanks :slight_smile: