Support » Plugin: Social Count Plus » Live update

  • Resolved designa

    (@designa)



    Good afternoon, do not live update youtube subscribe counters and like counters facebook. The counters are updated only after the plug-in settings are re-saved. But it’s not automatically updated.
    WP 4.7.5
    Social Count Plus 3.3.6
    PHP Version 7.0.19
    The caching plugin is not used.
    System Report – https://drive.google.com/open?id=0B9ULyAD9CAaAT3h2VThPQXFPSk0
    What could be the problem?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Decision:
    1. /wp-content/plugins/social-count-plus/includes/class-social-count-plus-generator.php
    2. Line 75
    // Update counter transient.
    set_transient( self::$transient, $total, apply_filters('social_count_plus_transient_time', 60*60*24 ) ); // 24 hours.
    Need to change 60*60*24 to the desired value, for example, I changed to 1800, this equals 30 minutes.

    Plugin Author Claudio Sanches

    (@claudiosanches)

    Just use the social_count_plus_transient_time filter for it, there is instructions about it on the plugin’s FAQ.

    Great, thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Live update’ is closed to new replies.