[Resolved] Change default image for posts without featured image in slider
Hi Rajeeb and All,
First of all, great theme, thanks for all your hard work!
I’m using Techism with a child theme over at my blog http://www.optimalhuman.co.uk. I’ve just started playing with the slider functionality which looks great.
I’ve managed to customise it by changing ‘styles.css’, but one thing I’ve not managed to do is to work out how to change the default image for posts that do not have a ‘featured image’ set.
I have a temporary workaround: I have created a new category called ‘Featured’ and applied this to all the posts that I want to show up in the slider, then set the slider settings to use this as the featured category.
However, I have posts that I want to show up in the slider, but they don’t have a featured image and they are unlikely to get one, so I’d really like to be able to change the default image, or just show a coloured background.
I can see that it would be easy enough to do by editing ‘content-slider.php’, but I don’t really want to edit the theme directly and would rather make the changes in my child theme.
Any ideas how I can go about this in ‘styles.css’ or ‘functions.php’?
Many thanks in advance,
- The topic ‘[Resolved] Change default image for posts without featured image in slider’ is closed to new replies.