Removed junk removal functions

Moved to plugins
Fixed script that was causing error

Added `isset` check to $post value prior to checking value
Added check for post type prior to displaying day/comment info