Comments disable

Home Forums Legacy Support Support queries Other issues Comments disable

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #389034
    seb hart
    Participant

    Hello,


    I disabled comments in WP ADMIN -> Settings -> discussions and then individually for each course and unit but they are still showing up in the course app and letting users post. I even added add_filter('comments_open',function($open,$id){

        if(get_post_type($id)=='unit'){

            $open = 'closed';

        }

        return $open;

    },999999,2);


    but it still shows up

     


     


    #389066
    Anshuman Sahu
    Keymaster

    Please try adding this custom css in your wp-admin-> appearance-> customize -> custom css :


    .course_status .course_timeline .course_action_points .vicon-comments{
        display:none !important;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.