Title: No cache dynamic PHP content
Last modified: September 14, 2022

---

# No cache dynamic PHP content

 *  Resolved [digitalstories](https://wordpress.org/support/users/digitalstories/)
 * (@digitalstories)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/no-cache-dynamic-php-content/)
 * Hi,
 * Great idea of this plugin. I wrote a code on website that changing 2 imgs (day
   and night) based on daytime. Its wrote in PHP/HTML, is there any way how to insert
   PHP content with this plugin (shortcode) and exclude it from cache ?
 * Thank you for advices.

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

 *  [Taqi Vaheed](https://wordpress.org/support/users/vaheedxp/)
 * (@vaheedxp)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/no-cache-dynamic-php-content/#post-16417084)
 * I have the same question. Did you find any solution?
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/no-cache-dynamic-php-content/#post-16417129)
 * Hi [@digitalstories](https://wordpress.org/support/users/digitalstories/), [@vaheedxp](https://wordpress.org/support/users/vaheedxp/)
 * This kind of PHP code can be put in a shortcode. Then put that shortcode in a
   Content No Cache element, and it should work.
 * Have a great day!
 * Jose

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

The topic ‘No cache dynamic PHP content’ is closed to new replies.

 * ![](https://ps.w.org/content-no-cache/assets/icon-256x256.png?rev=2687570)
 * [Content No Cache | Serve uncached partial content even when you add it to a page that is fully cached.](https://wordpress.org/plugins/content-no-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/content-no-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/content-no-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-no-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-no-cache/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/no-cache-dynamic-php-content/#post-16417129)
 * Status: resolved