9,761 reputation
736
bio website christopherdavis.me
location Fort Worth, TX
age 27
visits member for 1 year, 11 months
seen 7 hours ago
stats profile views 496

I work as a web developer for Enterprise clients and build web applications with PHP.

Connect


2d
awarded  Popular Question
May
14
comment WPDB Query Question with Category Only
Why can't you use WP_Query?
May
14
revised WPDB Query Question with Category Only
Fix up formatting a bit.
May
12
awarded  Generalist
May
12
answered Take stored email addresses from custom post type & turn into one string
May
12
answered WP_Query meta_query by array key
May
11
answered Trying to add script to specific admin page is not working
May
11
revised Text Domains Across Multiple Plugins & Themes
added 148 characters in body
May
10
comment Text Domains Across Multiple Plugins & Themes
Everything is a single repo, so it's one commit history.
May
10
asked Text Domains Across Multiple Plugins & Themes
May
7
awarded  Popular Question
Apr
25
comment Using OR in WP_Query negates the “NOT EXISTS” compare
This is a known issue: core.trac.wordpress.org/ticket/23268
Apr
21
answered Custom Post Type Plugin: Where Do I Put The Template?
Apr
21
comment Custom Post Type Plugin: Where Do I Put The Template?
Not sure it's a duplicate, but it's a subjective question. Best practice to me would be to let the theme handle it. Best practices to others would be to make the plugin completely self-contained.
Apr
19
comment Why are my sidebars not registering in unit tests
"there's no need for a specific hook", false. It's being a good citizen. And it makes your theme more extensible. "you don't need to specify IDs", you don't "need" to, but it's a good idea. Making decisions as a developer rather than letting an application make them for you seems like a good idea.
Apr
19
answered How do i hide all comments from logged out users
Apr
19
comment How do i hide all comments from logged out users
Just a note: if you do this, the above should be the only thing in a file. comments_template will just blindly require it -- probably don't want anything else going on there.
Apr
18
answered Import Wordpress XML File from Within Functions.php
Apr
18
comment How to set featured image from a variable
You've successfully made it more confusing. You should ask this question in the plugins support forum, or tell us the name of the plugin. Not enough info, also very localized and unlikely to help others (voting to close).
Apr
18
answered Disable /wp-admin/plugin-install.php