Forums
-
- Forum
- Posts
-
- Installation
- 28,526
- Troubleshooting
- 62,941
- Themes
- 10,453
- Plugins
- 15,405
- Requests & Feedback
- 15,044
- Showcase
- 3,250
-
For a start… <script> is for JavaScript code, not PHP
You could avoid using a separate template for that one call anyway and use the function directly instead, or put it in functions.php. You might have to register template files though, but I’m not sure.