I am building my first wordpress theme and was hoping that when the user made a new category, there was a way of automatically generating a thumbnail for it from the first image uploaded as a post to this category (it is a portfolio theme).
Does anyone know how this might be coded?
It cannot rely on hard coding as the user does not know how to do this and I cannot do it for every category they make.
Any pointers for code or even plug-ins would be grerat.