Function for editor settings

Separate function to manage the settings for the WYSIWYG editor.
Changed settings location reference

Changed reference for editor settings to the new function
Removed old editor settings

Removed the old method containing the editor settings.
Removed $post from function input
Changed post ID reference
Removed $post global declaration
Updated post author retrieval

Changed retrieval of post author data from using $post to using native
WordPress functions.
Updated conditional check

Updated conditional to reflect the proper variable for author/post data.