Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
deleted 103 characters in body; edited tags
Source Link
kaiser
  • 50.8k
  • 27
  • 150
  • 244

At first, sorry for my bad english.. :-)

I created a custom post type with taxonomy and now want to allow users (of a specific user group) to post only one single post in a specific category.

If the user has already posted a post, he can only edit his own post (I already have the PHP for that).

I found a lot of solutions that users can only post in a specific category or only edit their own posts, but no-where an conditional that the user can only post one post.

The functionality might be seen as a "second profile", it should be like a profile (Users can post one post, edit this post, all users and guests can view the post).

I would have several ideas, maybe a conditional, if the user has 0 posts in the category, than he has the right to post..?

I would be really glad for any help!

Thanks a lot!

At first, sorry for my bad english.. :-)

I created a custom post type with taxonomy and now want to allow users (of a specific user group) to post only one single post in a specific category.

If the user has already posted a post, he can only edit his own post (I already have the PHP for that).

I found a lot of solutions that users can only post in a specific category or only edit their own posts, but no-where an conditional that the user can only post one post.

The functionality might be seen as a "second profile", it should be like a profile (Users can post one post, edit this post, all users and guests can view the post).

I would have several ideas, maybe a conditional, if the user has 0 posts in the category, than he has the right to post..?

I would be really glad for any help!

Thanks a lot!

I created a custom post type with taxonomy and now want to allow users (of a specific user group) to post only one single post in a specific category.

If the user has already posted a post, he can only edit his own post (I already have the PHP for that).

I found a lot of solutions that users can only post in a specific category or only edit their own posts, but no-where an conditional that the user can only post one post.

The functionality might be seen as a "second profile", it should be like a profile (Users can post one post, edit this post, all users and guests can view the post).

I would have several ideas, maybe a conditional, if the user has 0 posts in the category, than he has the right to post?

Source Link

Allow users to only CREATE one single (custom) post

At first, sorry for my bad english.. :-)

I created a custom post type with taxonomy and now want to allow users (of a specific user group) to post only one single post in a specific category.

If the user has already posted a post, he can only edit his own post (I already have the PHP for that).

I found a lot of solutions that users can only post in a specific category or only edit their own posts, but no-where an conditional that the user can only post one post.

The functionality might be seen as a "second profile", it should be like a profile (Users can post one post, edit this post, all users and guests can view the post).

I would have several ideas, maybe a conditional, if the user has 0 posts in the category, than he has the right to post..?

I would be really glad for any help!

Thanks a lot!