43 reputation
9
bio website
location
age
visits member for 1 year, 9 months
seen Mar 27 at 13:27

Jan
31
answered Using “media_handle_sideload” to upload images programmatically does not upload image to Media Library
Jan
14
comment Execute Jquery when a specific page in my plugin is loading
If all you're using is .hide() then maybe it makes sense to just do it via CSS.
Oct
26
awarded  Popular Question
Oct
8
awarded  Peer Pressure
Sep
27
awarded  Supporter
Sep
26
answered Custom Fields vs Separate Table
Sep
26
revised Cant retrieve $_POST inside page, just header
added 525 characters in body
Sep
26
answered Problem duplicated shortlinks bitly
Sep
26
answered How can I create more “create attachment” custom field - any idea?
Sep
26
answered add widgets to dashboard for easy access for clients?
Sep
26
answered Hide upload image fields for the different media upload popups
Sep
26
answered Cant retrieve $_POST inside page, just header
Aug
5
answered Making a thumbnail if there exist a link with. jpg or .png extension in Wordpress
May
28
answered Best Practices for Seperating jQuery from HTML/PHP
May
26
comment WP multisite network plugin fails to see classes loaded with spl autoload
Thx guys. However...I dump both of the options values for active plugins to a log. NP there. I write the $file in the autoload require($file) to a log. NP there. The require doesn't error. So NP there. (I do a file_exists prior as well). I can see the files / classes being required by the autoload (in my log). And then when that's all done and WP goes to run the uses_my_autoload plugin - because it's further down in the plugin order - it blows up. Exactly! Crazy, right? What do ya think?
May
26
asked WP multisite network plugin fails to see classes loaded with spl autoload
Apr
15
asked Multi-part form and wp_redirect()
Apr
7
comment How do I get from search_theme_directories() to the $stylesheet (name) for switch_theme()
Oh. Sorry. Specifically, this: $stylesheet = content_url('/themes/'.$themes[$themename]['theme_file']); I tried that and WP didn't like it. switch_theme() doesn't want/need the folder structure. it wants a name. e.g. switch_theme('twentytwelve','twentytwelve'); codex.wordpress.org/Function_Reference/switch_theme. This is what had be confused and in search of a viable solution. Thanks again for your help.
Apr
6
comment How do I get from search_theme_directories() to the $stylesheet (name) for switch_theme()
Thx @s_ha_dum but I don't think the first bit is going to work. For example, this is what works to switch to twentytwelve: switch_theme('twentytwelve','twentytwelve'); Notice how "stylesheet" ain't really so. I tried a number of different things, yours included and this is the only thing that work. As for get_the_theme(). If that gives me an object with theme details then that'll do. Cheers! Perhaps you can take another shot at the first bit?
Apr
6
asked How do I get from search_theme_directories() to the $stylesheet (name) for switch_theme()