Forums
-
- Forum
- Posts
-
- Installation
- 28,369
- Troubleshooting
- 62,138
- Themes
- 10,387
- Plugins
- 15,305
- Requests & Feedback
- 14,888
- Showcase
- 3,252
-
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.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS