Minor pagination function change. Minor custom_excerpt function bug fix.