Title: PHP snippet shortcode not working after update
Last modified: October 6, 2021

---

# PHP snippet shortcode not working after update

 *  Resolved [lspoe2](https://wordpress.org/support/users/lspoe2/)
 * (@lspoe2)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/)
 * Hi,
 * I’m using a shortcode in the pop up like this: [xyz-ips snippet=”Auto-Place-Calendar”]
   
   This shortcode is created from a PHP snippet.
 * Since your update, no content is showing.
 * For now I rolled back the plugin to the last version and everything is working
   as it should.
 * Would you please look into fixing this?
 * Thanks

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

 *  [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * (@patelketan)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14942065)
 * Hello,
 * We are already working on this issue. we are check and update so please wait 
   for the next version.
 * Thanks,
 *  [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * (@patelketan)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14943336)
 * Hello,
 * We have updated the latest version: 2.0.1
    Please update the plugin and send 
   us your feedback 🙂
 * Thanks,
    -  This reply was modified 4 years, 8 months ago by [Ketan Patel](https://wordpress.org/support/users/patelketan/).
 *  [mmallett](https://wordpress.org/support/users/mmallett/)
 * (@mmallett)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14945650)
 * Hi there. Version 2.01 still does not display the shortcode.
 *  [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * (@patelketan)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14946034)
 * Hello,
 * Please share your website page URL.
 * Thanks,
 *  [joncon62](https://wordpress.org/support/users/joncon62/)
 * (@joncon62)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14947737)
 * My popups aren’t populating data either. The reason for this I think is the way
   $post is being handled in the popup. My popups have shortcodes in them which 
   run PHP. These shortcodes use global $post to get data, which is meant to be 
   the $post of the page the popup is on. However with 2.0.0+ code, $post is now
   the popup and not the page data.
 * Hope this makes sense. I can’t give a URL as my site is live so I’m testing on
   localhost.
 * A simple way to test this out is to create a popup with the ultimate shortcode[
   su_post] as the content, which displays the title of the post. You get the page
   with the older code and the popup title with the new code (which is wrong).
 * Good news is the CSS issues I had are now fixed in 2.0.2 so thanks for doing 
   that.
 *  [Piyush Patel](https://wordpress.org/support/users/piyushpatel123/)
 * (@piyushpatel123)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14949850)
 * Hi [@joncon62](https://wordpress.org/support/users/joncon62/),
 * Please come to our website and live chat with us.
 *  Thread Starter [lspoe2](https://wordpress.org/support/users/lspoe2/)
 * (@lspoe2)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14949937)
 * It also doesn’t seem fixed for me.
 * I’m using the pop up to show content from each post in my post archive, so not
   on the actual post itself.
 * I’m generating the shortcode through xyz php code.
 * Example, I’m trying to get some post meta from the post in my search results 
   and user can click the popup to see that meta from the post without actually 
   having to click on the post itself.
 * Hope that makes sense.
 * Thanks
    -  This reply was modified 4 years, 8 months ago by [lspoe2](https://wordpress.org/support/users/lspoe2/).
    -  This reply was modified 4 years, 8 months ago by [lspoe2](https://wordpress.org/support/users/lspoe2/).
 *  [Piyush Patel](https://wordpress.org/support/users/piyushpatel123/)
 * (@piyushpatel123)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14949948)
 * Hello [@lspoe2](https://wordpress.org/support/users/lspoe2/),
 * I did not understand your point so please explain a little more with some screenshots.
   Otherwise please come to our website and live chat with us to clear everything
   properly.
 * Thanks.
 *  Thread Starter [lspoe2](https://wordpress.org/support/users/lspoe2/)
 * (@lspoe2)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14960797)
 * Hi,
 * I sent an email to [support@wponlinesupport.com](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/support@wponlinesupport.com?output_format=md)
 * Thanks
 *  [joncon62](https://wordpress.org/support/users/joncon62/)
 * (@joncon62)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14969156)
 * When can we expect a fix for the way you deal with $post which stops some shortcodes
   from working, as described in my earlier message and in live-chat?
 *  [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * (@patelketan)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14970103)
 * Hi [@joncon62](https://wordpress.org/support/users/joncon62/),
 * Your post-related issue will be solved please update this plugin.
 * We have updated the latest version: 2.0.4
    Please update the plugin and send 
   us your feedback 🙂
 * Thanks,
 *  [joncon62](https://wordpress.org/support/users/joncon62/)
 * (@joncon62)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14970510)
 * Thanks for the update, I can confirm 2.0.4 fixes my issue 🙂
 *  [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * (@patelketan)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14978854)
 * Hello [@joncon62](https://wordpress.org/support/users/joncon62/),
 * If you like our plugin please give you an important Rate and Review it Here…🙂
   
   [https://wordpress.org/support/plugin/popup-anything-on-click/reviews/](https://wordpress.org/support/plugin/popup-anything-on-click/reviews/)
 * Thanks

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

The topic ‘PHP snippet shortcode not working after update’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/popup-anything-on-click_7aa8d3.svg)
 * [Popup Maker and Popup Anything - Popup for opt-ins and Lead Generation Conversions](https://wordpress.org/plugins/popup-anything-on-click/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-anything-on-click/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-anything-on-click/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-anything-on-click/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-anything-on-click/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-anything-on-click/reviews/)

 * 13 replies
 * 5 participants
 * Last reply from: [Ketan Patel](https://wordpress.org/support/users/patelketan/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/php-snippet-shortcode-not-working-after-update/#post-14978854)
 * Status: resolved