This topic contains 11 replies, has 4 voices, and was last updated by Shahriar 2 weeks, 4 days ago.
My code look like this:
[wpdm_all_packages items_per_page="20" order_by="publish_date" order="DESC" jstable=1 cols="title,package_size|download_count|publish_date|download_link" colheads="Dokument|Broj preuzetih dokumenata|Datum|Preuzeti"]
my date is all messed up. I try to add DD/MM/YYYY and %d-%m-%Y in order attribute and has changed but not like it should be.
Could you please share the link where you used the above shortcode?
someone already answer me that will be fix on next update? When will be next update?
Okay, please wait for the next update.
After update still not working properly. You can see here:
In your URL, looks like it is working fine.
Please take a closer look at where it is indicated by the red arrows:
Please send temporary wp-admin login info in private reply or find the following line in /download-manager/tpls/wpdm-all-downloads.php file,
$dor = array('publish_date' => strtotime(get_the_date()), 'create_date' => strtotime(get_the_date()), 'update_date' => strtotime(get_the_modified_date('', get_the_ID())));
and replace it with this code,
$dor = array(
'publish_date' => strtotime( get_the_date('Y-m-d') ),
'create_date' => strtotime( get_the_date('Y-m-d') ),
'update_date' => strtotime( get_the_modified_date('Y-m-d') )
I have updated the date format in the custom code to Y-m-d It seems that did the trick.
Now is fine, thanks, but I didn’t understand what you do? After your next update is it gonna be like this or it’s gonna messed up?
We will add the fix on our side too before the next release.
You must be logged in to reply to this topic.