Counter does not update in real time
-
I know that this information is available on the FAQs but still I am having some difficulties to change the time to update the counter. I have copied and pasted this very same code into the style Editor but the counter does not update in real time nor even in a short time. How do we set this to update in 1 to 3 seconds?
Do we just copy the code like it is bellow? Or do we need to add something before? Usually the CSS Codes start wit a . or < >.
Hope to hear from you soon!!
“You can change using the filter social_count_plus_transient_time. Example:”
function social_count_plus_custom_transient_time( $time ) {
return 43200; // 12 hours in seconds.
}add_filter( ‘social_count_plus_transient_time’, ‘social_count_plus_custom_transient_time’ );
- The topic ‘Counter does not update in real time’ is closed to new replies.