Support » Plugin: Custom Post Type UI » Custom Upload Directory

  • Resolved Cadienvan


    Hi everyone,
    I have a question about Custom Post Types.
    Is it possible to define an upload directory for a single custom post type?
    For example, I have two custom post types such as “products” and “clients”.
    When I upload a new image while editing a “clients” post type, how can I upload that image in “/wp-content/uploads/clients”?

    Is it possible?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Michael Beckwith


    It’s definitely not possible with our plugin, and I’ve never heard of that type of functionality in general either. If it has been done, it’s been a custom plugin from someone else.

    Sorry I can’t help any more than that, and hopefully you find yourself a solution.

    Thanks a lot.
    I decided to work at it by myself adding a filter to “upload_dir” defining a different upload directory for defined post type.

    Thank you anyway.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Upload Directory’ is closed to new replies.