fix and make post creation and edition works
make the custom post adapter unaware of the source of data