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

I like bicycles and cats.

http://electrocinematic.com/


9h
comment Adding 'query_vars' filter redirects to the latest posts page
is your parameter literally param? you'll get unintended behavior if you use a query var WordPress already uses for other purposes.
10h
comment Lightbox for Footer in Wordpress
the answer will be specific to whatever plugin you are using, and will probably be best to ask whomever created that plugin.
2d
comment Add_action does not work
Your subscribe.php file doesn't get loaded on AJAX requests, so your actions are never added.
Mar
28
comment Shortcode doesn't display in custom post type
so you're saying using the_content doesn't render shortcodes? shortcodes not working with get_the_content is expected, as is noted in the documentation for that function.
Mar
28
comment Does WordPress refer to any files outside of the main install folder (and database)?
It's also possible to install WordPress within a directory and serve it from the root of your domain, you just need to move the index.php file in the first level of the install directory up one level, and edit the include statement to point to the directory you installed in. See Giving WordPress Its Own Directory in Codex.
Mar
27
comment is_email() function Not Validating within Foreach Loop
changing $email = $csv_data[3]; to $email = trim($csv_data[3]); results in all emails validating, so it does appear to be characters in your csv file at fault.
Mar
27
comment Getting saved value directly after saving theme options
I don't see why that would trigger a headers already sent error, are you sure you don't have whitespace somewhere in your options file?
Mar
27
comment is_email() function Not Validating within Foreach Loop
have a look at the filter for is_email which will let you determine how it's failing
Mar
27
comment is_email() function Not Validating within Foreach Loop
does your CSV file have whitespace? leading or trailing whitespace will fail validation.
Mar
27
comment Different post types on same page in 2 separate columns using 2 different loops
This appears to be a CSS question, not a WordPress question.
Mar
27
comment Create post programmatically
did you change post type to a registered type?
Mar
27
comment WP_load, shortinit for wordpress Ajax
the point of shortinit is to load fewer files, but if you need a lot of API functions and find yourself having to include a bunch of files manually, then shortinit is kind of pointless. AJAX requests really shouldn't be taking 3-4 seconds though, you're seriously underpowered or something else is awry. I see millisecond response times on my cheap shared server.
Mar
27
comment Custom post type, permalinks, taxonomies and blog posts
have a look at this answer
Mar
26
comment I need a standalone script in web root but still have access to the database
yes, get_post_meta will work. you don't need global $wpdb unless you're calling $wpdb methods, like $wpdb->get_results, etc.. are you sure you're passing a valid post ID and key?
Mar
26
comment Strangely unclickable labels (of checkboxes) AND jQuery not working in this form
look in your browser's console for javascript errors and markup issues.
Mar
26
comment I need a standalone script in web root but still have access to the database
query strings start with a single ?, multiple vars are separated by a &, so domain.com/?do_my_export_stuff&lang=eng&output=xml&type=short. but note that WordPress already uses type, you may need to change that.
Mar
26
comment I need a standalone script in web root but still have access to the database
Just append the extra GET vars to the end of the example URL I gave, but make sure you use GET vars that don't clash with WordPress reserved terms, otherwise you may trigger unexpected things.
Mar
26
comment jQuery script isn't posting to database
'$table' and '$quanid'
Mar
26
comment jQuery script isn't posting to database
variable expansion does not occur in single-quoted strings
Mar
25
comment meta query always fails even if data is correct
for your query to succeed, the value must be 33, and as you can see in your screenshot, the value is a serialized array, not 33.