41,618 reputation
22549
bio website electrocinematic.com
location San Francisco
age
visits member for 4 years, 2 months
seen 6 mins ago

I like bicycles and cats.

http://electrocinematic.com/


3h
comment Need help with custom rewrite rule
did you flush rewrite rules? it's probably easier for your purposes to just use add_rewrite_endpoint, it generates the correct rules for you.
7h
awarded  Enlightened
8h
awarded  Nice Answer
15h
answered Need help with custom rewrite rule
1d
comment Wordpress Pagination problem When using if condition inside the loop
please search previous pagination questions, this has been asked and answered many times.
1d
comment Custom form handling in WP.. the correct way?
one other note- you can move the creation of the WP_error object to inside the if condition, since it's not used outside of that case.
Jun
27
comment Override get_template_directory() in child theme?
post type registration has an action to allow you to modify them, maybe if you explain what you want to change in that file, you won't need to completely replace it.
Jun
26
comment Rewrite a 'page' URL based on query string parameters?
rewrite rules have to set query vars to produce a valid main query, your rewrite rule only sets your custom vars.
Jun
26
comment Custom form handling in WP.. the correct way?
If you're using name as a POST var, WordPress is trying to query for a post with a slug that matches that value. That's why you can't use any reserved terms as form element names, WordPress picks those up and it changes the main query.
Jun
26
comment Editted Theme Files Get Updated/Reverted Every So Often
it's not clear why theme files would get reverted or updated, but the proper way to edit a theme is to create a child theme.
Jun
25
comment Issue with wp_insert_post and post_content field error Could not update post in the database
you should only get the Could not update post in the database error if you're passing ID to update an existing post. Something doesn't seem right here if you're not setting that and getting this error.
Jun
25
comment Custom Taxonomy Not Saving in Front End Post
note that tax_input only works if the user submitting the post has the capability to modify that taxonomy.
Jun
25
comment Custom form handling in WP.. the correct way?
not sure exactly what the issue is, but I see a couple of potential issues. you can't use post vars that are WordPress query vars, for example name. Prefix everything with a unique string to guarantee uniqueness. you also can't generate any output on the init action, you will step on any subsequent code that sets headers.
Jun
24
awarded  Enlightened
Jun
24
awarded  Nice Answer
Jun
23
comment Add JavaScript in footer if shortcode used in page
ok, what have you tried?
Jun
22
comment CPT Group by Date metabox Value
@Geoffrey - what is your date format? if you order the query by date and events aren't grouped naturally as a result, then your date format is probably wrong. outputting the header for each group is simply a process of checking the month of each event and outputting it when the current event's month differs from the previous.
Jun
22
comment How to make my third multisite blog start with id 1000?
you will have to edit the database directly and manipulate the AUTO_INCREMENT value of blog_id column in the wp_blogs table before each new site is created. as has been noted, this is generally a bad idea and should be avoided.
Jun
22
comment Use wp_redirect without filter in plugin file
you can't do redirection inside a shortcode handler, output has already started. you need to check for redirection case and redirect earlier, see this question or this question.
Jun
21
comment Wordpress Child Categories Display as Parent Categories
this may help you.