Okay
  Public Ticket #1418370
Button to shortcode
Closed

Comments

  • Jerry S started the conversation

    Hello - I have a button on my home page Layerslider. I would like to link it to a shortcode to open a popup window and show a YouTube video. I can only find a link to URL option, but I want to stay on the home page and show the video in a popup or lightbox. Can you give me some direction here? I did see where you had answered a similar question and I tried the coding you provided, but it just took me to the video on YouTube. Thanks!

  • [deleted] replied

    Hello Jerry S,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    To achieve this you will need to use a lightbox solution. Please refer to the following part of the documentation for more information: https://support.kreaturamedia.com/docs/layersliderwp/documentation.html#integration-guides

    Alternatively, you could also create a popup slider that contains the video, and trigger that from the original slider with a layer. To set this up you will need to enter the following line to the Open By Click field of the popup slider: #example , and then set an ID in the Link & Attributes tab, for the button (layer) in the other slider with the same name: example 
    Please also make sure that the sliders that you want to use (the popups as well) are added to the page. You can also use the Slider Settings -> Popup -> Target Pages section for this purpose.