40,469 reputation
22042
bio website electrocinematic.com
location San Francisco
age
visits member for 3 years, 11 months
seen 5 hours ago

I like bicycles and cats.

http://electrocinematic.com/


Mar
17
comment Permalink Rewrite with Archive - Archive gets 404
your register_post_type is missing the has_archive parameter. if you set that to toys and flush permalinks, it should work fine.
Mar
17
comment Permalink Rewrite with Archive - Archive gets 404
please add the code you use to register the taxonomy and post type. also note that the order you register things in may matter.
Mar
17
comment Content of my site disappeared after installing plugin wp super cache
enable debugging and check for errors.
Mar
17
comment Foundation modal in wordpress php loop
I doubt the ID is solely for styling, why would the link have a data-reveal-id attribute containing the value of that ID if that was the case? Have you looked at the page source and verified that each instance of the modal has the same src in every img tag?
Mar
17
comment query rewrite directing to correct page but not performing the query
internal rewrites set WordPress query vars, the plugin is probably looking for GET vars.
Mar
17
answered Foundation modal in wordpress php loop
Mar
16
awarded  Necromancer
Mar
16
comment Using Custom Taxonomies with Custom Post Type UI
what you want is not possible using just that plugin, you will need to add your own post_type_link function to make it work.
Mar
16
comment Using Custom Taxonomies with Custom Post Type UI
This question has been answered in some form here a few times, here's one example.
Mar
14
comment Login user after registration programmatically
if your POST fields are sufficiently unique, I don't see why you have to know it's the registration page to process a registration, anywhere between init and template_redirect would work.
Mar
14
comment Login user after registration programmatically
The error tells you the problem- you have to log someone in before any output is sent to the browser.
Mar
13
comment $wpdb->insert running multiple times?
the two most common culprits are browser prefetching and 404s on assets loaded by the page.
Mar
13
comment Efficient way to save a lot of meta data
INSERT with VALUES can insert multiple rows in a single query.
Mar
13
comment Efficient way to save a lot of meta data
if meta data needs to be part of a query, then it needs to be in an individual row in the database, and must be inserted individually. if meta data does not need to be part of a query, it can be saved as an array under a single key, which will only require one insert.
Mar
11
comment Trying to get property of non-object in shortocde
@cristian.raiber if you're inside a shortcode function, there is no $post var local to that function.
Mar
11
answered Trying to get property of non-object in shortocde
Mar
11
comment Trying to test out wp_set_object_terms, but not working
where is this code? is it hooked to init?
Mar
11
comment How to enqueue both style.css and style-mobile.css in child theme
each style should have a unique handle, you've named them both child-style.
Mar
10
answered How can I display a specific number of post in a category via a url
Mar
9
comment Link Button url count php and wordpress
you can't assign the_permalink() to a variable, it echoes its value, use get_permalink().