NextGEN Gallery更新後要修改內碼的筆記

這是升級版本 2.1.23的筆記

改掉compact album 顯示的 xx photos

https://wordpress.org/support/topic/how-to-remove-1-photos-in-extended-album

把0改為瘋狂的大數字來避免顯示

nextgen-gallery\products\photocrati_nextgen\modules\nextgen_basic_album\templates

<p class=”ngg-album-gallery-image-counter”>
<?php if (isset($gallery->counter) && $gallery->counter > 100000) { ?>
<strong><?php echo $gallery->counter; ?></strong>&nbsp;<?php _e(‘Photos’, ‘nggallery’); ?>
<?php } else { ?>
&nbsp;
<?php } ?>
</p>

 

以往需要改css的compact album縮圖,現在可以用Customize選項override thumbnail dimensions

compact album的多重照片圖示背景還是要自己覆蓋的

為了避免error_log過大,改為444了

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。