10,026 reputation
837
bio website christopherdavis.me
location Fort Worth, TX
age 27
visits member for 2 years
seen 2 hours ago
stats profile views 526

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

Connect


Mar
12
answered if else for custom $curauth-> field
Mar
12
answered Most efficient way of deleting post
Mar
8
comment Testing for addon plugin activated
correct. You wait until the plugins_loaded hook to check so you can be sure it's loaded. If the plugin is active (and, by extension, install) the checks will be true.
Mar
8
comment Testing for addon plugin activated
fair enough. Added an edit to show what you could do.
Mar
8
revised Testing for addon plugin activated
added 721 characters in body
Mar
8
answered Testing for addon plugin activated
Mar
8
comment Fixing YARPP plugin FULLTEXT MySQL indexing
Just the indexes.
Mar
8
answered Fixing YARPP plugin FULLTEXT MySQL indexing
Mar
5
answered Trouble Making WP_Query paged
Mar
3
answered How to order posts in an arbitrary order?
Mar
3
answered Select From wpdb - Author/User Directory page
Mar
1
answered Fatal error: Exception thrown without a stack frame in Unknown on line 0
Feb
23
awarded  Revival
Feb
20
comment Get all posts containing a shortcode
Cache the result with a transient. So you don't have to make the query very time.
Feb
20
answered Get post content intro text on category.php?
Feb
20
answered Get all posts containing a shortcode
Feb
20
answered Sort query output on taxonomy term archive by post type using pre_get_posts
Feb
20
answered WordPress function breaks widget's markup?
Feb
20
reviewed Reviewed How to use a newly registered setting with a checkbox and the default value 'true'
Feb
20
comment How to use a newly registered setting with a checkbox and the default value 'true'
Seems like we'd need to see a bit more of your code. Where exactly is the if (... get_option(...)) business?