Improved logic for text & textarea fields
Added new field type posts_per_page