Viewing 11 posts - 1 through 11 (of 11 total)
Lauren

hide title, description and keyword fields?

Hello, I have a general question about all themes. Any way to hide the title, description and keyword mandatory fields area under "Add listing" on /add-listing page so that I can add my own custom fields there?

Created: August 23, 2016 at 4:48 pm


  • Josh
    August 23, 2016 at 5:39 pm

    Hello Lauren,
    The fields are required hence you will first have to disable this by editing theme core files then use a css code to hide them.You can also remove them directly when editing the theme core files

  • Lauren
    Lauren
    August 23, 2016 at 10:44 pm

    Thanks..Can you give me an idea of what pages/templates I need to change to make fields non-required. I have found out how to delete the fields from the form.


  • Josh
    August 23, 2016 at 11:29 pm

    Theme core files

  • Lauren
    Lauren
    August 25, 2016 at 8:41 pm

    sorry to be a pest, but when you mean core files do you mean css.core.css?


  • Josh
    August 26, 2016 at 7:44 am

    Hello Lauren,
    By theme core files I mean the files located in your theme files under the folder framework >class

  • Lauren
    Lauren
    August 26, 2016 at 12:16 pm

    I have very little php experience and all your help is greatly appreciated. I just need to know what file to edit in the framework>>class. I am searching for “description” “title” and “validation” in all of these files and I cannot find exactly where form validation for these fields takes place


  • Josh
    August 27, 2016 at 3:37 pm

    Hello Lauren,
    Please post here >>www.premiumpress.com/designwork/

  • Jason
    Jason
    September 15, 2017 at 7:31 am

    I added all this into here and worked, BUT i need to know how to stop the DESCRIPTION section from being Mandatory field please otherwise hiding the DESCRIPTION section wont work, keeps asking to complete yet we have hidden it

    Add here: Theme Setup>General Setup>Custom CSS/Javascript

    textarea.form-control {
    display: none;
    }
    input#form_post_tags.form-control {
    display: none;
    }
    div.row.uploadiconbox {
    display: none;
    }

    div#form-row-rapper-post_content.form-group.clearfix.col-md-12 {
    display: none;
    }

    div#textarea_feedback {
    display: none;
    }

    div#panel_section4.panel.panel-default {
    display: none;
    }


  • Josh
    September 15, 2017 at 1:24 pm

    Hello Jason,
    Please access the file Appearance >add-form.php remove below code


    if(de3.value == ''){
    alert('<?php echo $CORE->_e(array('validate','0')); ?>');
    de3.style.border = 'thin solid red';
    de3.focus();
    colAll(); jQuery('.stepblock2').collapse('show');
    return false;
    }

  • Jason
    Jason
    November 10, 2017 at 7:15 am

    That yrs works but,

    May Kindly ask, how to stop the TITLE from being Mandatory pls Josh buddy ?

    I couldnt seem to do it in add-form, unless I wasnt doing it correctly

Copyright © 2010-2020 PremiumPress Limited.

secure payments