Forums
-
- Forum
- Posts
-
- Installation
- 27,655
- Troubleshooting
- 60,595
- Themes
- 10,192
- Plugins
- 14,982
- Requests & Feedback
- 14,610
- Showcase
- 3,238
-
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