Support » Plugin: Jetpack by » Carousel pic comments

  • Resolved gordo019


    Would someone from the jetpack team see to it that a future version of the jetpack carousel module has the option of disabling pic comments in the carousel? Including all those Ajax calls for pic comments that mostly don’t exist. Just want to be able to config the carousel to show the pics of the gallery, their text captions (if they exist), and next/previous buttons to move through the gallery. All the js and css hacks to accomplish comment removal is a mess! Pic comments should be a carousel option preference. Please keep the carousel displaying nicely for desktop, tablet, and smartphone responsiveness too.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Jeremy Herve


    Jetpack Mechanic 🚀

    You can disable comments on the carousel view by adding the following code to your theme’s functions.php file:

    function tweakjp_rm_comments_att( $open, $post_id ) {
        $post = get_post( $post_id );
        if( $post->post_type == 'attachment' ) {
            return false;
        return $open;
    add_filter( 'comments_open', 'tweakjp_rm_comments_att', 10 , 2 );
Viewing 1 replies (of 1 total)
  • The topic ‘Carousel pic comments’ is closed to new replies.