14,317 reputation
22561
bio website x-team-wp.com
location Houston, TX
age
visits member for 4 years, 3 months
seen yesterday

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


Jan
12
comment Converting a working AJAX form to work with Wordpress
You need to provide more details simply saying "doesn't work" makes it impossible to help you. What doesn't work? Also what event are you attaching your ajax js code to? I can probably assure you that the ajax isn't even being run. Please post all your javascript related to the form submission and validation. Also attach your wp_enque_script to wp_enqueue_scripts hook not init.
Jan
9
answered How to select featured images for 1500 posts?
Dec
27
revised How does admin-ajax.php work?
edited body
Dec
27
revised How does admin-ajax.php work?
It's admin-ajax not ajax-admin
Dec
21
revised template_redirect not being called when using ajax
edited tags
Dec
19
comment Remove custom post type slug from URL
You shouldn't be adding rewrite rules on init. You should just add your rule to the current rules.
Dec
19
reviewed Approve suggested edit on File and directory permissions
Dec
19
reviewed Approve suggested edit on Remove “Time to upgrade” message from dashboard
Dec
19
reviewed Close Show a user their recently viewed posts
Dec
14
answered Best way to abort plugin in case of insufficient PHP version?
Nov
21
answered Can't get expected result from a wpdb query
Nov
18
answered Shortcode outputs at the top of the_content
Nov
16
awarded  Popular Question
Nov
16
comment wp_enqueue_script outside functions.php file?
possible duplicate of How to Link External jQuery/Javascript files with WordPress
Oct
23
comment Multiple orderby parameters in pre_get_posts() action
Those errors are because remove_filter( current_filter(), FUNCTION ); is not working or is being fired to early. You can try setting the priority to 99999 to make sure it fires last.
Oct
23
comment Multiple orderby parameters in pre_get_posts() action
It needs to be in its' own function instead of mixed with your current pre_get_posts. If the remove_filter doesn't run the action will get added to every query on the page. You will get an unknown column postmeta.meta_value MySql error if it runs on any query that is NOT a meta_query because it needs the INNER join on postmeta to work. Use debug bar so you can see what the MySql looks like to debug this.
Oct
23
revised Multiple orderby parameters in pre_get_posts() action
added 46 characters in body
Oct
23
answered Multiple orderby parameters in pre_get_posts() action
Oct
22
awarded  Notable Question
Oct
19
awarded  Revival