Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Support Nayeem Hyder

    (@nriddhi)

    Hello @infernoprime,

    Hope you are well. Do you want to change download-manager-files folder to another? Please kindly check and let me know.

    Thank you and regards

    Thread Starter infernoprime

    (@infernoprime)

    Yes, if possible. I don’t like having a single folder and just dumping all the files in there.

    Plugin Support Nayeem Hyder

    (@nriddhi)

    For upload file directory you can use this code in yourt theme’s functions.php file:
    if (!defined('UPLOAD_DIR')) {
    $upload_dir = wp_upload_dir();
    define('UPLOAD_DIR', $upload_dir['basedir'] . '/my-custom-downloads/');
    }

    please kindly check if it woeks for you. Please kindly check.

    Thank you and regards

    Thread Starter infernoprime

    (@infernoprime)

    First, I want to make sure of something. This is to change the location not the name, correct?

    Plugin Support Nayeem Hyder

    (@nriddhi)

    Yes, it is upload location download manager files. You can try and check if it works for you. Please kindly check.

    Thank you

    Thread Starter infernoprime

    (@infernoprime)

    Give me a day or two and ill check back.

    Plugin Support Nayeem Hyder

    (@nriddhi)

    Ok, sure. Please kindly check.

    Thank you

    Thread Starter infernoprime

    (@infernoprime)

    I’m sorry I forgot to ask but what directory is this relative to?

    Plugin Support Nayeem Hyder

    (@nriddhi)

    Those files you are attaching for download, that upload folder. Please kindly let me know if you have more queries. Please kindly check.

    Thank you

    Thread Starter infernoprime

    (@infernoprime)

    Is there no easy way to add sub folders?

    Plugin Support Nayeem Hyder

    (@nriddhi)

    if (!defined('UPLOAD_DIR')) {
    $upload_dir = wp_upload_dir();
    define('UPLOAD_DIR', $upload_dir['basedir'] . '/download-manager-files/subfolder-name/');
    }

    you can try this too if you want subfolder of download-manager-files , Please kindly check.

    Thank you

    Thread Starter infernoprime

    (@infernoprime)

    1.I just want to make sure I understand this correctly. This code below will allow me to change the location where the downloads are stored OUTSIDE of the wp-content directory?

    2.The other code that you gave me. I wanted to use multiple sub folders for a category like structure if possible.

    if (!defined('UPLOAD_DIR')) {
    $upload_dir = wp_upload_dir();
    define('UPLOAD_DIR', $upload_dir['basedir'] . '/my-custom-downloads/');
    }
    Plugin Support Nayeem Hyder

    (@nriddhi)

    For your requiremt 1, Yes
    For your requirement 2, it may require to take customization services, you may knock here with your requirement, https://www.wpdownloadmanager.com/download/custom-upgrade-service/. Please kindly check.

    Thank you

    Thread Starter infernoprime

    (@infernoprime)

    Could I use the external link feature to specify that and use it for sub folders ?

    Plugin Support Nayeem Hyder

    (@nriddhi)

    For any custom requirements implementation, you may please knock here with your requirements, https://www.wpdownloadmanager.com/download/custom-upgrade-service/. Please kindly check.

    Thank you

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘changing directorys’ is closed to new replies.