Tag Info

New answers tagged

2

Since you already have the "Don't cache pages for logged in users" option activated, what about selecting cache with validation under Cache Control Policy for "HTML" content? Explanation: Essentially, the "don't cache pages for logged in users" option should already be sending a no-cache header for your logged users only. If a user has a cached page in its ...


0

You would probably get at least equally good performance by simply adding the classes with a filter, and it is certainly neater and closer to the way the WordPress is meant to be modified: function add_classes_wpse_190966($classes) { if (in_array('current-menu-parent',$classes)) { $classes[] = 'active'; } return $classes; } ...



Top 50 recent answers are included