211 reputation
16
bio website 8stars.org
location Austin, TX
age
visits member for 2 years, 7 months
seen Mar 22 '13 at 15:36

Mar
22
comment Selectively applying action based on role
I wound up abandoning it—ran out of time on the project, had to make do without.
Oct
20
comment Set user role based on invitation code
Thanks, that gives me some ideas. I think in combination with this tutorial (blog.ashfame.com/2010/11/…), I can make it work.
Apr
9
comment How can I input a single right-to-left paragraph (Hebrew) into an English page/post?
To be semantically correct, I'd recommend using the attribute/value pair 'lang="he"' to the P tag. In fact, you could omit the class attribute entirely and use the lang attribute for any CSS matching. So if you wanted to style the Hebrew text specially, you'd add a rule with the selector p[lang="he"] to your CSS.
Mar
26
comment Best structure / rewrite rules to achieve the following url
Just ran across this: ben.balter.com/2011/08/29/…
Mar
22
comment Best structure / rewrite rules to achieve the following url
I see what you mean. There might be a way to make use of WP's internal versioning system, but figuring that out is way above my pay scale.
Mar
15
comment sub posts to parent post
Hmmm. There are probably a few ways to approach this. If you know that you'll always be using exactly the same kinds of sub-posts (eg "specs/features/gallery"), you could fake it by creating a custom post type that has all of those fields merged into it, and only showing the correct sub-part in response to a specific URL structure. I'm a little out of my depth on that.
Mar
6
comment Selectively applying action based on role
The "user_has_role" function is one that I found elsewhere. I'm dealing with custom roles and post types, and haven't defined names for every capability I'd want to trap for. This is also not a capability per se: what I'm trying to do is set a post expiration date based on the user role.
Feb
28
comment Show only oldest post by author
Thanks—this is a little out of my depth, but I get the general idea. I do want to be able to administer these posts (expiring them, etc). Not sure if this approach would permit that. I also want to allow other kinds of posts by these users--would this method show the post-writing interface as part of the profile or a top-level sidebar item?