Your address will show here +12 34 56 78

Home Forums WP RESIDENCE – Real Estate WordPress Theme FORUM How to make upload image NOT MANDATORY

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

  • Author
    Posts
  • #113734

    The file is user_dashboard_add.php

    removed this code twice in the file:

    if ($_POST[‘attachid’]==”){

    $has_errors=true;

    $errors[]=__(‘Please submit an image for your property’,’wpestate’);

    }

     

  • #114512

    ali
    Participant

    Thanks for the post Camelia. It works, but on front end it is still written that “* At least 1 image is required for a valid submission.
    How can i remove that line?

    • This reply was modified 2 years, 3 months ago by  ali.
  • #116831

    Anna
    Keymaster

    Hi Ali

    Edit the text with blank with POEDIT – this is the non technical version and easiest – http://wpestate.org/forums/topic/use-poedit/

    Thank you
    Anna

You must be logged in to reply to this topic.