• Resolved Kizzycocoa

    (@kizzycocoa)


    I want to set up a shortcode + HTML hybrid, but the shortcode does not render. Is there anything I can do to allow the shortcode to render?

    The content of my HTML popup is:

    <div class="popupcontent">Would you like to receive the cheapest room rates and latest offers?<div id="OfferPart01"><a onclick="popupOffer()">Yes please!</a></div><div id="OfferPart02" style="display:none;">[ninja_form id=7]</div><script>
    function popupOffer() {
      document.getElementById("OfferPart01").style.display = "none";
      document.getElementById("OfferPart02").style.display = "block";
    }
    </script>
    </div>
    <style>
    #sgcolorbox.colorbox3 #sgcboxLoadedContent {
    background-color: #FFFBE0;
    }
    #sgcolorbox.colorbox3 #sgcboxLoadedContent .popupcontent {
    padding: 5% 5% 5% 40%;
    }
    </style>
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Shortcode within a HTML popup?’ is closed to new replies.