Adding a check for the split on Post types