Community Support Forums — WordPress® ( Users Helping Users ) — 2011-10-26T02:07:30-05:00 http://www.primothemes.com/forums/feed.php?f=5&t=15484 2011-10-26T02:07:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15484&p=48831#p48831 <![CDATA[Re: No Cache ONLY for SuperAdmin]]> Statistics: Posted by nouxtywe — October 26th, 2011, 2:07 am


]]>
2011-10-10T07:16:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15484&p=45241#p45241 <![CDATA[No Cache ONLY for SuperAdmin]]>
Just trying to figure out how to not cache ONLY for the superadmin
Any guess would be appreciated

I've tried to change advanced_cache.php to this
Code:
else if (QUICK_CACHE_DONT_CACHE_WHEN_LOGGED_IN && function_exists ("is_super_admin") && is_super_admin ())
                                 return $buffer; /* Do NOT cache. * Re-checking this here ( when possible ) because it's so important! */
                              /*


Note the is_super_admin() function
But it doesn't work
I guess I don't really understand where to make this modification :p

Thanks for your help... :)

Statistics: Posted by nouxtywe — October 10th, 2011, 7:16 am


]]>