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

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
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?
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
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.