Title: Broken shortcode&#8230;?
Last modified: August 30, 2016

---

# Broken shortcode…?

 *  Resolved [crzyhrse](https://wordpress.org/support/users/crzyhrse/)
 * (@crzyhrse)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/broken-shortcode/)
 * Hello,
 * This has just turned up in today, and can’t be more than a couple days old… After
   looking for every other possibility I could think of I am now wondering if there
   have been some changes in the way your shortcodes work, with all the recent updates
   to Custom Content Shortcodes, that could be causing this…??
 * We have a two CPTs set up with the Custom Post Types UI plugin, each with multiple
   posts, for many months now,… Each post has an image, a little bit of text, and
   a buy button via the WP Simple Paypal Shopping Cart plugin’s shortcodes…
 * The buttons, as of just this last day or two, are no longer working or showing
   up as buttons on the two main pages that present all of the multiple posts for
   each of the two CPTs through a shortcode from Custom Content Shortcode… Just 
   the cart button shortcode itself is showing up now… The buttons have been there
   showing and working for months now…
 * AND yet, the WP Simple Paypal Shopping Cart buttons are still showing up totally
   normally and working fine in each one of of the individual CPT posts for both
   CPTs…
 * This seems to point to something not working now with Custom Content Shortcode’s
   shortcode…?
 * We are using (the same shortcode for both main pages (other than the CPT name
   of course)…
 * We’ve done no recent changes to any of this…
 * Here is Custom Content Shortcode’s shortcode (from the page’s text tab) that 
   we have been using in both main pages, all this while…
 *     ```
       [loop type="kids_elem" orderby="menu_order" columns="2" pad="10px 11px"]
       <h4>[field title-link]</h4>
       [content format="true"]
       [/loop]
       ```
   
 * And here is an example of the Shopping Cart shortcode that is in each of the 
   posts, and that is still working fine in the posts only (this is also from the
   post’s text tab)…
 *     ```
       <p style="text-align: left; padding-top: 0.5em;">[wp_cart:Discernment; Peace/e.webpur.027:price:35.00:shipping:4.00:end]</p>
       ```
   
 * All help very much appreciated, and thanks for all your amazing and seemingly
   constant work improving Custom Content Shortcode…
 * Kind regards…
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

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

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/broken-shortcode/#post-6402616)
 * Hello,
 * Thank you for the detailed description. I see the main point is that inside [
   loop] the cart button shortcode itself is showing up – but it’s working in the
   post content itself.
 * I’ve checked the relevant areas of code, but I don’t see why the cart button 
   shortcode is not being run. One thing that’s strange is this:
 *     ```
       [wp_cart:Discernment; Peace/e.webpur.027:price:35.00:shipping:4.00:end]
       ```
   
 * ..is not a normal shortcode syntax. That leads me to suppose that the cart button
   is being processed separately than other shortcodes.
 * The only thing I can think of is, you can try using the_content filter:
 *     ```
       [content filter="true"]
       ```
   
 * If the paypal button plugin is using the_content filter to process its shortcodes,
   the above might work.
 *  Thread Starter [crzyhrse](https://wordpress.org/support/users/crzyhrse/)
 * (@crzyhrse)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/broken-shortcode/#post-6402634)
 * Hello Eliot,
 * Thank you so very, very much… That has fixed it, to change _**content format**_
   to _**content filter**_…
 * I wonder what has occurred recently to cause what has been working for months
   now to stop working like this…? I remember reading in some places recently that
   the 4.2.3 update broke some things for some people, so maybe it broke or changed
   some things that had to do with shortcodes…?
 * It may be that this has been happening a little longer than I realize, since 
   the 4.2.3 update… ?
 * Again thanks, and kind regards,
 * John.
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/broken-shortcode/#post-6402814)
 * I think this is related to the WP 4.2.3 update – it’s more strict regarding shortcode
   syntax, and will strip content in some non-standard use cases.
 * Glad to hear the content filter solved it.

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

The topic ‘Broken shortcode…?’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/broken-shortcode/#post-6402814)
 * Status: resolved