iterates over posts and perform custom actions on each