[wp-hackers] need a little nudge

Stephen Rider wp-hackers at striderweb.com
Thu Jul 24 16:31:16 GMT 2008


Why not just make the 20 authors... authors?

WordPress makes a separate page per author.  Look at example.com/blog/ 
author/*username*

Any given author's posts are automatically listed under that author,  
and you can then use categories as... categories.  It's so crazy it  
just might work. ;)

Stephen

On Jul 24, 2008, at 10:21 AM, Shelly wrote:

> I'm compressing 20 blogs into one.  Right now, I'm converting the  
> individual bloggers into categories on this single blog.  I *think*  
> I can move the posts over from each individual blog and assign them  
> to these individual users on the one blog.  But the question comes  
> in where each of these users post on the site.  I want to restrict  
> each user to a single category.  I can see a way to d this: the user  
> names are actually *exactly* the same name as the category I want to  
> post them in (for example, I want user John Smith to writ *only* to  
> the category named "John Smith" - the category slug is different,  
> however - it's "sd_smith")  I *think* i can write a little function  
> for this (since most plugins I've found are either too much, or not  
> what I need) that would check the author's name against what  
> category he's selected when he hits the "publish" button.  Just  
> basically do a preg_match or something.  Problem is, I don't quite  
> know how to stop the posting function from going through, or how to  
> stop it to check.  (actually now that I think about it, I *could*  
> just do author pages and "fake" the categories...hmmm...)


More information about the wp-hackers mailing list