Forums
-
- Forum
- Posts
-
- Installation
- 28,538
- Troubleshooting
- 62,831
- Themes
- 10,444
- Plugins
- 15,391
- Requests & Feedback
- 14,992
- 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.