14,397 reputation
22561
bio website x-team-wp.com
location Houston, TX
age
visits member for 4 years, 4 months
seen Dec 15 at 20:39

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
10
comment Session problem in PHP - trying to create a simple CAPTCHA
This question has absolutely nothing to do with WordPress.
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.
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.
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.
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.
Oct
28
comment Redirect home resets (qtranslate) language
Yes along with the rest of the code that makes up the function. I was just giving an example.
Aug
25
comment wpColorPicker is not a function!
Did you read the instructions
Aug
24
comment posts_where Fails with More than One Custom Field in Query
Can you add the SQL generated after your filter has been added?
Aug
24
comment Can admin-ajax.php be used for spam purposes? And if yes, how to prevent that?
Based on the answers you have been given and the wording of your question I have no idea what your asking. Stop being hypothetical and just ask a question.
Aug
23
comment Can admin-ajax.php be used for spam purposes? And if yes, how to prevent that?
Well then you have been hacked.
Aug
11
comment Unable to send upload url
"upload" is not a valid input type attribute. Have you tried using "file".
Aug
11
comment I can't connect my custom jquery to wp admin
You need to use the event object on the click listener and call preventDefault(). jQuery("#some_div").click(function(event) { event.preventDefault(); //your code });
Apr
17
comment WP Paginate not working properly
What function or method are you using for the navigation links? Why are you setting $notquery to null? You also need to be using wp_reset_postdata()
Apr
15
comment Increase of failed login attempts, brute force attacks?
Thanks for that! It works on PHP-FPM but after searching I see it won't work when php is running CGI/SuExec I'm going to have to make a quick update to deactivate the plugin in that environment.
Apr
11
comment Get category ID from category slug (not working)
Can you dump the $category object to make sure it exists. var_dump( $category ); After the call to get_category_by_slug().
Apr
9
comment Single page not working for custom post type
Did you refresh permalink settings?
Apr
7
comment Query specific posts per user selections from dropdown menus
Hi WPMU-DEV, Welcome to WPSE. Signatures or tag-lines are not allowed in answers or questions. Please see the FAQ
Apr
7
comment the_time() returning wrong date/time (way in the future)
Always check the code before suggesting configuration settings. 99% of the time the code is wrong.
Mar
29
comment Load plugin scripts and styles only on plugin page
Nor working doesn't really tell us anything. Is the script loading on edit.php?