Support » Themes and Templates » Retrieve attachment size

  • Hi everyone,

    I need to display the size (KB or MB) of attached files both on archive and single templates for a Downloads custom post type I’ve made (which, by the way, I don’t really know if it’s the best practice for a Downloads section).

    Any help is much appreciated.

    Thank you

  • The topic ‘Retrieve attachment size’ is closed to new replies.