You don't add gravity_form_enqueue_scripts in your page template, you would put it in your themes functions.php file.
You also wouldn't place the shortcode in your functions.php the way you have. That isn't going to work, you can't output a shortcode in your functions.php because it's only for behind the scenes code execution and the shortcode can't echo information in that file.
The gravity_form_enqueue_scripts function call needs to go in your themes functions.php file.
You then need to enclose it in an if statement so it's only output on whatever page you need to use it on.
Posted 13 years ago on Wednesday May 25, 2011 |
Permalink