hooks
-
Hi,
I use GeneratePress theme and I have two elements (specific to GeneratePress) :
– the first with two buttons : Register, Login
hook : after_header_content
users : disconnected– the second with two buttons : Account, Deconnection
hook : after_header_content
users : connectedThe website is very slow, so I use the cache of WP-Optimize (my host suggests to use WP-Optimize).
The website is now fast but when the page comes from the cache then elements don’t update.
For exemple, the user is connected but the buttons displayed are : Register, Login as if the user is disconnected.This happen only when cache plugin is activated. No problem when there is no cache instead it is slow, slow …
Is there a hook which says « the page is finished and ready from the cache » ?
I think that, after intercept the event for this hook, it will be to run code for display elements in GeneratePress.
Thanks
Dominique
The topic ‘hooks’ is closed to new replies.