How to remove the DESCRIPTION section in ADD LISTING

WordPress Business Themes Forums Responsive Themes Directory Theme How to remove the DESCRIPTION section in ADD LISTING

How to remove the DESCRIPTION section in ADD LISTING

September 15, 2017
Jason Jason
  • Jason
    Jason
    Guru 833 points

    Hi, just wondering, how Do I remove the DESCRIPTION section text box from when adding a listing ?

    I dont want that area available.

    Must be something in the: ( tpl-add.php ) file i must remove or make false, or something,,

    Anyone know ?

    September 15, 2017 at 5:55 am
  • Jason
    Jason
    Guru 833 points

    Hope someone knows

    September 15, 2017 at 5:55 am
  • Josh
    Josh
    Super Guru 13,887 points

    Hello Jason,
    Use below code under Theme Setup >General Setup >Custom css >Footer Styles

    <script>
    jQuery("#form-row-rapper-post_content").remove();
    </script>

    September 15, 2017 at 1:01 pm
  • Jason
    Jason
    Guru 833 points

    Thanks Josh,

    I found that, that code actuall disable maps and the date picker from working.

    This is what I put in that works

    Themesetup>General Setup> Custom CSS

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

    It removed the Description box completely without effecting anything else within site

    AND to stop the form requesting that be mandatory field to complete must remove this from

    THEMES>DT>add-form.php

    remove this and keeping all the lines that were remove FREE space otherwise the connection scrip wont match other destinations, around line 976 – 981 must be clear, nothing between the {

    }
    Keeping the bracket on the same line numbers as originally

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

    Yet must say this disables ALL mandatory fields, not just the needed DESCRIPTION as needed

    September 15, 2017 at 10:59 pm
  • Josh
    Josh
    Super Guru 13,887 points

    Hello Jason,
    Which other fields are getting affected?Seems ok on my end

    September 18, 2017 at 2:02 pm
  • Jason
    Jason
    Guru 833 points

    This pic shows where. Im ok now with other areas, thanks

    Attachments:
    You must be logged in to view attached files.
    November 10, 2017 at 2:55 am
  • Jason
    Jason
    Guru 833 points

    The TITLE in add listing, I dont want it to used by anyone, stop it from MANDATORY

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

Didn't find what you were after?

Chat with us now

or contact our support team