see if its page or post