15,078 reputation
32866
bio website x-team-wp.com
location Houston, TX
age
visits member for 5 years
seen Aug 19 at 23:21

I'm a WordPress Engineer for X-Team-wp (XWP).

enter image description here WordPress.org.

enter image description heregithub

enter image description hereTwitter

profile for Chris_O on Stack Exchange, a network of free, community-driven Q&A sites


Apr
2
comment Problem with paging on Multisite
You shouldn't set your new WP_Query to the $wp_query variable. Also you should really just use a category template and instead of doing a new WP_Query add a pre_get_posts filter.
Apr
1
revised Replace all of post's image URLs with upload directory URLs
added 757 characters in body
Apr
1
revised Replace all of post's image URLs with upload directory URLs
added 275 characters in body
Apr
1
answered Replace all of post's image URLs with upload directory URLs
Feb
4
awarded  plugins
Jan
31
answered Using “media_handle_sideload” to upload images programmatically does not upload image to Media Library
Jan
17
awarded  Revival
Jan
9
answered Using meta_query on pre_get_posts to exclude a particular meta_key value
Jan
9
answered How to load a plugin when doing an Ajax call?
Jan
9
answered How do I pass arguments to dashboard widget callback functions?
Jan
6
comment get_queried_object() returns null on post date archive
There are other ways to get what you want. get_queried_object is applicable ONLY if the request is a category, author, permalink or Page. Holds information on the requested category, author, post or Page. The query_vars hold everything else.
Jan
6
revised get_queried_object() returns null on post date archive
added 361 characters in body
Jan
6
revised Change the filename format of saved featured images
added 6 characters in body
Jan
6
answered Change the filename format of saved featured images
Jan
5
answered get_queried_object() returns null on post date archive
Dec
14
comment Writing a wordpress plugin and trying to include the Facebook PHP SDK
The Facebook PHP SDK is a crap. Use the javascript version.
Nov
30
comment get_posts output always same post
Before the foreach loop do var_dump( $tag_posts ); so you can see if they really are the same post.
Nov
6
awarded  Popular Question
Oct
28
awarded  Popular Question
Oct
28
comment Wordpress query fire inner join in one table 5 times?
You're using meta for taxonomy like data. meta_query queries, especially complex ones do not perform well at all.