Sometimes, rather than adding capabilities to an existing role, you need to create a whole new role. The code to do so is relatively easy. Again, place these lines in your theme's functions.php file: … [Read more...] about Creating roles
snowmg!
How rare is snow here? I'd never seen this glyph on the weather widget, let's put it that way. … [Read more...] about snowmg!
preserving HTML
Several of the description fields in WordPress will strip any HTML entered into them. You can preserve them with a little work, though. User Descriptions The biography field on the user profile page accepts a limited number of HTML tags — the same ones allowed in comments. If you … [Read more...] about preserving HTML
moving the furniture
If you follow me on RSS or LiveJournal, you probably just saw a flood of new posts. Sorry about that! When I started wordpress-as-cms.com last summer, I meant it to be a place where I could write about all my geeky technical WordPress stuff without boring you all here. But, since … [Read more...] about moving the furniture
Esquire has an amazing profile of Roger Ebert
Esquire has an amazing profile of Roger Ebert … [Read more...] about Esquire has an amazing profile of Roger Ebert
using shortcodes everywhere
Read this in Spanish | Leer esta en Español Read this in Turkish | Türkçe bunu okuyun At the moment, shortcodes in WordPress are processed only in post/page content. You can use them in lots of other places, though, if you enable them for each field you want. Here's how to use … [Read more...] about using shortcodes everywhere
A letter to the personal care industry
Could you try to sell us products that don't infantilize us and give us cancer? nolove, Women … [Read more...] about A letter to the personal care industry
Take control of your excerpts
Here are three short functions you can add to your theme's functions.php file to change the way excerpts work on your site. When you use the_excerpt() in a theme file, WordPress will first use the contents of the Excerpt field from your Post→Edit screen. If it's empty, … [Read more...] about Take control of your excerpts
Changing roles’ capabilities
If you need to change one or two capabilities, it's relatively easy to do so with a few lines of code in a plugin or your theme functions file. For example, if we wanted to allow any logged-in user to view our private posts and pages, we would need to grant them two additional … [Read more...] about Changing roles’ capabilities
Amazon and the price of silence
Amazon and the price of silence — a mini-case study in PR. … [Read more...] about Amazon and the price of silence