Home Forums Add-ons Gallery Field Gallery Upload using Custom Directory


Gallery Upload using Custom Directory

  • Hello Forum,

    I’m developing a site that uses a Custom Post Type with ACF fields; one of which is gallery type.

    Can I have the uploader load to a different media directory than the standard WP upload location, and if so how would I do so in the code?

    for example /uploads/cpt-dir

    Where cpt-dir is the directory I’d like to upload to? I’ve seen some StackOverFlow topics related to filtering the upload dir but how do I apply that to the gallery uploader / make sure it works with gallery type.

    Thank you very much!

  • Hi @coralseait

    The gallery field uses the native WP uploader, so the stackoverflow topics should also work with the gallery field.


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

The topic ‘Gallery Upload using Custom Directory’ is closed to new replies.