Displaying Featured Image instead of Title if exists Featured Image. for WordPress.

adding below code to your theme functions.php
and ‘‘ add to footer.php
need fix to css id and class…


samba4 vfs objects recycle don’t work

sudo apt-get install samba-vfs-modules

sudo vi /etc/smb.conf

— add to sections —
vfs objects = recycle
recycle:repository = .recycle
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = no
recycle:maxsize = 0
recycle:exclude = *.tmp *~

sudo /etc/init.d/samba restart

find not has been installed that for command man vfs_recycle.

tasksel で lamp, samba を入れているのだけれど、
samba が 4 になったらゴミ箱が機能しなくなっていて困った。
mint で samba server をマウントしていると
.Trash-1000 と .recycle どちらかに保存されちゃうんだよね。まぁ気にしない。