Title: PHP Shortcode Breaks other Shortcodes
Last modified: August 20, 2016

---

# PHP Shortcode Breaks other Shortcodes

 *  [wpweaver](https://wordpress.org/support/users/wpweaver/)
 * (@wpweaver)
 * [15 years ago](https://wordpress.org/support/topic/php-shortcode-breaks-other-shortcodes/)
 * PHP Shortcode seriously breaks the content passed to other spanning shortcodes(
   e.g., [some_code]content[/some_code]. The content is almost, but not quite a 
   valid string. String functions like strpos for substr fail to return correct 
   results on the string processed by PHP Shortcode. This is true even if you don’t
   have any code within the content that use PHP Shortcode.

Viewing 1 replies (of 1 total)

 *  [Paul Vickery](https://wordpress.org/support/users/paul-vickery/)
 * (@paul-vickery)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/php-shortcode-breaks-other-shortcodes/#post-2102674)
 * Hi,
 * I have just posted a fix which may help you. See my post at [http://wordpress.org/support/topic/php-shortcode-messes-up-formatting-a-fix](http://wordpress.org/support/topic/php-shortcode-messes-up-formatting-a-fix)
 * Paul.

Viewing 1 replies (of 1 total)

The topic ‘PHP Shortcode Breaks other Shortcodes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/php-shortcode.svg)
 * [PHP Shortcode](https://wordpress.org/plugins/php-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/php-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/php-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-shortcode/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Paul Vickery](https://wordpress.org/support/users/paul-vickery/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/php-shortcode-breaks-other-shortcodes/#post-2102674)
 * Status: not resolved