131 reputation
112
bio website
location
age
visits member for 2 years, 6 months
seen Nov 18 '13 at 23:13

Jul
2
awarded  Curious
May
1
awarded  Popular Question
Mar
26
awarded  Popular Question
Nov
18
comment single-{$post_type}-{slug}.php for custom post types
fixed the $template line. thank you. $object->post_name? no. that would return the post's slug, but I need the slug of the album that the post is linked to.
Nov
18
revised single-{$post_type}-{slug}.php for custom post types
fixed formatting of $template = "single... line.
Aug
17
awarded  Notable Question
Feb
9
awarded  Popular Question
Dec
18
comment wp_insert_post_data filter to set category
should the function check that no category has been specified for the said post before setting the 'default' categories?
Nov
27
accepted server load. $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_HOST']
Nov
27
comment server load. $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_HOST']
thank you. I'll look into the wp-config.php option. one of the plugins I have codes a change to the wp-config.php file. I'll look at adapting it.
Nov
27
comment server load. $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_HOST']
@s_ha_dum "sending himself private messages"; I guess you could say that. for example, if I want to see the contents of a variable half-way down the front-page.php template, I'd check the ITS_ME switch and vardump() the variable if I was the visitor.
Nov
27
revised server load. $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_HOST']
added an explanation.
Nov
27
asked server load. $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_HOST']
Nov
26
revised Expanding the allowed HTML tags in comments?
added references to kses.php
Nov
26
answered Expanding the allowed HTML tags in comments?
Nov
22
answered root-relative links for multiple parked domains
Jun
5
accepted how does $wpdb differ to WP_Query?
Jun
4
answered how does $wpdb differ to WP_Query?
Jun
1
comment When to use WP_query(), query_posts() and pre_get_posts
Rarst meant wp_reset_postdata()
Jun
1
comment how does $wpdb differ to WP_Query?
thank you for the clarification. still, does anyone know when one should use $wpdb as opposed to WP_Query ? I've done quite a few searches on the 'net but haven't found any answers, at least as far as queries go rather than updates/inserts/deletes.