41,138 reputation
22245
bio website electrocinematic.com
location San Francisco
age
visits member for 4 years, 1 month
seen 1 hour ago

I like bicycles and cats.

http://electrocinematic.com/


Apr
23
comment Join custom tables
You can do anything you write the SQL to do using the $wpdb class.
Apr
23
comment Use result of first ajax call to trigger another
When do you bind the submit function to your second form? Your problem is likely with your javascript, not WordPress. See direct and delegated events in jQuery documentation.
Apr
22
comment Add value to array in database
why push the values into an array? seems to make more sense to store each visit as a row, especially if you intend to do any meaningful querying on it.
Apr
22
comment $authordata related posts by author
also consider that $authordata contains info for the current post, which may not be the post you expect if other queries were made somewhere on the page and the post data was not reset.
Apr
22
comment Removing Custom Permalink Structure for Custom Post Type
what is the value of with_front in your post type registration code?
Apr
21
answered Proper way to set up rewrite with Wp
Apr
20
comment How to create custom frontend php page via plugin
a custom page and an endpoint are different things, and have different solutions.
Apr
19
awarded  Yearling
Apr
17
comment Avoid changing menu query with suppress_filters => false
have you tried removing the filter within the filter itself? presumably the menu query runs after the main query, so there will be no filter for subsequent queries beyond the first.
Apr
16
comment Post with Custom Permalinks
@websupporter Facebook doesn't follow redirects, once a URL is in graph, it can't be changed without losing all prior activity.
Apr
16
answered Trying to run website a php file is blank
Apr
15
comment Shortcodes: override a shortcode / change shortcode on the fly
why not just set two attributes in a single shortcode and handle both cases from that one shortcode handler?
Apr
15
awarded  templates
Apr
14
comment Best way of passing PHP variable between partials?
header and footer are included via a function, so the scope of everything in those files is those function's scopes.
Apr
14
comment Working with gallery shortcode and get gallery images
if you look at the source file that function is defined within, you'll see a number of other functions that will probably give you what you need.
Apr
14
comment Why will featured image show on some pages but not on other pages using the same template?
you're not displaying featured images, you're displaying attachments. featured images aren't necessarily attached to the post, and attachments aren't necessarily the featured image.
Apr
14
comment Redirect Every Instance of The Author Template Pages to Custom Author Pages
the simplest method is via a plugin.
Apr
13
comment How to get custom post type title, excerpt, thumbnail and permalink by post ID?
you are missing () in the function calls- the_title(), the_excerpt()
Apr
13
comment Working with gallery shortcode and get gallery images
have you looked at get_post_gallery_images in source? check the other related functions in there.
Apr
13
comment Redirect Every Instance of The Author Template Pages to Custom Author Pages
you could just change the author base to team and remove the need to redirect.