hide title, description and keyword fields?

WordPress Business Themes Forums Responsive Themes Video Theme hide title, description and keyword fields?

hide title, description and keyword fields?

August 23, 2016
Lauren Lauren
  • Lauren
    Lauren
    Newbie 28 points

    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?

    August 23, 2016 at 4:48 pm
  • Josh
    Josh
    Super Guru 13,887 points

    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

    August 23, 2016 at 5:39 pm
  • Lauren
    Lauren
    Newbie 28 points

    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.

    August 23, 2016 at 10:44 pm
  • Josh
    Josh
    Super Guru 13,887 points

    Theme core files

    August 23, 2016 at 11:29 pm
    This reply was awarded the best answer by the topic poster.
  • Lauren
    Lauren
    Newbie 28 points

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

    August 25, 2016 at 8:41 pm
  • Josh
    Josh
    Super Guru 13,887 points

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

    August 26, 2016 at 7:44 am
  • Lauren
    Lauren
    Newbie 28 points

    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

    August 26, 2016 at 12:16 pm
  • Josh
    Josh
    Super Guru 13,887 points

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

    August 27, 2016 at 3:37 pm
  • Jason
    Jason
    Guru 834 points

    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;
    }

    September 15, 2017 at 7:31 am
  • Josh
    Josh
    Super Guru 13,887 points

    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;
    }

    September 15, 2017 at 1:24 pm
  • Jason
    Jason
    Guru 834 points

    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

    November 10, 2017 at 7:15 am
Viewing 11 posts - 1 through 11 (of 11 total)

Didn't find what you were after?

Chat with us now

or contact our support team