How to hide content using HTML comment
-
On a page, I’d like to display or hide a paragraph, turning it on or off as needed. On a wordpress.org site, I’d use this:
<!–This is a comment. Comments are not displayed in the browser–>
I seem to recall it was possible to do this on a wordpress.com page, but the code seems to get converted to:
<!– [etc…]
Is it no longer possible to do this?
Thanks…
The blog I need help with is: (visible only to logged in users)
-
Clarification: The blog I need help with is a wordpress.com site, note the one listed in my original post (which is a self-hosted WP install).
- The topic ‘How to hide content using HTML comment’ is closed to new replies.