hide “creation date” and “last updated”

Viewing 6 posts - 1 through 6 (of 6 total)
#192803

Daniel D.
Participant

On the page where the table appears with the data of the uploaded files, the following fields appear: Version, Downloads,
File size, Count files, Creation date and Last update.

I would like to hide the last two fields “Created date” and “Last updated”

Thank you

#192805

Sidratul Sohrat
Moderator

If you are using the free version of WPDM, and the default template, please edit the page-template-default.php file. you can edit it from the download-manager\src\Package\views\page-templates dir. Remove the following line of code from the file:

<li class="list-group-item d-flex justify-content-between align-items-center [hide_empty:create_date]">
                [txt=Create Date]
                <span class="badge">[create_date]</span>
            </li>
            <li class="list-group-item  d-flex justify-content-between align-items-center [hide_empty:update_date]">
                [txt=Last Updated]
                <span class="badge">[update_date]</span>
            </li>

please check and let me know, if it helps you. Also, don’t forget to keep a backup before editing the file.

Thank you and regards

#192823

Daniel D.
Participant

it’s perfect! Thanks!

#192835

Sidratul Sohrat
Moderator

Welcome.

#193053

Daniel D.
Participant

Hello, the method had worked for me until I updated the plugin… How can I solve it so that I don’t have to delete the code every time I update?

#193059

Sidratul Sohrat
Moderator

Hello Daniel,

Hope you got your problem solved from the post you made in the WordPress Download Manager Pro forum.

Thanks and Regards.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.