124 reputation
117
bio website php
location
age
visits member for 2 years, 11 months
seen Apr 13 at 21:25

Jun
12
awarded  Famous Question
Apr
12
comment wp_handle_upload() - how to upload to a custom subdirectory within uploads
Trying to solve above problem, I tried creating mycustomdir on plugin activation, using this snippet: wpmayor.com/… Result: on my localhost it works (and so does your code) - but on production server it says: "The plugin generated 233 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."
Apr
12
comment wp_handle_upload() - how to upload to a custom subdirectory within uploads
Thanks a lot for guidance. This almost works, but now I'm getting: "Unable to create directory wp-content/uploads/mycustomdir. Is its parent directory writable by the server?". To me, seems obvious that parent directory is writable by the server, as uploads there work just fine.
Apr
12
asked wp_handle_upload() - how to upload to a custom subdirectory within uploads
Apr
12
asked How to allow users to upload files to a subfolder of my plugin, or without running into permission issues?
Apr
11
awarded  Critic
Apr
10
awarded  Editor
Apr
10
comment How to call WP3.5 Media Library manager?
I'm getting the following error in console: ReferenceError: wp is not defined. Can you please help me if you know what it is?
Apr
6
awarded  Supporter
Apr
6
accepted Access Wordpress database outside of Wordpress
Apr
6
asked Access Wordpress database outside of Wordpress
May
30
awarded  Tumbleweed
Aug
7
awarded  Notable Question
Feb
21
awarded  Popular Question
Sep
14
awarded  Student
Sep
14
awarded  Scholar
Sep
14
comment How to create a drop down menu like in twenty eleven theme?
Thanks, superfish is what turned out to provide the exact same functionality.
Sep
14
accepted How to create a drop down menu like in twenty eleven theme?
Sep
14
comment How to create a drop down menu like in twenty eleven theme?
Great comment, and that's actually the first thing I did, but everything was just too messy to figure, even though I tried.
Sep
14
asked How to create a drop down menu like in twenty eleven theme?