| bio | website | websitesthatdontsuck.com |
|---|---|---|
| location | Beaverton, OR | |
| age | 28 | |
| visits | member for | 2 years, 2 months |
| seen | May 21 at 23:41 | |
| stats | profile views | 15 |
I do WordPress with 10up.
|
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 |
|
Mar 24 |
revised |
Fastest way to loop through all posts? Changed the title to reflect the question better. |