Consolidated slug functions into a single version.
Added the ability to enable or disable author pages.