Excluding Notification part from WP Super Cache

5.51K viewsIssues
0

Hello,

I use WP Super Cache and I have one problem, that when user get notifcation and click on it, notification doesn’t get unread for a long time beacuse of caching.

I searched for the solution and I found those:

https://wordpress.org/plugins/wp-super-cache/faq/

http://z9.io/2013/10/21/shiny-new-dynamic-content-wp-super-cache/

http://svn.wp-plugins.org/wp-super-cache/trunk/plugins/dynamic-cache-test.php

 

In this FAQ, Below “How do I make certain parts of the page stay dynamic?” title  there are two ways to make a part of website stay still dynamic, in other words we can exclude a part from caching.

 

But I couldn’t do that, how can I make notification menu dynamic. I use

<!--?php wp_nav_menu( array('menu' => 'notif' )); ?-->

Code to get menu and there is only Notification inside it. I want to make this part excluded form caching. How can I do it? And I looked and I think many users are looking for solution with this cahcing plugin.

 

Thanks.

1

Thanks NijitR, I will study this and try to add to AnsPress.

Thank you too. I will be greatful if you do that. I did some changes in plugin (in design) thats why I can”t update. Will you be able to post which files will be enough to reupload?

do not modify the plugin, create instead another theme in your folder if possible