Hello, All –
I have made very good use of GP’s excellent header element. I only wish my client would do the same! All too often they upload images which are too small or in portrait mode. This renders their use as background images completely inapropriate. Invariably I wil get the call to sort it out.
So, I would like to put in a feature which first checks an image to see if it’s suitable for use as a background in the header. If it’s either the wrong size or aspect ratio, the header is not shown. My client would then be obliged to insert the image into the body text.
I think I can work out how to test the image size/dimensions – but I don’t know how to turn on/off the header.
I’d be grateful for any help!
:0)
Antar
GeneratePress 2.2.2
GP Premium 1.7.8