Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11660
    chris_001
    Participant

    Hi!

    First of all, thanks for the great work, this plugin is very good.

    I was wondering if it is possible to limit the number of upload-able files for a specific post type?

    Example: I have a custom post type where the client should be able to only upload 1 PDF-file. On other (not custom post type) Pages, there should be no limit.

    Thanks in advance!

    – Chris

    #11709
    Bartosz
    Keymaster

    Hi Chris,

    Maybe what you ask for doesn’t require to be handled by DA. It depends what you mean by upload a file:

    1) add an attachment to DA metabox
    2) upload a file to a post (of a specific post type)

    If it’s the 2nd, then this can be handled with WP native filter hooks I believe. If it’s the 1st one, there is no way to do this currently, and it would not be simple to introduce.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.