I’d have to agree with the trend on this....most go to a funeral home, and hire the ‘right’ guy to speak. Lot of hostility in the south over various ministers who use a funeral to hustle up their church business and talk for an hour over Bible scripture. I knew a guy from local area where I grew up...who had a daughter to pass away (she was mid-thirties), and her Dad told the minister to keep short (no more than twenty minutes) and focused on the daughter. Around the 5th minute, the minister started to wander off and do Bible-quotes, so by the tenth minute...Dad stood up and announced the end of the funeral and led the folks on out to the cemetery.
Attended a funeral once where the preacher did a 10 minute rant on the need to tithe. Although he did have the decency not to pass the plate at the funeral itself.
There’s a time and place for everything. A funeral, where it is probable people of all backgrounds and religions are present, is not the place for a doctrinal sermon. Giving one strikes me as exhibitionistic.