File Groups
Disable zip-functionality (2 posts)

  1. patriksax
    Posted 4 years ago #

    Great functionality and what I need. But I seem not to be able to handle the zip archives and I really do not need it. Is there a way to disable that?


  2. DezzyLee99
    Posted 4 years ago #

    Comment out lines 138 to 146 on file-groups.php in the plugin folder.

    if ( count( $attachments ) > 1 ) {
    		$zip_icon = wp_mime_type_icon('archive');
    		$dl_url = plugins_url( "download.php?fgid=" . $post_id, __FILE__ );
    		echo "<div class='fg_list_item'><div class='iconWrap'><img width='46' height='60' class='attachment-46x60' src='{$zip_icon}'></div><a title='" .
    			__("Download all files in group", 'file-groups') .
    			"' href='$dl_url'>" .
    			__("Download all files in group", 'file-groups') .

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • File Groups
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic