Added dynamic drop down functionality for post categories