Your address will show here +12 34 56 78

Home Forums Custom Work Remove Mandatory Files in submission

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 2 years, 3 months ago.

  • Author
    Posts
  • #110212

    Anna
    Keymaster

    Hello,
    You need to edit the

    user_dashboard_add.php

    and look for these lines

    This is for Title – for example:

    if($submit_title==”){
    $has_errors=true;
    $errors[]=__(‘Please submit a title for your property’,’wpestate’);
    }

    This is for image

       if ($_POST['attachid']==''){
                $has_errors=true;
                $errors[]=__('Please submit an image for your property','wpestate'); 
            }

    You will find several check that can be deleted or commented.

    You need to do this twice – for add and edit. (both are on the this files)

    • This topic was modified 2 years, 3 months ago by  Anna.
    • This topic was modified 2 years, 3 months ago by  Anna.

The forum ‘Custom Work’ is closed to new topics and replies.