Forums
-
- Forum
- Posts
-
- Installation
- 28,536
- Troubleshooting
- 62,801
- Themes
- 10,444
- Plugins
- 15,389
- Requests & Feedback
- 14,986
- Showcase
- 3,258
-
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.