Support » Plugin: File Gallery » [Plugin: File Gallery] turning off comments under images

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aesqe

    (@aesqe)

    @ratingshark: it’s a standard WordPress feature, nothing to do with File Gallery.

    There should be a “loop-attachment.php” or “attachment.php” file in your theme folder. You’ll need to edit that file to hide comments for attachments.

    Look for <?php comments_template(); ?> and comment it out like this:

    <?php //comments_template(); ?>

    @aesqe,
    Thank you very much for the advice.
    Works just fine.

    Cheers:)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: File Gallery] turning off comments under images’ is closed to new replies.