WordPress.org

Ready to get started?Download WordPress

Forums

How to force my site's users in some matter. (3 posts)

  1. Fazle Rabby
    Member
    Posted 1 year ago #

    How to force my site's users to use at least two tags in a post?
    And,
    How to force my site's users to use at least 5 words as a post title?
    And,
    How to force my site's users to use at least 50 words as a post?

  2. Steven Jones
    Member
    Posted 1 year ago #

    Two options I can think of:

    1) Use JQuery to check the criteria and disabled the publish button until they're met.

    2) When the post is saved (save_post) - check the criteria and make the post into a 'draft' if the criteria is not met.

  3. Fazle Rabby
    Member
    Posted 1 year ago #

    I don't understand what you want to say. Because I have no programming knowledge. Please give me some code to do these work.

Topic Closed

This topic has been closed to new replies.

About this Topic