Add clause to break if not in post_type section.