This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Vantage Premium: Default Slider as fallback option

9 years ago · Last reply by Alex S 9 years ago

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?

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 9 years, 2 months ago

    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.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread