remove leave comment

  • christos
    christos
    Newbie 23 points
    August 8, 2015 at 6:34 pm

    Hello,
    I have the site http://www.musicalads.gr and i want to remove the ” leave comment ” box from my site. How can i do that ?

    I try to use this code ” <script>
    jQuery(“.single-post #core_middle_column .panel:last “).hide()
    </script> ” but it’ s not run.

    Attachments:
    You must be logged in to view attached files.
  • M
    M
    Senior Member 278 points
    August 8, 2015 at 9:57 pm

    Turn off Comments through WordPress -> Settings


  • Josh
    Super Guru 13,875 points
    August 9, 2015 at 7:39 am

    Try this under Design Setup >Custom Meta Data >Header Styles
    <style>
    #wlt_comments_form_lc{
    display:none
    }
    </style>

    This reply was awarded the best answer by the topic poster.
  • christos
    christos
    Newbie 23 points
    August 9, 2015 at 8:19 am

    ok it work, thanks but how can i delete the title ” COMMENTS ” ?

    thanks for your help!

    Attachments:
    You must be logged in to view attached files.

  • Josh
    Super Guru 13,875 points
    August 9, 2015 at 8:30 am

    Replace the above code with
    <style>
    #wlt_comments_block{
    display:none
    }
    </style>

  • Mark
    Mark
    Titan 733 points
    August 9, 2015 at 8:57 am

    @Josh, why do you always come up with some css or javascript solution that just ‘hides’ the elements, rather than dealing with it either using theme settings or code?

    The way Mark Fail designed the PremiumPress themes you control the things that are displayed using shortcodes. In the theme versions prior to v8 you could edit the shortcodes from admin but now you need to edit the files content-single-listing-classifieds.php (replace the word classified with the correct one depending on the type of theme you are using).

    The correct way to remove the comment box:
    If you edit that file remove the shortcode that says [comments] and your comments are truly gone (not just hidden).

  • christos
    christos
    Newbie 23 points
    August 9, 2015 at 1:20 pm

    ok thanks for the answers !


  • Josh
    Super Guru 13,875 points
    August 9, 2015 at 2:35 pm

    You’re welcome 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes