added iseven and isodd functions to PHPHelper
removed extra work to get_path in get_post_info