Upload files larger than 2MB in Wordpress

I realize that the MB limit is placed in the config settings of wordpress and can be increased there, but I'd rather just create an additional directory on the host where files are uploaded.  I'd still like to upload function to be available within the Wordpress Admin pages, but the upload to go to the created folder.  Particularly, I'd like to add a box on the Post Edit screen to add the upload.  This is primarily for uploading the MP3 of a podcast for instance.

I know I'll need to build a custom function to make this happen and point to the correct directory, but wanted to be sure it was possible first.

Is that even possible?
LVL 2
axessJoshAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineDon't talk to me.Commented:
It's actually not a WordPress setting but a PHP one that WordPress reads and echoes back.

However. Yes, it is possible to hook the upload function and send it whereever you want based on whatever triggers you can access when the hook fires.

The Advanced Custom Fields plugin is really good for this.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lenamtlCommented:
For larger files you have also need to verify php.ini file, your hosting company may have set different limits.
Some hosting company allows user to create their own php.ini you should check with them first.

Some settings that need to be changed:
upload_max_filesize
post_max_size
memory_limit
max_input_time
max_execution_time

For more info check:
http://www.webholism.com/blog/sara/how-to-increase-the-max-file-upload-size-for-wordpress/

For the upload function you can use something similare to this:
http://smallbusiness.chron.com/upload-mp3-wordpress-51034.html
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.