156 reputation
5
bio website 10up.com
location Portland, OR
age 30
visits member for 3 years, 9 months
seen 9 hours ago

User Experience Director for 10up. We create websites that make publishing content easy, maybe even fun. Our agency works primarily with WordPress.


Oct
28
answered all tincymce's switch when updating page after changing from html to text in custom metabox
Apr
28
comment Using Disqus, how to stop storing comments in wp database?
This code is straight from Disqus' standalone javascript code. Basically you're setting up some javascript variables unique to your site that identify the site and the current thing being commented on. Then Disqus' embed.js is created asynchronously and uses those variables to display the proper comment form.
Mar
6
comment Query all posts where a meta key does not exist
Well written and confirmed that adding an empty value returns expected results. I'd say it's unintentional, may be worth a look at trac.wordpress.org to see if there's already a ticket, if not, this is reproducible.
Jul
13
answered Using Disqus, how to stop storing comments in wp database?
Jun
16
awarded  Commentator
Jun
16
comment What SQL Query to do a simple find and replace
Don't ever change the guid - even if going to a new domain. It's used to uniquely ID the post as the ID can change if the posts are being exported/imported into a new database. For one thing, RSS readers will use the GUID to tell if a particular article has been read or not. Changing the guid will effectively republish all your articles.
Mar
10
comment changing wp-admin/widgets.php
Why not go-ahead and submit a patch to core. Seems like a worthwhile improvement... Then, when registering a sidebar, an added param would be to specify a location. If none specified, it assumes it's structured like it is now (on the right)
Mar
10
answered How to change H1 color only for pages
Nov
4
comment Check if a script/style was enqueued/registered
Thanks for adding this to the codex, too!
Oct
21
comment Disable all other page except index,register,login till user login
@Ezhill - I believe it would be even easier if the login/registration pages are just that. If BuddyPress uses regular WordPress pages to store its registration and login form, you can use the is_page('') conditional...
Oct
21
revised Disable all other page except index,register,login till user login
deleted 5 characters in body
Oct
21
comment Disable all other page except index,register,login till user login
I'm with @ChipBennett - should be hooked on wp -- thought's that what I had done originally... Editing the answer.
Oct
21
comment Disable all other page except index,register,login till user login
Nice and clean...Thanks for mentioning that closures are a PHP 5.3 addition since Wordpress only requires PHP 5.2.4...
Oct
21
answered why is this script not working on my site
Oct
21
comment why is this script not working on my site
Probably - but do you want the entire date archive to show up with one entry per page - or just the first page to show up? You may want to go back and modify your initial question (i.e. what are you trying to achieve?), so we can help find a good solution.
Oct
21
comment Disable all other page except index,register,login till user login
I like the flexibility here though, because you can add more pages to a whitelist/blacklist. Glad you had the same action hook - though. Was trying to figure out the best one to use.
Oct
21
comment why is this script not working on my site
You may be able to achieve the same thing using sticky posts - but I haven't worked with them enough to know all the ramifications of marking a post as sticky.
Oct
21
answered Disable all other page except index,register,login till user login
Oct
21
answered why is this script not working on my site
Mar
24
awarded  Editor