Closed simonpmiles closed 9 years ago
This will be easy enough to do. There should already be some cases of it being used in the theme as an example. What we really need is a function called "monolith_post_thumbnail" which will check for a featured image and if it doesn't exist, load the fallback.
Make it so
Whilst working on DSA the fallback image is used in a few places (block-grid-item, snippets etc) just as a little time saver could we create a function that would call this in?
I guess you could define the path to the fallback image somewhere in a config file and then whenever you want to call it in you'd do for example <?= fallback_img_magic(); ?>
Make it so.