Characters like ‘<’, ‘>’, or quotes appear as entities (e.g., <, ") on the frontend.
HTML Entities Show in Content
Key Points: Angle brackets, quotes, and special characters show up encoded — not as expected text.
You try to add some example code or quotation — but instead of the real character, WordPress displays < or ". Your content reads like raw HTML.
🚫 Why It Happens
- Editor or plugin double-encodes special characters
- Manual use of entities inside Code or HTML block
- Theme uses
esc_html()wherewp_kses_post()would suffice
🛠️ Fix Suggestions
- Use
<pre>or Code blocks for actual code snippets - Switch to HTML view to confirm if characters are encoded twice
- Modify template output if encoding is too aggressive
📎 Tip
If users need to input content with symbols, build a UI that handles encoding clearly and intentionally.