Viewing 1 replies (of 1 total)
  • Plugin Author WraithKenny

    (@wraithkenny)

    Hoops just inserts raw html where the shortcode is.

    If you’d like a javascript call in the middle of a post, in a Hoop, you’d define an HTML element with javascript in it,

    <script>
    function myCoolFunction() {
    console.log('hi');
    }
    // Call the function
    myCoolFunction();
    </script>

    Then you’d put the hoop shortcode in your post where you want it.

Viewing 1 replies (of 1 total)
  • The topic ‘Understanding Hoops’ is closed to new replies.