Refactored wordpress service to change category of post

[#46568483]