WordPress.org

Ready to get started?Download WordPress

Forums

Retrieve attachment size (1 post)

  1. fpsdf
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic