-
Hi there, I'm looking around, but can't find a simple way to replace the static hero image by a simple and smooth slideshow. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Is this going to be a different slide show on every post or just a slideshow on your main blog page? |
Beta Was this translation helpful? Give feedback.
-
Hi, for now, my goal is to get a different slideshow on each page and post. That's why I was thinking to replace the hero image, which is different on each page and post. |
Beta Was this translation helpful? Give feedback.
-
I do have a hack for you. It is not pretty, but it is workable. It allows you to:
If you are interested - I will write up an explanation. This is only tested with the Simple 3 theme. Of course all that said - this would be a much better create a child theme and modify the theme files to support a slider natively. I am not planning to explain that process though. Here is a highly compressed image of the slider in action. |
Beta Was this translation helpful? Give feedback.
-
Hey ! Sounds good ! I'm doing my website using Simple template ;) I can't wait to read your explanation which will probably be a good tutorial for many others! |
Beta Was this translation helpful? Give feedback.
OK - this is a hack! There is no question about it. The right way to do this is to create a Theme Override and make a second post template that embeds the slider and removes the featured image. That said - you can do it without touching the theme files.
Step - 0: Back up your site!
Note this hack requires the theme Simple 3.x
The replacement rule is:
<div ID='slider01' class='slider'></div>