include a webcore form inside a Wordpress post

I needed something easy and fast for one page and I installed the Snippet plugin.
The code was very easy:

add_action( 'wp_footer', function () { 
global $post;
if ($post->ID ==1177) {?>
<script type="text/javascript">
    rtl.run();
  </script><?php 
	} 
});