Jul 07, 2024 Coppermine
Sometimes views are really not that important to collect, and here’s the easiest way to remove them (because Coppermine fails to adapt from config).
Open your functions.php file (you can find it in include folder) and find this code
if ($CONFIG['views_in_thumbview'] || in_array('hits', $must_have)) {
$views = ($mode == 'albums') ? $row['alb_hits'] : $row['hits'];
$caption .= '' . sprintf($lang_get_pic_data['n_views'], $views) . '';
}
Remove this block entirely and save your file.
After overwriting refresh your page and they’ll disappear.