Viewing 15 replies - 1 through 15 (of 27 total)
  • hi try installing a plugin in this path
    https://www.ads-software.com/plugins/no-page-comment/

    You will need to bulk delete any existing comments you no longer wish to have on your site then you can disable any comments from being made.

    In settings > discussion uncheck the tick box allow comment on new articles.

    To stop comments on posts already published go to posts > tick “select all” hit the edit tab and “do not allow comments”.

    Hi @reputationsintact
    your way doesn’t work at all,have you tried your way so far?
    I did what you say but still ,users can post comments!

    What part is not working for you?

    One typo I made for existing posts is I said click the “edit” tab when I should have said you need to click the “quick edit” tab to turn those comments off

    I have just installed the theme ,I went to setting and uncheck everything in the path you said(setting -> discussion ) then run the site ,I could post a new comment!how we can disable sending comment ?

    Thread Starter veganadvocate

    (@veganadvocate)

    @rohallah thanks, i used that plug-in and it did what i wanted, nuke any opportunity for a spammer to post a comment etc

    I was wondering if facebook comments can be installed in place of the now MIA comments?

    Thread Starter veganadvocate

    (@veganadvocate)

    I noticed that the comments still come up, so I as wondering how to persistently get rid of them

    yor’welcome
    ok I will solve your problem ( by another way) wait.

    firs remove each plugin you installed for removing comment
    I offer you the best way for solving your problem

    at first
    creat a folder name it food-recipes-child
    creat 2 file in it(style.css and functions.php)

    style.css with this code

    /*
    Theme Name: food-recipes child
    Theme URI: https://test.com
    Author: test
    Author URI: https://www.test.com
     Template:  food-recipes
    Description: food-recipes Child Theme
    Version: 1.5
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    */

    functions.php with this code

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    
    }
    ?>

    then copy single.php file from food-recipes folder and paste it in food-recipes-child folder
    with a editor like notepad++ open footer.php
    and put // in line 50 and 55 befor code
    it must be such

    <div class="foodrecipes-inner-blog-text" >
                      <h6>
                        <?php //comments_number( __('NO COMMENT','foodrecipes'), __('1 COMMENT','foodrecipes'),__('%s COMMENTS','foodrecipes')  ); ?>
                      </h6>
                    </div>
                    <?php  endif; ?>
                    <div class="foodrecipes-comment-form">
                      <?php //comments_template( '', true ); ?>
                    </div>

    finally go to admin panel then apperance and activate the child-theme
    If you still have the same problem copy page.php and do the same thing
    tell me the result
    Have a great day all
    rohallah

    Thread Starter veganadvocate

    (@veganadvocate)

    i make a functions.php and styles.php in the plugns but i was not able to identify the recipe theme folder

    should i use a component from one of the other out of the box themes?

    no you should do this thing in theme folder not plugin!
    if you not familiar with codeing wordpress
    share your host to do the job quick

    Thread Starter veganadvocate

    (@veganadvocate)

    i moved it to the themes folder

    there is no theme with the recipes theme i am using, only the 3 stock ones

    i assume that is the right folder

    I saw style.css of your website by looking at source of your webpage
    content .Its style.css shows that your website uses food-recipes theme
    that you can download it from this link https://www.ads-software.com/themes/food-recipes/
    I think your site is created by someone eles is it?

    wp-content–>themes–>food-recipes
    you should create your child folder next to folder food-recipes

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘remove comments from all posts’ is closed to new replies.