Continue with post-function extraction

Extracted post creation function (post-create) now work as expected
in the context of the post pages