Adding functions

added ability to add posts for all categories