• Due to caching issues I do want to load CF7 via jquery after page is loaded.

    That’s the way I coded it:

    <span id="subscribeform"></span>
    <script>
    jQuery(document).ready(function($){
     jQuery("#subscribeform").html('[contact-form-7 id="1" title="My Contact form"]');
    });
    </script>

    but it broke. Is there a smart way to do that?
    Thanks 🙂

    • This topic was modified 9 years, 5 months ago by artilibere.

The topic ‘Load CF7 via shortcode on page load’ is closed to new replies.