Okay
  Public Ticket #1493437
shortcodes for popup
Closed

Comments

  • Nelson started the conversation

    I want to create a popup with layer slider with content from a shortcode. How can I do that? I found discussions in your forum about using the "Magic wand," but I don't see any documentation about that. What can I do?

    Thank you

  • [deleted] replied

    Hello Nelson,

    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.

    I'm not exactly sure what "Magic wand" are you referring to exactly. LayerSlider does not have such option/feature to my knowledge.

    In any case, if you want to trigger the popup with a button (layer) from another slider, you will need to enter the following line to the Open By Click field of the popup: #example
    And then set an ID in the Link & Attributes tab, for the button (layer) in the other slider, with the same name: example

    And if you want to start a popup slider with a button outside of a slider from your site, you will need to apply an ID (id="example") or class (class="example") on that button and enter the same selector for ID (#example) or class (.example) to the Open By Click field in the Slider Settings.

    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.

    And to insert a shortcode, you just simply need to copy it to an HTML layer, and the corresponding content will be displayed on the front-end.