181 reputation
3
bio website
location San Marcos, CA
age
visits member for 2 years, 6 months
seen yesterday

1d
comment Is there a way that you can use 2 same wordpress plugin at the same time?
Can you explain the use case? What are you attempting to accomplish by running two copies of the same plugin?
Aug
7
comment Disable wp_is_mobile()
If you feel this is also a reasonable answer you could also mark it as answering your question. :) I'd certainly appreciate the recognition.
Aug
7
answered Disable wp_is_mobile()
Aug
7
comment Strategies for a plugin to support CDN-enabled WordPress sites
Have you tried looking at how Jetpack implements its Photon support? Another place to look is in WP Super Cache as they also support CDN usage. My bet is they are using filters and actions to hook into WP in the right places to get images copied to the CDN and fix up URLs that would be returned from such calls as wp_get_attachment_image_src().
Mar
14
answered How to Know if a Plugin can be used with my Theme
Mar
14
suggested rejected edit on How to Know if a Plugin can be used with my Theme
Mar
12
comment WordPress and multithreading
Have a look at stackoverflow.com/questions/4710869/…
Feb
27
comment Stop WordPress from reserving slugs for media items?
I haven't looked at the latest code but I think the issue is in the handling of post types in wp_unique_post_slug(). The SQL query is only searching within the same post-type so it will not check for a collision with attachments.
Feb
22
comment Shortcodes won't work on live environment
With that out of the way, the real issue if you wanted to get this working as a part of a class is to avoid calling the add_action() the way you are. Create a regular function in your class to add with add_action and you'd be able to have your short code handler inside your class.
Feb
22
comment Shortcodes won't work on live environment
Try removing the quotes around $this. You're passing a string '$this' vs the value of $this.
Feb
22
comment Internal Server Error and bad CSS
This looks like a server configuration error and not a Wordpress problem. At least that's where you need to start. Probably allowing too many children on one of the services running on your server. Server configuration seems off topic for this area.
Feb
20
comment Automating the process of shortcode generation in a plugin - how is it done?
If the items you are referencing are rows in one of the databases, such as posts, then you can use the post ID in the manner described here. The ID is assigned as the post is added to the post table and is guaranteed to be unique.
Jan
28
awarded  Commentator
Jan
28
comment Upload path/URL weirdness for the main blog of a multisite/network setup
I've arrived at the same sort of problem via a different path. After migrating to a new hosting provider (and making a few tweaks along the way) I'm also seeing the back-end work fine but the front-end using the the blogs.dir directory for the main site. Did you find a solution?
Jan
8
comment 500 error when using virtual host
I noticed it was old, so I would have expected current source to not have this problem. Seems it's been re-introduced if it was fixed in the past.
Jan
8
comment Wordpress multisite htaccess
Regarding the RewriteCond - It's my understanding that the -f [OR] -d will match if the file or directory does exist. The RewriteRule on the subsequent line (RewriteRule ^ - [L]) would fire (^ matches any URI) and terminate re-insertion of the URI to the engine (- means no substitution and [L] meaning this is the last rule to be applied on this iteration).
Jan
8
answered Wordpress multisite htaccess
Jan
8
comment 500 error when using virtual host
I'm curious which part of the WP source you looked at. With WP4.0 the sub-dir match portion of these rules still appears to suggest using ([_0-9a-zA-Z-]+/)?. I'm looking at wp-admin/network.php.
Mar
26
comment Curly bracket shortcode in header.php
@s_ha_dum - apologies! Hard to keep track sometimes which sites want code and which ones don't. :)
Mar
26
comment Curly bracket shortcode in header.php
The built-in do_shortcode() parses WP style short codes so it's not going to recoginize those using the curly braces. That plugin is probably doing the parsing of the content itself.