Aekio
Forum Replies Created
-
Dolatabadi,
Thank you very much for taking your time listening to our suggestions. I really could see the potential in this popular post plugin and I am looking forward to your update.
Cheer you up!
Forum: Plugins
In reply to: [SEO Facebook Comment] Please update the Facebook SDK!May I ask how did you solve the problem? How did you update the SDK so that we can follow your instruction?
I know that I can easily change the facebook comment plugin but I have been using this plugin for ages and still don’t want to abandon the ship yet if I could only find the way to make it work with Facebook new SDK.
Thanks.
I temporary got things done by the help of other plugin and the code customization while waiting for your update.
For those that wants the plugin to be cached, you can use the WP Widget Cache ( https://www.ads-software.com/plugins/wp-widget-cache/ ) to handle to job. WP Widget Cache offers you ability to cache specific widget for the period of time. You can set the cache time before it is being cleared separately for each widget. Really nice one to try one.
I customized the code to only show the post for the current week. For those who are familiar with wordpress query, you can achieve this by the help of this post: https://codex.www.ads-software.com/Class_Reference/WP_Query
I also have my wordpress recorded the number of likes from facebook for particular page in meta_key and customize the stylish-popular-posts to query that specific meta_key for your like number instead of comment_count. If you don’t know how to do so, this plug in can save you time ( https://www.ads-software.com/plugins/top-social-stories-free/ ) just by enable the “Export data in custom fields” in plugin’s setting menu and you will get the meta_key for each social network, eg, facebook_shares for facebook, twitter_shares for twitter. You just need to set this meta_key around line 124 of stylish-popular-posts plugin (dont’ forget to put & infront of the meta_key) and change the orderby to meta_value_num and you are good to go. All set and done!
Hope this helps anyone who is looking for some more implementations out of this plugin while the developer might be planning on adding these features officially later.