Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How can in wordpress, one sell the "create post" option

To elaborate more. One has to pay an amount before he can make create a post on the wordpress site.

MORE ELABORATION

Suppose a person pays $20, he gets to write a post on wordpress. This is just like a paid listing website. If the person wants to create another post, he has to pay another 20 Bucks.

share|improve this question
    
Well, if someone is giving a negative point, should they state a reason for doing so. –  Nikhil Aug 11 '11 at 5:21
    
Do you mean a premium/paid account for post creation? Rephrase your question if you dislike negative votes and don't want them. –  Rutwick Gangurde Aug 11 '11 at 5:22
    
@Rutwick : with all good intentions, it never occurred to me my question was a bit ambiguous. Yet what I want to achieve has been made more clear by description of the question. –  Nikhil Aug 11 '11 at 5:58
    
Okay. Enable registrations on your site, when a user buys a premium account (or a single pay, whatever), set an option or user meta that tells he has paid the amount. Then check if that value is set against him, if yes, assign him edit_post capability when he logs in (or create a new post creation area to restrict it according to your criteria). –  Rutwick Gangurde Aug 11 '11 at 7:08
    
But how do I restrict him by enabling him to create only one post per payment –  Nikhil Aug 11 '11 at 7:29
show 2 more comments

1 Answer

up vote 0 down vote accepted

As per comments you can make use of user meta functions to store user-specific information and use capabilities (or some more simple check) to control if user can create a post.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.