Forums
-
- Forum
- Posts
-
- Installation
- 28,535
- Troubleshooting
- 62,775
- Themes
- 10,444
- Plugins
- 15,384
- Requests & Feedback
- 14,987
- Showcase
- 3,257
-
It definitely needs to be inside the <?php ?>
code block, or it’s just HTML to the browser. You probably didn’t have it in a code block if you saw it displayed.
A syntax highlighting editor helps a lot with this. It helps you see what is code and what is plain text.