WordPress.org

Ready to get started?Download WordPress

Forums

File Gallery
[resolved] turning off comments under images (3 posts)

  1. ratingshark
    Member
    Posted 1 year ago #

    Hello,
    I searched through the settings but I didn't find anywhere an option for turning off the comments below each image in a gallery.
    Can you please support me on this one.

    Thanks,
    Konstantin

    http://wordpress.org/extend/plugins/file-gallery/

  2. Aesqe
    Member
    Plugin Author

    Posted 1 year ago #

    @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(); ?>

  3. ratingshark
    Member
    Posted 1 year ago #

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

    Cheers:)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic