Refactored publish process to include content-item to wp post transformations