Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hello, I am looking for a solution to define a fallback slider if a page has no chance to define a slider with the common settings (Page Meta Slider), e.g. the 404 page or some WooCommerce Pages.
What file I have to edit and how to get a fallback Option if no slider ist selected in the page settings?
Hi Ivan,
The vantage_render_slider function in the functions.php file handles the generation and display of the slider. I would recommend making adjustments to the code so that instead of displaying nothing if $slider is empty, to display your own code. As always, be sure to make the changes via a child theme so that these changes are retained on update.
Unfortunately, I can’t directly assist with custom coding so you’ll need to make the adjustments yourself. Sorry mate. :(
By the way, as you’re a premium user, you’re entitled to priority email support. If you would like to make use of that, please follow the instructions found on your Dashboard. Please reference this thread and include your SiteOrigin order key in the email.