Hi there,
If you’re using a template include to display Meta Slider (rather than a shortcode in the content) then you’ll need to create a version of that template file in the child theme:
https://codex.wordpress.org/Child_Themes
Any files that have a copy in the child theme will override the parent theme and will therefore not be overwritten when the parent theme updates.
Thanks,
Dave
Hi Dave,
Thanks for your reply but i didn’t understand anything, its bit technical I guess.
Can you tell me the each steps so that I can follow and set up the slider?
I am not the technical guy so…. I really didnt understand few technical things….
Thanks & Regards
Jitesh Siddhu
Hi Jitesh,
Sure, could you tell me a bit more about how you’re adding the current slider?
If you’re adding the slider via the content area then it shouldn’t be affected by the theme updating?
Thanks,
Dave
Hey Deva,
Thanks for coming bk.
Actually, one of my friend has configured the slider on my website last time. However once I have tried to installed it. I had just copy the code which was generated from the meta slider and pasted on home page but it unfortunately was appearing to all the pages of my website.
So, I asked my developer friend to fix this issue but he is bit busy or something so he couldn’t help me in this. So came here to fix this issue from my self, Its good to learn new things. 🙂
As I am not technical guy, so I am looking for help who can guild me from the starting to end… I have learned many things from this forum and trust me I became the best student for them 😉
Plz help me to overcome this problem. I will follow each and every steps carefully and will not bother you much 🙂
Thanks & Regards
jitesh Siddhu
” I had just copy the code which was generated from the meta slider and pasted on home page but it unfortunately was appearing to all the pages of my website.”
Please revert back to this stage (without your friends customizations), then update your shortcode to make it only display on the homepage. To do that, change your shortcode from:
[metaslider id=123]
to:
[metaslider id=123 restrict_to=home]
That will get it to only display on the home page without needing to use child themes or edit any files.
-
This reply was modified 7 years, 4 months ago by matchalabs.
Hi,
I am using storefront theme and made static home page.
I have pasted the code on my homepage but nothing is happening 🙁 maybe its static page I guess.
looking forward to hearing from you.
Thanks & Regards
jitesh Siddhu
Hi jitesh,
If you are using a static page for your homepage then you just need to copy the shortcode (from the Meta Slider page) and paste it into the page content of the page that is set to be your homepage.
Please double check the shortcode is correct and is placed within the page content of the homepage. If you are still stuck please post a link to your site so we can take a look.
Regards,
Tom
Hi Tom,
Thanks for your help. I will check and revert you back.