Title: Synchronisation for old posts
Last modified: August 22, 2016

---

# Synchronisation for old posts

 *  Resolved [Djib's](https://wordpress.org/support/users/djibs13/)
 * (@djibs13)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/synchronisation-for-old-posts/)
 * It’s me again;-)
 * I use your plugin since few days and it works very well.
 * But he asks me some performance issues because I have 15,000 posts.
 * I wish to keep the synchronization every 3600 seconds for recent posts (maximum
   one month). For older articles, I will wish to establish a single synch daily.
   
   Can you help me ?
 * [https://wordpress.org/plugins/post-share-count/](https://wordpress.org/plugins/post-share-count/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [zviryatko](https://wordpress.org/support/users/zviryatko/)
 * (@zviryatko)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/synchronisation-for-old-posts/#post-5210186)
 * Hi again)
 * Pass ‘time’ parameter to function, example (inside the loop):
 *     ```
       if ( post_is_older() ) {
         the_post_share_count(array('time' => 60*60*24));
       } else {
         the_post_share_count(array('time' => 3600));
       }
       ```
   
 * where `post_is_older()` is your custom function which returns true if post is
   old.
 *  Thread Starter [Djib's](https://wordpress.org/support/users/djibs13/)
 * (@djibs13)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/synchronisation-for-old-posts/#post-5210192)
 * Tahnk you !
    I did that, it seems ok?
 * $current_date = date(‘my’);
    if ( $current_date > get_the_time( ‘my’ ) ) { the_post_share_count(
   array(‘time’ => 60*60*24)); } else { the_post_share_count(array(‘time’ => 3600));}
 *  Plugin Author [zviryatko](https://wordpress.org/support/users/zviryatko/)
 * (@zviryatko)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/synchronisation-for-old-posts/#post-5210196)
 * Yes, it ok 😉

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Synchronisation for old posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-share-count_ffffff.svg)
 * [Post Share Count](https://wordpress.org/plugins/post-share-count/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-share-count/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-share-count/)
 * [Active Topics](https://wordpress.org/support/plugin/post-share-count/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-share-count/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-share-count/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [zviryatko](https://wordpress.org/support/users/zviryatko/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/synchronisation-for-old-posts/#post-5210196)
 * Status: resolved