Hi. Try this:
File: /plugins/wd-facebook-feed/frontend/models/FFWDModelThumbnails.php
$results = $wpdb->get_results($wpdb->prepare(‘SELECT * FROM ‘ . $wpdb->prefix . ‘wd_fb_data WHERE fb_id=”%d” ORDER BY created_time_number DESC ‘ . $limit_str, $id));
Change to:
$results = $wpdb->get_results($wpdb->prepare(‘SELECT * FROM ‘ . $wpdb->prefix . ‘wd_fb_data WHERE fb_id=”%d” ORDER BY DateModified ASC ‘ . $limit_str, $id));
The same to /plugins/wd-facebook-feed/frontend/models/FFWDModelThumbnails_masonry.php
$results = $wpdb->get_results($wpdb->prepare(‘SELECT * FROM ‘ . $wpdb->prefix . ‘wd_fb_data WHERE fb_id=”%d” ORDER BY created_time_number DESC ‘ . $limit_str, $id));
Change to:
$results = $wpdb->get_results($wpdb->prepare(‘SELECT * FROM ‘ . $wpdb->prefix . ‘wd_fb_data WHERE fb_id=”%d” ORDER BY DateModified ASC ‘ . $limit_str, $id));
-
This reply was modified 8 years, 3 months ago by
livedeath.
Hi,
@livedeath Thanks for the suggested solution.
@creexl was the solution helpful in solving the issue. Or would you like us to go further through the issue?
Thanks. Have a nice day.
Thread Starter
creexl
(@creexl)
Unfortunately it still does not update the posts after editing the modelthumbnail files.
Hi,
Could you please check autoupdate interval? Maybe it’s set for a big period. You can shorten the update period to for example 30 minutes.
Please, also check whether the Cron Jobs is activated in your hosting.
Thanks. Have a nice day.