Title: HTML code and editor question
Last modified: August 19, 2016

---

# HTML code and editor question

 *  [torndownunit](https://wordpress.org/support/users/torndownunit/)
 * (@torndownunit)
 * [16 years ago](https://wordpress.org/support/topic/html-code-and-editor-question-1/)
 * I am using a plug-in with the following instructions:
 * > To use it, just put the following into the HTML of any page or post, use as
   > many times as you like on the same page:
   > [get_posts]
 * Working on a page, I have the HTML window open in the WP editor, and I have pasted
   the code. It’s showing up in my pages though as [get_posts] when I publish them.
   It doesn’t appear to be acting as HTML code.
 * [http://dvsecurity.ca/wordpress/?page_id=13](http://dvsecurity.ca/wordpress/?page_id=13)
 * Can someone tell me what I am doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [16 years ago](https://wordpress.org/support/topic/html-code-and-editor-question-1/#post-1449483)
 *     ```
       <p><code>[get_posts]</code></p>
       ```
   
 * did you put the `<code>` tags around the shortcode?
 * try without.
 *  Thread Starter [torndownunit](https://wordpress.org/support/users/torndownunit/)
 * (@torndownunit)
 * [16 years ago](https://wordpress.org/support/topic/html-code-and-editor-question-1/#post-1449500)
 * I tried that, but not with <p> tags around it. I will see if that works and report
   back.
 *  Thread Starter [torndownunit](https://wordpress.org/support/users/torndownunit/)
 * (@torndownunit)
 * [16 years ago](https://wordpress.org/support/topic/html-code-and-editor-question-1/#post-1449501)
 * It’s still displaying the same way: [http://dvsecurity.ca/wordpress/?page_id=13](http://dvsecurity.ca/wordpress/?page_id=13).
 * Could anything in my theme be causing this? I am not sure why it would interfere
   though. HTML seems to be working fine, just not this code.
 * This is the plug-in that the code is from [http://wordpress.org/extend/plugins/nurelm-get-posts/](http://wordpress.org/extend/plugins/nurelm-get-posts/)
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML code and editor question’ is closed to new replies.

## Tags

 * [html code](https://wordpress.org/support/topic-tag/html-code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [torndownunit](https://wordpress.org/support/users/torndownunit/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/html-code-and-editor-question-1/#post-1449501)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
