added related post functions and filter to custom thumbnails #31