I’m also interested to get this going properly but can’t seem to do it – I’d appreciate some help too.
Regards,
Rob
YBM
(@ybmgryzzzgmailcom)
Hi Fabian
I see few posts about this and no solution – or am i missing something? 😀 I got the same issue: On the pages I have this:
[wpfilebase tag=list id=3,4,5,6,7,8 tpl=docdownloads pagenav=1 sort="<file_date" /]
OR
[wpfilebase tag=list id=35 sort=">file_date" tpl=thumbnail pagenav=1 num=25 /]
But the latest is always shown right at the end/bottom – even if I swap < and > or leave it out too. I would like the latest uploads to be at the top. This works with file / display names, etc.
What is incorrect for file_date?
Thank you
Yatish
YBM
(@ybmgryzzzgmailcom)
Hi there
Any feedback on this please?
Thanks all
Me
🙂
I had a problem with my file data table not sorting via the column headers. I fixed the issue by loading an older version of jQuery. I’m running WP 4.3 and it was loading jQuery 1.11.3. I was getting a jQuery error in the console so I added the following to my functions.php file where I am enqueueing scripts to load up 1.11.2 and that fixed my issues. Hope this works for the rest of you. I even tried loading some 2.0 version and some of them worked too but I decided to stick with one version older than what 4.3 was loading.
function my_scripts_method() {
wp_deregister_script('jquery');
wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js', false, '1.11.2');
}
add_action('wp_enqueue_scripts', 'my_scripts_method', 99);
Thanks for pointing to this.
This works also for me running wp 4.3 and solves in adition the initial number of rows in a table. (all rows listed instead of the specified numbers)