Title: Shortcode Issue in Content
Last modified: August 20, 2016

---

# Shortcode Issue in Content

 *  Resolved [WP CMS Ninja](https://wordpress.org/support/users/billiardgreg/)
 * (@billiardgreg)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/shortcode-issue-in-content/)
 * Ok so I am writing a plugin with multiple shortcodes in use. Inside the functions
   I am using the proper return html syntax. Yet for some reason some of the shortcodes
   all that is happening is output of the actual shortcode in the content. I have
   even tested with calling two shortcodes on one page and put the one that hasnt
   been working first on the page and the second one is showing correctly?
 * If anyone has run into this issue before and/or might know of a solution it would
   be greatly appreciated.
 * Thanks

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

 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/shortcode-issue-in-content/#post-3348873)
 * I had a similar issue since WP 3.5 update…
    I had created **[clear-both]** shortcode
   to output : `<div style="clear:both;"></div>` This allow me to render content
   just after an image, this add a return line feed after the image. So the text
   goes at the bottom.
 * Since WP 3.5 update, the shortcode **[clear-both]** appeared in the content instead
   of the output code.
    I remove the “-” from the shortcode in my functions.php,
   then the shortcode works.
 * If this could help you…
 *  Thread Starter [WP CMS Ninja](https://wordpress.org/support/users/billiardgreg/)
 * (@billiardgreg)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/shortcode-issue-in-content/#post-3348923)
 * the short code in question is all loeercase with no punxuatiin. i have even tried
   making it more but that of course didnt work.
 *  Thread Starter [WP CMS Ninja](https://wordpress.org/support/users/billiardgreg/)
 * (@billiardgreg)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/shortcode-issue-in-content/#post-3348924)
 * more simplr that is.
 *  Thread Starter [WP CMS Ninja](https://wordpress.org/support/users/billiardgreg/)
 * (@billiardgreg)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/shortcode-issue-in-content/#post-3348941)
 * Not sure why it wasn’t working but in trying to debug it I found that there where
   a couple extra files left in the folder that should not of been, as well as in
   testing I duplicated the function and shortcode call. So I fixed those issues
   and it appears to be working the way it should now.

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

The topic ‘Shortcode Issue in Content’ is closed to new replies.

## Tags

 * [functions](https://wordpress.org/support/topic-tag/functions/)
 * [plugin-development](https://wordpress.org/support/topic-tag/plugin-development/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [WP CMS Ninja](https://wordpress.org/support/users/billiardgreg/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/shortcode-issue-in-content/#post-3348941)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
