How do i add a shortcode to Slider Revolution?

Hi - I would like to add a simple pop-up shortcode to slider revolution - I have the form shortcode, but I can not see how we can add?


Or do we have to add this to a webpage and direct people to the webpage?


Thanks

Comments

  • Hi,

    Please provide some more details.

    Does this shortcode for the popup come from some plugin?


    Best regards

  • Well I would like to use contact 7 form but it is quite limited in design and colour features - is there an option to create in BeTheme? If not I am looking at a simple Ninja form like [ninja_form id='1']

  • You can create a popup template with Contact Form 7 element inside it and style it with Theme options or Style tab within BeBuilder.

    https://support.muffingroup.com/video-tutorials/popup-builder-introduction/

    And to display this popup in the Slider Revolution, follow steps mentioned in this video tutorial:

    https://support.muffingroup.com/video-tutorials/open-popup-on-link-click/


    Best regards

  • Hi Phil

    I have tried but it doesnt seem to work for ninja forms shortcode - would the below be more suitable or better explanation?


    To create a button that opens your Ninja Form using a similar action to class="open-mfn-popup" and data-mfnpopup, you can use JavaScript to trigger the form's modal. Here’s an example approach:

    1. Add the button with a custom class or ID.
    2. Use JavaScript to trigger the Ninja Form when the button is clicked.

    Here’s the step-by-step solution:

    Step 1: Add your button

    You can add a button with a custom class or ID where you'd like it to appear. For example:

    html
    
    Copy
    
    Edit
    <button id="open-form-btn">Open Form</button>
    

    Step 2: JavaScript to trigger the form

    Use the following script to trigger the form when the button is clicked. This script will simulate opening a popup and trigger your Ninja Form by using ninja_form with the ID 2 (adjust as necessary).

    html
    
    Copy
    
    Edit
    <script type="text/javascript">
        document.getElementById("open-form-btn").addEventListener("click", function() {
            // Open Ninja Form with ID '2'
            var formPopup = document.querySelector('[data-mfnpopup="2"]'); // Make sure to use your correct form ID
            if (formPopup) {
                formPopup.click();  // Trigger the form's opening action
            }
        });
    </script>
    


    Is there a simpler option that we can take to trigger a simple for by clicking a button on slider revolution?


    Thanks you for all your support as always.

  • We're sorry, but we did not test this script/plugin with the theme. Our policy states that we do not support third-party plugins or custom code, so we cannot refer to that.

    Also, we cannot recommend any plugins other than the ones we support. You can find the list on this page:

    https://support.muffingroup.com/documentation/bundled-plugins/#compatibility


    Thanks

  • OK thanks but I cannot see how you can add it to a pop-up?


    "You can create a popup template with Contact Form 7 element inside it and style it with Theme options or Style tab within BeBuilder."

  • You must create a popup template (see the video tutorial I sent previously), add Contact Form 7 element into it (my last screenshot), and trigger this popup template to open on the link click (the last video tutorial I sent).


    Best regards

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.