WordPress.org

Forums

WP User Frontend
[resolved] make "Post description" no-required field (4 posts)

  1. papamak
    Member
    Posted 2 years ago #

    hi,

    is it possible to make make "Post description" no-required field?
    maybe the user want to create post that contains only a title.....

    thanks

    http://wordpress.org/extend/plugins/wp-user-frontend/

  2. gibigate
    Member
    Posted 2 years ago #

    same problem

  3. Josef Ulander
    Member
    Posted 2 years ago #

  4. goutama
    Member
    Posted 1 year ago #

    Problem is solved.
    Go to line 151 and remove following code from the line

    class="requiredField"
    you may remove asterix (*) mark from line no 135.

    go to line 334 and remove following code
    if ( empty( $content ) ) {
    $errors[] = __( 'Empty post content', 'wpuf' );
    } else {
    $content = trim( $content );
    }
    and its done
    http://www.techhelpforums.com/web-development/2852-make-description-field-not-required-wp-user-frontend.html

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP User Frontend
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.