Clean up rendering code flow.
Use strings not integers as post IDs.